QwGeant4
QweakSimLeadGlass_PMTHit Class Reference

#include <QweakSimLeadGlass_PMTHit.hh>

Inherits G4VHit.

Public Member Functions

 QweakSimLeadGlass_PMTHit ()
 
 QweakSimLeadGlass_PMTHit (G4int detector_id)
 
virtual ~QweakSimLeadGlass_PMTHit ()
 
 QweakSimLeadGlass_PMTHit (const QweakSimLeadGlass_PMTHit &right)
 
const QweakSimLeadGlass_PMTHitoperator= (const QweakSimLeadGlass_PMTHit &right)
 
int operator== (const QweakSimLeadGlass_PMTHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
float x ()
 
float y ()
 
void StorePMTID (G4int pmt_id)
 
G4int GetPMTID () const
 
void StorePhotonEnergy (G4double eng)
 
G4double GetPhotonEnergy () const
 

Private Attributes

G4int PMTID
 
G4double currentPhotonEnergy
 

Detailed Description

Definition at line 18 of file QweakSimLeadGlass_PMTHit.hh.

Constructor & Destructor Documentation

QweakSimLeadGlass_PMTHit::QweakSimLeadGlass_PMTHit ( )
QweakSimLeadGlass_PMTHit::QweakSimLeadGlass_PMTHit ( G4int  detector_id)
virtual QweakSimLeadGlass_PMTHit::~QweakSimLeadGlass_PMTHit ( )
virtual
QweakSimLeadGlass_PMTHit::QweakSimLeadGlass_PMTHit ( const QweakSimLeadGlass_PMTHit right)

Member Function Documentation

G4double QweakSimLeadGlass_PMTHit::GetPhotonEnergy ( ) const
inline

Definition at line 52 of file QweakSimLeadGlass_PMTHit.hh.

References currentPhotonEnergy.

G4int QweakSimLeadGlass_PMTHit::GetPMTID ( ) const
inline

Definition at line 49 of file QweakSimLeadGlass_PMTHit.hh.

References PMTID.

void QweakSimLeadGlass_PMTHit::operator delete ( void *  aHit)
inline

Definition at line 79 of file QweakSimLeadGlass_PMTHit.hh.

References QweakSimLeadGlass_PMTHitAllocator.

80 {
82 }
G4Allocator< QweakSimLeadGlass_PMTHit > QweakSimLeadGlass_PMTHitAllocator
void * QweakSimLeadGlass_PMTHit::operator new ( size_t  )
inline

Definition at line 68 of file QweakSimLeadGlass_PMTHit.hh.

References QweakSimLeadGlass_PMTHitAllocator.

69 {
70  void* aHit;
71  aHit = (void*) QweakSimLeadGlass_PMTHitAllocator.MallocSingle();
72  return aHit;
73 }
G4Allocator< QweakSimLeadGlass_PMTHit > QweakSimLeadGlass_PMTHitAllocator
const QweakSimLeadGlass_PMTHit& QweakSimLeadGlass_PMTHit::operator= ( const QweakSimLeadGlass_PMTHit right)
int QweakSimLeadGlass_PMTHit::operator== ( const QweakSimLeadGlass_PMTHit right) const
void QweakSimLeadGlass_PMTHit::StorePhotonEnergy ( G4double  eng)
inline

Definition at line 51 of file QweakSimLeadGlass_PMTHit.hh.

References currentPhotonEnergy.

void QweakSimLeadGlass_PMTHit::StorePMTID ( G4int  pmt_id)
inline

Definition at line 48 of file QweakSimLeadGlass_PMTHit.hh.

References PMTID.

48 { PMTID = pmt_id; }
float QweakSimLeadGlass_PMTHit::x ( )
inline
float QweakSimLeadGlass_PMTHit::y ( )
inline

Field Documentation

G4double QweakSimLeadGlass_PMTHit::currentPhotonEnergy
private

Definition at line 44 of file QweakSimLeadGlass_PMTHit.hh.

Referenced by GetPhotonEnergy(), and StorePhotonEnergy().

G4int QweakSimLeadGlass_PMTHit::PMTID
private

Definition at line 43 of file QweakSimLeadGlass_PMTHit.hh.

Referenced by GetPMTID(), and StorePMTID().


The documentation for this class was generated from the following file: