Geant4
10.00.p01
|
#include <CexmcEventAction.hh>
Public Member Functions | |
CexmcEventAction (CexmcPhysicsManager *physicsManager, G4int verbose=0) | |
virtual | ~CexmcEventAction () |
void | BeginOfEventAction (const G4Event *event) |
void | EndOfEventAction (const G4Event *event) |
void | BeamParticleChangeHook (void) |
void | SetVerboseOnCexmcLevel (G4int value) |
void | SetVerboseDrawLevel (G4int value) |
CexmcChargeExchangeReconstructor * | GetReconstructor (void) |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
void | SetEventManager (G4EventManager *value) |
Static Public Member Functions | |
static CexmcEnergyDepositStore * | MakeEnergyDepositStore (const CexmcEnergyDepositDigitizer *digitizer) |
static CexmcTrackPointsStore * | MakeTrackPointsStore (const CexmcTrackPointsDigitizer *digitizer) |
static void | PrintEnergyDeposit (const CexmcEnergyDepositStore *edStore) |
static void | PrintTrackPoints (const CexmcTrackPointsStore *tpStore) |
static void | PrintProductionModelData (const CexmcAngularRangeList &angularRanges, const CexmcProductionModelData &pmData) |
Private Member Functions | |
void | PrintReconstructedData (const CexmcAngularRangeList &angularRanges, const CexmcAngularRange &angularGap) const |
void | DrawTrajectories (const G4Event *event) |
void | DrawTrackPoints (const CexmcTrackPointsStore *tpStore) const |
void | DrawReconstructionData (void) |
void | UpdateRunHits (const CexmcAngularRangeList &aRangesReal, const CexmcAngularRangeList &aRangesRec, G4bool tpDigitizerHasTriggered, G4bool edDigitizerHasTriggered, G4bool edDigitizerMonitorHasTriggered, G4bool reconstructorHasTriggered, const CexmcAngularRange &aGap) |
Private Attributes | |
CexmcPhysicsManager * | physicsManager |
CexmcChargeExchangeReconstructor * | reconstructor |
G4double | opKinEnergy |
G4int | verbose |
G4int | verboseDraw |
CexmcEventActionMessenger * | messenger |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Definition at line 61 of file CexmcEventAction.hh.
|
explicit |
Definition at line 94 of file CexmcEventAction.cc.
References G4DigiManager::AddNewModule(), CexmcEDDigitizerName, CexmcTPDigitizerName, G4DigiManager::GetDMpointer(), CexmcPhysicsManager::GetProductionModel(), messenger, and reconstructor.
|
virtual |
Definition at line 110 of file CexmcEventAction.cc.
References messenger, and reconstructor.
void CexmcEventAction::BeamParticleChangeHook | ( | void | ) |
Definition at line 117 of file CexmcEventAction.cc.
References reconstructor, and CexmcChargeExchangeReconstructor::SetupBeamParticle().
Referenced by CexmcRunManager::BeamParticleChangeHook().
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 123 of file CexmcEventAction.cc.
References CexmcTrackingAction::BeginOfEventAction(), G4RunManager::GetRunManager(), G4RunManager::GetUserTrackingAction(), physicsManager, and CexmcPhysicsManager::ResetNumberOfTriggeredStudiedInteractions().
|
private |
Definition at line 645 of file CexmcEventAction.cc.
References G4VisManager::Draw(), G4VMarker::filled, CexmcReconstructor::GetCalorimeterEPLeftWorldPosition(), CexmcReconstructor::GetCalorimeterEPRightWorldPosition(), G4VVisManager::GetConcreteInstance(), G4VisManager::GetCurrentGraphicsSystem(), CexmcReconstructor::GetTargetEPWorldPosition(), reconstructor, and G4VMarker::SetScreenSize().
Referenced by EndOfEventAction().
|
private |
Definition at line 587 of file CexmcEventAction.cc.
References CexmcTrackPointsStore::calorimeterTPLeft, CexmcTrackPointsStore::calorimeterTPRight, G4VisManager::Draw(), G4VMarker::filled, G4VVisManager::GetConcreteInstance(), G4VisManager::GetCurrentGraphicsSystem(), CexmcTrackPointInfo::IsValid(), CexmcTrackPointsStore::monitorTP, CexmcTrackPointInfo::positionWorld, G4VMarker::SetFillStyle(), G4VMarker::SetPosition(), G4VMarker::SetScreenSize(), G4Visible::SetVisAttributes(), CexmcTrackPointsStore::targetTPBeamParticle, CexmcTrackPointsStore::targetTPOutputParticle, CexmcTrackPointsStore::vetoCounterTPLeft, and CexmcTrackPointsStore::vetoCounterTPRight.
Referenced by EndOfEventAction().
|
private |
Definition at line 564 of file CexmcEventAction.cc.
References G4VTrajectory::DrawTrajectory(), G4TrajectoryContainer::entries(), G4VVisManager::GetConcreteInstance(), G4VisManager::GetCurrentGraphicsSystem(), and G4Event::GetTrajectoryContainer().
Referenced by EndOfEventAction().
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 799 of file CexmcEventAction.cc.
References CexmcEDDigitizerName, CexmcTPDigitizerName, CexmcWeirdException, CexmcTrackPointsDigitizer::Digitize(), CexmcEnergyDepositDigitizer::Digitize(), DrawReconstructionData(), DrawTrackPoints(), DrawTrajectories(), CexmcEventInfo::EdTriggerIsOk(), G4cout, G4endl, GetAngularGaps(), G4DigiManager::GetDMpointer(), G4ParticleDefinition::GetPDGMass(), CexmcPhysicsManager::GetProductionModel(), CexmcChargeExchangeReconstructor::GetProductionModelData(), G4Event::GetUserInformation(), CexmcReconstructor::HasBasicTrigger(), CexmcChargeExchangeReconstructor::HasFullTrigger(), CexmcTrackPointsDigitizer::HasTriggered(), CexmcEnergyDepositDigitizer::HasTriggered(), CexmcTrackPointInfo::IsValid(), MakeEnergyDepositStore(), MakeTrackPointsStore(), CexmcTrackPointInfo::momentumAmp, CexmcEnergyDepositDigitizer::MonitorHasTriggered(), opKinEnergy, CexmcProductionModelData::outputParticleSCM, CexmcTrackPointInfo::particle, physicsManager, PrintEnergyDeposit(), PrintProductionModelData(), PrintReconstructedData(), PrintTrackPoints(), CexmcChargeExchangeReconstructor::Reconstruct(), reconstructor, G4Event::SetUserInformation(), CexmcTrackPointsStore::targetTPOutputParticle, UpdateRunHits(), verbose, verboseDraw, and CexmcException::what().
|
inline |
Definition at line 177 of file CexmcEventAction.hh.
References reconstructor.
|
static |
Definition at line 136 of file CexmcEventAction.cc.
References CexmcEnergyDepositDigitizer::GetCalorimeterEDLeft(), CexmcEnergyDepositDigitizer::GetCalorimeterEDLeftCollection(), CexmcEnergyDepositDigitizer::GetCalorimeterEDLeftMaxX(), CexmcEnergyDepositDigitizer::GetCalorimeterEDLeftMaxY(), CexmcEnergyDepositDigitizer::GetCalorimeterEDRight(), CexmcEnergyDepositDigitizer::GetCalorimeterEDRightCollection(), CexmcEnergyDepositDigitizer::GetCalorimeterEDRightMaxX(), CexmcEnergyDepositDigitizer::GetCalorimeterEDRightMaxY(), CexmcEnergyDepositDigitizer::GetMonitorED(), CexmcEnergyDepositDigitizer::GetVetoCounterEDLeft(), and CexmcEnergyDepositDigitizer::GetVetoCounterEDRight().
Referenced by EndOfEventAction().
|
static |
Definition at line 165 of file CexmcEventAction.cc.
References CexmcTrackPointsDigitizer::GetCalorimeterTPLeft(), CexmcTrackPointsDigitizer::GetCalorimeterTPRight(), CexmcTrackPointsDigitizer::GetMonitorTP(), CexmcTrackPointsDigitizer::GetTargetTPBeamParticle(), CexmcTrackPointsDigitizer::GetTargetTPNucleusParticle(), CexmcTrackPointsDigitizer::GetTargetTPOutputParticle(), CexmcTrackPointsDigitizer::GetVetoCounterTPLeft(), and CexmcTrackPointsDigitizer::GetVetoCounterTPRight().
Referenced by EndOfEventAction().
|
static |
Definition at line 210 of file CexmcEventAction.cc.
References CexmcEnergyDepositStore::calorimeterEDLeft, CexmcEnergyDepositStore::calorimeterEDLeftCollection, CexmcEnergyDepositStore::calorimeterEDRight, CexmcEnergyDepositStore::calorimeterEDRightCollection, G4BestUnit, G4cout, G4endl, CexmcEnergyDepositStore::monitorED, CexmcEnergyDepositStore::vetoCounterEDLeft, and CexmcEnergyDepositStore::vetoCounterEDRight.
Referenced by EndOfEventAction().
|
static |
Definition at line 259 of file CexmcEventAction.cc.
References G4cout.
Referenced by EndOfEventAction().
|
private |
Definition at line 268 of file CexmcEventAction.cc.
References deg, G4BestUnit, G4cout, G4endl, CexmcReconstructor::GetCalorimeterEPLeftPosition(), CexmcReconstructor::GetCalorimeterEPRightPosition(), CexmcChargeExchangeReconstructor::GetNucleusOutputParticleMass(), CexmcChargeExchangeReconstructor::GetOutputParticleMass(), CexmcChargeExchangeReconstructor::GetProductionModelData(), CexmcReconstructor::GetTargetEPPosition(), CexmcReconstructor::GetTheAngle(), CexmcChargeExchangeReconstructor::HasAbsorbedEnergyCutTriggered(), CexmcChargeExchangeReconstructor::HasMassCutTriggered(), CexmcChargeExchangeReconstructor::IsAbsorbedEnergyCutUsed(), CexmcChargeExchangeReconstructor::IsMassCutUsed(), and reconstructor.
Referenced by EndOfEventAction().
|
static |
Definition at line 229 of file CexmcEventAction.cc.
References CexmcTrackPointsStore::calorimeterTPLeft, CexmcTrackPointsStore::calorimeterTPRight, deg, CexmcTrackPointInfo::directionWorld, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), CexmcTrackPointsStore::monitorTP, CexmcTrackPointInfo::particle, CexmcTrackPointsStore::targetTPBeamParticle, CexmcTrackPointsStore::targetTPNucleusParticle, CexmcTrackPointsStore::targetTPOutputParticle, CexmcTrackPointsStore::targetTPOutputParticleDecayProductParticle1, CexmcTrackPointsStore::targetTPOutputParticleDecayProductParticle2, CexmcTrackPointsStore::vetoCounterTPLeft, and CexmcTrackPointsStore::vetoCounterTPRight.
Referenced by EndOfEventAction().
|
inline |
Definition at line 170 of file CexmcEventAction.hh.
References verboseDraw.
Referenced by CexmcEventActionMessenger::SetNewValue().
|
inline |
Definition at line 164 of file CexmcEventAction.hh.
References verbose.
Referenced by CexmcEventActionMessenger::SetNewValue().
|
private |
Definition at line 668 of file CexmcEventAction.cc.
References G4RunManager::GetCurrentRun(), G4RunManager::GetRunManager(), CexmcRun::IncrementNmbOfFalseHitsTriggeredEDT(), CexmcRun::IncrementNmbOfFalseHitsTriggeredRec(), CexmcRun::IncrementNmbOfHitsSampled(), CexmcRun::IncrementNmbOfHitsSampledFull(), CexmcRun::IncrementNmbOfHitsTriggeredRealRange(), CexmcRun::IncrementNmbOfHitsTriggeredRecRange(), CexmcRun::IncrementNmbOfOrphanHits(), and CexmcAngularRange::index.
Referenced by EndOfEventAction().
|
private |
Definition at line 160 of file CexmcEventAction.hh.
Referenced by CexmcEventAction(), and ~CexmcEventAction().
|
private |
Definition at line 153 of file CexmcEventAction.hh.
Referenced by EndOfEventAction().
|
private |
Definition at line 149 of file CexmcEventAction.hh.
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
Definition at line 151 of file CexmcEventAction.hh.
Referenced by BeamParticleChangeHook(), CexmcEventAction(), DrawReconstructionData(), EndOfEventAction(), GetReconstructor(), PrintReconstructedData(), and ~CexmcEventAction().
|
private |
Definition at line 156 of file CexmcEventAction.hh.
Referenced by EndOfEventAction(), and SetVerboseOnCexmcLevel().
|
private |
Definition at line 158 of file CexmcEventAction.hh.
Referenced by EndOfEventAction(), and SetVerboseDrawLevel().