ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FCALTBEventAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/lAr_calorimeter/include/FCALTBEventAction.hh>

+ Inheritance diagram for FCALTBEventAction:
+ Collaboration diagram for FCALTBEventAction:

Public Member Functions

 FCALTBEventAction (FCALSteppingAction *)
 
virtual ~FCALTBEventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
virtual void EndOfEventAction (const G4Event *)
 
void SetDrawFlag (G4String val)
 
void SetPrintModulo (G4int val)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

G4String drawFlag
 
G4int printModulo
 
FCALSteppingActionStepAction
 
FCALTBEventActionMessengereventMessenger
 
G4double NTracksOutOfWorld
 
G4double NSecondaries
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 44 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 44 of file FCALTBEventAction.hh

Constructor & Destructor Documentation

FCALTBEventAction::FCALTBEventAction ( FCALSteppingAction SA)

Definition at line 59 of file FCALTBEventAction.cc.

View newest version in sPHENIX GitHub at line 59 of file FCALTBEventAction.cc

References eventMessenger.

FCALTBEventAction::~FCALTBEventAction ( )
virtual

Definition at line 67 of file FCALTBEventAction.cc.

View newest version in sPHENIX GitHub at line 67 of file FCALTBEventAction.cc

References eventMessenger.

Member Function Documentation

void FCALTBEventAction::BeginOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 75 of file FCALTBEventAction.cc.

View newest version in sPHENIX GitHub at line 75 of file FCALTBEventAction.cc

References G4cout, G4endl, G4Event::GetEventID(), FCALSteppingAction::initialize(), NSecondaries, NTracksOutOfWorld, printModulo, and StepAction.

+ Here is the call graph for this function:

void FCALTBEventAction::EndOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 92 of file FCALTBEventAction.cc.

View newest version in sPHENIX GitHub at line 92 of file FCALTBEventAction.cc

References G4VAnalysisManager::FillH1(), G4cout, G4endl, FCALSteppingAction::GetEdepFCAL(), FCALSteppingAction::GetOutOfWorldTracks(), FCALSteppingAction::GetSecondaries(), G4ToolsAnalysisManager::Instance(), MeV, NSecondaries, NTracksOutOfWorld, and StepAction.

+ Here is the call graph for this function:

void FCALTBEventAction::SetDrawFlag ( G4String  val)
inline

Definition at line 54 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 54 of file FCALTBEventAction.hh

References drawFlag.

Referenced by FCALTBEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void FCALTBEventAction::SetPrintModulo ( G4int  val)
inline

Definition at line 55 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 55 of file FCALTBEventAction.hh

References printModulo.

Referenced by FCALTBEventActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4String FCALTBEventAction::drawFlag
private

Definition at line 55 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 55 of file FCALTBEventAction.hh

Referenced by SetDrawFlag().

FCALTBEventActionMessenger* FCALTBEventAction::eventMessenger
private

Definition at line 62 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 62 of file FCALTBEventAction.hh

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

G4double FCALTBEventAction::NSecondaries
private

Definition at line 65 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 65 of file FCALTBEventAction.hh

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4double FCALTBEventAction::NTracksOutOfWorld
private

Definition at line 65 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 65 of file FCALTBEventAction.hh

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int FCALTBEventAction::printModulo
private

Definition at line 59 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 59 of file FCALTBEventAction.hh

Referenced by BeginOfEventAction(), and SetPrintModulo().

FCALSteppingAction* FCALTBEventAction::StepAction
private

Definition at line 61 of file FCALTBEventAction.hh.

View newest version in sPHENIX GitHub at line 61 of file FCALTBEventAction.hh

Referenced by BeginOfEventAction(), and EndOfEventAction().


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