QwGeant4
QweakSimCerenkov_PMTHit Class Reference

#include <QweakSimCerenkov_PMTHit.hh>

Inherits G4VHit.

Public Member Functions

 QweakSimCerenkov_PMTHit ()
 
virtual ~QweakSimCerenkov_PMTHit ()
 
 QweakSimCerenkov_PMTHit (const QweakSimCerenkov_PMTHit &right)
 
 QweakSimCerenkov_PMTHit (G4int pmt_id)
 
const QweakSimCerenkov_PMTHitoperator= (const QweakSimCerenkov_PMTHit &right)
 
int operator== (const QweakSimCerenkov_PMTHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
float x ()
 
float y ()
 
void StoreDetectorID (G4int detector_ID)
 
G4int GetDetectorID () const
 
void StorePMTID (G4int pmt_id)
 
G4int GetPMTID () const
 
void StoreHitID (G4int hit_id)
 
G4int GetHitID () const
 
void SetHitValid (G4bool valid)
 
G4bool IsHitValid () const
 
void StorePhotonEnergy (G4double eng)
 
G4double GetPhotonEnergy () const
 
void StoreHitTime (G4double time)
 
G4double GetHitTime () const
 

Private Attributes

G4int DetectorID
 
G4int PMTID
 
G4int hitID
 
G4bool hitValid
 
G4double currentPhotonEnergy
 
G4double currentHitTime
 

Detailed Description

Definition at line 7 of file QweakSimCerenkov_PMTHit.hh.

Constructor & Destructor Documentation

QweakSimCerenkov_PMTHit::QweakSimCerenkov_PMTHit ( )
QweakSimCerenkov_PMTHit::~QweakSimCerenkov_PMTHit ( )
virtual

Definition at line 22 of file QweakSimCerenkov_PMTHit.cc.

23 {
24 }
QweakSimCerenkov_PMTHit::QweakSimCerenkov_PMTHit ( const QweakSimCerenkov_PMTHit right)
QweakSimCerenkov_PMTHit::QweakSimCerenkov_PMTHit ( G4int  pmt_id)

Definition at line 16 of file QweakSimCerenkov_PMTHit.cc.

References PMTID.

17 {
18  PMTID = pmt_id;
19 }

Member Function Documentation

G4int QweakSimCerenkov_PMTHit::GetDetectorID ( ) const
inline

Definition at line 37 of file QweakSimCerenkov_PMTHit.hh.

References DetectorID.

Referenced by QweakSimEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4int QweakSimCerenkov_PMTHit::GetHitID ( ) const
inline

Definition at line 43 of file QweakSimCerenkov_PMTHit.hh.

References hitID.

G4double QweakSimCerenkov_PMTHit::GetHitTime ( ) const
inline

Definition at line 52 of file QweakSimCerenkov_PMTHit.hh.

References currentHitTime.

Referenced by QweakSimEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4double QweakSimCerenkov_PMTHit::GetPhotonEnergy ( ) const
inline

Definition at line 49 of file QweakSimCerenkov_PMTHit.hh.

References currentPhotonEnergy.

Referenced by QweakSimEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4int QweakSimCerenkov_PMTHit::GetPMTID ( ) const
inline

Definition at line 40 of file QweakSimCerenkov_PMTHit.hh.

References PMTID.

Referenced by QweakSimEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4bool QweakSimCerenkov_PMTHit::IsHitValid ( ) const
inline

Definition at line 46 of file QweakSimCerenkov_PMTHit.hh.

References hitValid.

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

Definition at line 67 of file QweakSimCerenkov_PMTHit.hh.

References QweakSimCerenkov_PMTHitAllocator.

68 {
70 }
G4Allocator< QweakSimCerenkov_PMTHit > QweakSimCerenkov_PMTHitAllocator
void * QweakSimCerenkov_PMTHit::operator new ( size_t  )
inline

Definition at line 60 of file QweakSimCerenkov_PMTHit.hh.

References QweakSimCerenkov_PMTHitAllocator.

61 {
62  void* aHit;
63  aHit = (void*) QweakSimCerenkov_PMTHitAllocator.MallocSingle();
64  return aHit;
65 }
G4Allocator< QweakSimCerenkov_PMTHit > QweakSimCerenkov_PMTHitAllocator
const QweakSimCerenkov_PMTHit & QweakSimCerenkov_PMTHit::operator= ( const QweakSimCerenkov_PMTHit right)
int QweakSimCerenkov_PMTHit::operator== ( const QweakSimCerenkov_PMTHit right) const

Definition at line 48 of file QweakSimCerenkov_PMTHit.cc.

49 {
50  return 0;
51 }
void QweakSimCerenkov_PMTHit::SetHitValid ( G4bool  valid)
inline

Definition at line 45 of file QweakSimCerenkov_PMTHit.hh.

References hitValid.

45 { hitValid = valid; }
void QweakSimCerenkov_PMTHit::StoreDetectorID ( G4int  detector_ID)
inline

Definition at line 36 of file QweakSimCerenkov_PMTHit.hh.

References DetectorID.

Referenced by QweakSimCerenkov_PMTSD::ProcessHits_constStep().

36 { DetectorID = detector_ID; }

+ Here is the caller graph for this function:

void QweakSimCerenkov_PMTHit::StoreHitID ( G4int  hit_id)
inline

Definition at line 42 of file QweakSimCerenkov_PMTHit.hh.

References hitID.

Referenced by QweakSimCerenkov_PMTSD::ProcessHits_constStep().

42 { hitID = hit_id; }

+ Here is the caller graph for this function:

void QweakSimCerenkov_PMTHit::StoreHitTime ( G4double  time)
inline

Definition at line 51 of file QweakSimCerenkov_PMTHit.hh.

References currentHitTime.

Referenced by QweakSimCerenkov_PMTSD::ProcessHits_constStep().

+ Here is the caller graph for this function:

void QweakSimCerenkov_PMTHit::StorePhotonEnergy ( G4double  eng)
inline

Definition at line 48 of file QweakSimCerenkov_PMTHit.hh.

References currentPhotonEnergy.

Referenced by QweakSimCerenkov_PMTSD::ProcessHits_constStep().

+ Here is the caller graph for this function:

void QweakSimCerenkov_PMTHit::StorePMTID ( G4int  pmt_id)
inline

Definition at line 39 of file QweakSimCerenkov_PMTHit.hh.

References PMTID.

Referenced by QweakSimCerenkov_PMTSD::ProcessHits_constStep().

39 { PMTID = pmt_id; }

+ Here is the caller graph for this function:

float QweakSimCerenkov_PMTHit::x ( )
inline
float QweakSimCerenkov_PMTHit::y ( )
inline

Field Documentation

G4double QweakSimCerenkov_PMTHit::currentHitTime
private
G4double QweakSimCerenkov_PMTHit::currentPhotonEnergy
private
G4int QweakSimCerenkov_PMTHit::DetectorID
private
G4int QweakSimCerenkov_PMTHit::hitID
private

Definition at line 29 of file QweakSimCerenkov_PMTHit.hh.

Referenced by GetHitID(), and StoreHitID().

G4bool QweakSimCerenkov_PMTHit::hitValid
private

Definition at line 30 of file QweakSimCerenkov_PMTHit.hh.

Referenced by IsHitValid(), and SetHitValid().

G4int QweakSimCerenkov_PMTHit::PMTID
private

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