Geant4  10.00.p03
CexmcEventAction Class Reference

#include <CexmcEventAction.hh>

+ Inheritance diagram for CexmcEventAction:
+ Collaboration diagram for CexmcEventAction:

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)
 
CexmcChargeExchangeReconstructorGetReconstructor (void)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Static Public Member Functions

static CexmcEnergyDepositStoreMakeEnergyDepositStore (const CexmcEnergyDepositDigitizer *digitizer)
 
static CexmcTrackPointsStoreMakeTrackPointsStore (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

CexmcPhysicsManagerphysicsManager
 
CexmcChargeExchangeReconstructorreconstructor
 
G4double opKinEnergy
 
G4int verbose
 
G4int verboseDraw
 
CexmcEventActionMessengermessenger
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 61 of file CexmcEventAction.hh.

Constructor & Destructor Documentation

CexmcEventAction::CexmcEventAction ( CexmcPhysicsManager physicsManager,
G4int  verbose = 0 
)
explicit

Definition at line 94 of file CexmcEventAction.cc.

References G4DigiManager::AddNewModule(), CexmcEDDigitizerName, CexmcTPDigitizerName, G4DigiManager::GetDMpointer(), CexmcPhysicsManager::GetProductionModel(), messenger, and reconstructor.

+ Here is the call graph for this function:

CexmcEventAction::~CexmcEventAction ( )
virtual

Definition at line 110 of file CexmcEventAction.cc.

References messenger, and reconstructor.

Member Function Documentation

void CexmcEventAction::BeamParticleChangeHook ( void  )

Definition at line 117 of file CexmcEventAction.cc.

References reconstructor, and CexmcChargeExchangeReconstructor::SetupBeamParticle().

Referenced by CexmcRunManager::BeamParticleChangeHook().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 123 of file CexmcEventAction.cc.

References CexmcTrackingAction::BeginOfEventAction(), G4RunManager::GetRunManager(), G4RunManager::GetUserTrackingAction(), physicsManager, and CexmcPhysicsManager::ResetNumberOfTriggeredStudiedInteractions().

+ Here is the call graph for this function:

void CexmcEventAction::DrawReconstructionData ( void  )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcEventAction::DrawTrackPoints ( const CexmcTrackPointsStore tpStore) const
private
void CexmcEventAction::DrawTrajectories ( const G4Event event)
private

Definition at line 564 of file CexmcEventAction.cc.

References G4VTrajectory::DrawTrajectory(), G4TrajectoryContainer::entries(), G4VVisManager::GetConcreteInstance(), G4VisManager::GetCurrentGraphicsSystem(), and G4Event::GetTrajectoryContainer().

Referenced by EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcEventAction::EndOfEventAction ( const G4Event event)
virtual
CexmcChargeExchangeReconstructor * CexmcEventAction::GetReconstructor ( void  )
inline

Definition at line 177 of file CexmcEventAction.hh.

References reconstructor.

CexmcTrackPointsStore * CexmcEventAction::MakeTrackPointsStore ( const CexmcTrackPointsDigitizer digitizer)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcEventAction::PrintEnergyDeposit ( const CexmcEnergyDepositStore edStore)
static
void CexmcEventAction::PrintProductionModelData ( const CexmcAngularRangeList angularRanges,
const CexmcProductionModelData pmData 
)
static

Definition at line 259 of file CexmcEventAction.cc.

References G4cout.

Referenced by EndOfEventAction().

+ Here is the caller graph for this function:

void CexmcEventAction::PrintReconstructedData ( const CexmcAngularRangeList angularRanges,
const CexmcAngularRange angularGap 
) const
private
void CexmcEventAction::PrintTrackPoints ( const CexmcTrackPointsStore tpStore)
static
void CexmcEventAction::SetVerboseDrawLevel ( G4int  value)
inline

Definition at line 170 of file CexmcEventAction.hh.

References verboseDraw.

Referenced by CexmcEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcEventAction::SetVerboseOnCexmcLevel ( G4int  value)
inline

Definition at line 164 of file CexmcEventAction.hh.

References verbose.

Referenced by CexmcEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcEventAction::UpdateRunHits ( const CexmcAngularRangeList aRangesReal,
const CexmcAngularRangeList aRangesRec,
G4bool  tpDigitizerHasTriggered,
G4bool  edDigitizerHasTriggered,
G4bool  edDigitizerMonitorHasTriggered,
G4bool  reconstructorHasTriggered,
const CexmcAngularRange aGap 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

CexmcEventActionMessenger* CexmcEventAction::messenger
private

Definition at line 160 of file CexmcEventAction.hh.

Referenced by CexmcEventAction(), and ~CexmcEventAction().

G4double CexmcEventAction::opKinEnergy
private

Definition at line 153 of file CexmcEventAction.hh.

Referenced by EndOfEventAction().

CexmcPhysicsManager* CexmcEventAction::physicsManager
private

Definition at line 149 of file CexmcEventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int CexmcEventAction::verbose
private

Definition at line 156 of file CexmcEventAction.hh.

Referenced by EndOfEventAction(), and SetVerboseOnCexmcLevel().

G4int CexmcEventAction::verboseDraw
private

Definition at line 158 of file CexmcEventAction.hh.

Referenced by EndOfEventAction(), and SetVerboseDrawLevel().


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