class that handles PMT hits More...
#include <G4XTankPMTAction.h>

Public Member Functions | |
| void | EndOfEvent (G4HCofThisEvent *) |
| G4XTankPMTAction (const G4String name, const int pmtIndex) | |
| void | Initialize (G4HCofThisEvent *) |
| G4bool | ProcessHits (G4Step *theStep, G4TouchableHistory *R0Hist) |
| ~G4XTankPMTAction () | |
Private Attributes | |
| G4XTankConstruction * | fDetector |
| G4XTankSimulator * | fG4XTankSimulator |
| int | fPMTIndex |
| G4XTankPMTAction::G4XTankPMTAction | ( | const G4String | name, |
| const int | pmtIndex | ||
| ) |
Definition at line 38 of file G4XTankPMTAction.cc.
References exit, FATAL, and fG4XTankSimulator.
|
inline |
Definition at line 29 of file G4XTankPMTAction.h.
|
inline |
Definition at line 33 of file G4XTankPMTAction.h.
|
inline |
Definition at line 31 of file G4XTankPMTAction.h.
| G4bool G4XTankPMTAction::ProcessHits | ( | G4Step * | theStep, |
| G4TouchableHistory * | R0Hist | ||
| ) |
Definition at line 53 of file G4XTankPMTAction.cc.
References utl::TimeDistribution< T >::AddTime(), sevt::StationConstants::eElectron, sevt::StationConstants::eHadron, sevt::StationConstants::eMuon, sevt::StationConstants::ePhoton, sevt::StationConstants::eShowerMuonDecayElectron, sevt::StationConstants::eShowerMuonDecayPhoton, sevt::StationConstants::eTotal, fG4XTankSimulator, fPMTIndex, G4XTankSimulatorAG::G4XTankSimulator::GetCurrentEventStationIt(), G4XTankSimulatorAG::G4XTankSteppingAction::GetCurrentParticleId(), G4XTankSimulatorAG::G4XTankSimulator::GetCurrentParticleIt(), sevt::PMTSimData::GetPETimeDistribution(), sevt::Station::GetPMT(), G4XTankSimulatorAG::G4XTankEventAction::GetPrimaryId(), sevt::PMT::GetSimData(), sevt::PMTSimData::HasPETimeDistribution(), sevt::PMTSimData::MakePETimeDistribution(), OFFLINE_ELECTRONS, OFFLINE_HADRONS, OFFLINE_MUONS, OFFLINE_PHOTON, particle, utl::second, and WARNING.
|
private |
Definition at line 36 of file G4XTankPMTAction.h.
|
private |
Definition at line 40 of file G4XTankPMTAction.h.
Referenced by G4XTankPMTAction(), and ProcessHits().
|
private |
Definition at line 38 of file G4XTankPMTAction.h.
Referenced by ProcessHits().