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

#include <geant4/tree/geant4-10.6-release/examples/advanced/air_shower/include/UltraEventAction.hh>

+ Inheritance diagram for UltraEventAction:
+ Collaboration diagram for UltraEventAction:

Public Member Functions

 UltraEventAction ()
 
 ~UltraEventAction ()
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
G4int GetEvtNumb ()
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

G4int evtNb
 
G4int OpticalHitsCollID
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 56 of file UltraEventAction.hh.

View newest version in sPHENIX GitHub at line 56 of file UltraEventAction.hh

Constructor & Destructor Documentation

UltraEventAction::UltraEventAction ( )

Definition at line 57 of file UltraEventAction.cc.

View newest version in sPHENIX GitHub at line 57 of file UltraEventAction.cc

UltraEventAction::~UltraEventAction ( )

Definition at line 63 of file UltraEventAction.cc.

View newest version in sPHENIX GitHub at line 63 of file UltraEventAction.cc

Member Function Documentation

void UltraEventAction::BeginOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 67 of file UltraEventAction.cc.

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

References evtNb, G4cout, G4endl, G4SDManager::GetCollectionID(), G4Event::GetEventID(), G4SDManager::GetSDMpointer(), and OpticalHitsCollID.

+ Here is the call graph for this function:

void UltraEventAction::EndOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 87 of file UltraEventAction.cc.

View newest version in sPHENIX GitHub at line 87 of file UltraEventAction.cc

References G4THitsCollection< T >::entries(), eV, G4VAnalysisManager::FillH1(), G4cout, G4endl, G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4ToolsAnalysisManager::Instance(), and OpticalHitsCollID.

+ Here is the call graph for this function:

G4int UltraEventAction::GetEvtNumb ( )
inline

Definition at line 66 of file UltraEventAction.hh.

View newest version in sPHENIX GitHub at line 66 of file UltraEventAction.hh

References evtNb.

Member Data Documentation

G4int UltraEventAction::evtNb
private

Definition at line 66 of file UltraEventAction.hh.

View newest version in sPHENIX GitHub at line 66 of file UltraEventAction.hh

Referenced by BeginOfEventAction(), and GetEvtNumb().

G4int UltraEventAction::OpticalHitsCollID
private

Definition at line 73 of file UltraEventAction.hh.

View newest version in sPHENIX GitHub at line 73 of file UltraEventAction.hh

Referenced by BeginOfEventAction(), and EndOfEventAction().


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