BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
BDSLinkEventAction Class Reference

Process information at the event level for Link to trackers. More...

#include <BDSLinkEventAction.hh>

Inheritance diagram for BDSLinkEventAction:
Inheritance graph
Collaboration diagram for BDSLinkEventAction:
Collaboration graph

Public Member Functions

 BDSLinkEventAction (BDSOutput *outputIn, BDSLinkRunAction *runActionIn, G4bool debugIn=false)
 
virtual void BeginOfEventAction (const G4Event *evt)
 
virtual void EndOfEventAction (const G4Event *evt)
 
G4int CurrentEventIndex () const
 
void SetPrimaryAbsorbedInCollimator (G4bool stoppedIn)
 Flag that the primary was absorbed in a collimator - can be done externally to this class.
 

Private Attributes

BDSOutputoutput
 Cache of output instance. Not owned by this class.
 
BDSLinkRunActionrunAction
 
G4bool debug
 
G4bool verboseEventBDSIM
 
G4int verboseEventStart
 
G4int verboseEventStop
 
G4int printModulo
 
G4int collIDSamplerLink
 
G4int collIDSampler
 
G4int currentEventIndex
 
G4bool primaryAbsorbedInCollimator
 

Detailed Description

Process information at the event level for Link to trackers.

Author
Laurie Nevay

Definition at line 35 of file BDSLinkEventAction.hh.

Constructor & Destructor Documentation

◆ BDSLinkEventAction()

BDSLinkEventAction::BDSLinkEventAction ( BDSOutput outputIn,
BDSLinkRunAction runActionIn,
G4bool  debugIn = false 
)

Definition at line 46 of file BDSLinkEventAction.cc.

◆ ~BDSLinkEventAction()

BDSLinkEventAction::~BDSLinkEventAction ( )
virtual

Definition at line 64 of file BDSLinkEventAction.cc.

Member Function Documentation

◆ BeginOfEventAction()

void BDSLinkEventAction::BeginOfEventAction ( const G4Event *  evt)
virtual

Definition at line 67 of file BDSLinkEventAction.cc.

◆ CurrentEventIndex()

G4int BDSLinkEventAction::CurrentEventIndex ( ) const
inline

Definition at line 47 of file BDSLinkEventAction.hh.

◆ EndOfEventAction()

void BDSLinkEventAction::EndOfEventAction ( const G4Event *  evt)
virtual

Definition at line 103 of file BDSLinkEventAction.cc.

◆ SetPrimaryAbsorbedInCollimator()

void BDSLinkEventAction::SetPrimaryAbsorbedInCollimator ( G4bool  stoppedIn)
inline

Flag that the primary was absorbed in a collimator - can be done externally to this class.

Definition at line 50 of file BDSLinkEventAction.hh.

Referenced by BDSLinkTrackingAction::PostUserTrackingAction().

Here is the caller graph for this function:

Field Documentation

◆ collIDSampler

G4int BDSLinkEventAction::collIDSampler
private

Definition at line 62 of file BDSLinkEventAction.hh.

◆ collIDSamplerLink

G4int BDSLinkEventAction::collIDSamplerLink
private

Definition at line 61 of file BDSLinkEventAction.hh.

◆ currentEventIndex

G4int BDSLinkEventAction::currentEventIndex
private

Definition at line 63 of file BDSLinkEventAction.hh.

◆ debug

G4bool BDSLinkEventAction::debug
private

Definition at line 55 of file BDSLinkEventAction.hh.

◆ output

BDSOutput* BDSLinkEventAction::output
private

Cache of output instance. Not owned by this class.

Definition at line 53 of file BDSLinkEventAction.hh.

◆ primaryAbsorbedInCollimator

G4bool BDSLinkEventAction::primaryAbsorbedInCollimator
private

Definition at line 64 of file BDSLinkEventAction.hh.

◆ printModulo

G4int BDSLinkEventAction::printModulo
private

Definition at line 59 of file BDSLinkEventAction.hh.

◆ runAction

BDSLinkRunAction* BDSLinkEventAction::runAction
private

Definition at line 54 of file BDSLinkEventAction.hh.

◆ verboseEventBDSIM

G4bool BDSLinkEventAction::verboseEventBDSIM
private

Definition at line 56 of file BDSLinkEventAction.hh.

◆ verboseEventStart

G4int BDSLinkEventAction::verboseEventStart
private

Definition at line 57 of file BDSLinkEventAction.hh.

◆ verboseEventStop

G4int BDSLinkEventAction::verboseEventStop
private

Definition at line 58 of file BDSLinkEventAction.hh.


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