Geant4  10.02.p02
B3aEventAction Class Reference

Event action class. More...

#include <B3aEventAction.hh>

+ Inheritance diagram for B3aEventAction:
+ Collaboration diagram for B3aEventAction:

Public Member Functions

 B3aEventAction (B3aRunAction *runAction)
 
virtual ~B3aEventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
virtual void EndOfEventAction (const G4Event *)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

B3aRunActionfRunAction
 
G4int fCollID_cryst
 
G4int fCollID_patient
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class.

In EndOfEventAction() there is collected information event per event from Hits Collections, and accumulated statistic for B3RunAction::EndOfRunAction().

Definition at line 45 of file B3aEventAction.hh.

Constructor & Destructor Documentation

B3aEventAction::B3aEventAction ( B3aRunAction runAction)

Definition at line 45 of file B3aEventAction.cc.

B3aEventAction::~B3aEventAction ( )
virtual

Definition at line 54 of file B3aEventAction.cc.

Member Function Documentation

void B3aEventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 59 of file B3aEventAction.cc.

void B3aEventAction::EndOfEventAction ( const G4Event evt)
virtual

G4int copyNb = (itr->first);

G4cout << "\n cryst" << copyNb << ": " << edep/keV << " keV ";

G4int copyNb = (itr->first);

Reimplemented from G4UserEventAction.

Definition at line 64 of file B3aEventAction.cc.

References B3aRunAction::CountEvent(), fCollID_cryst, fCollID_patient, fRunAction, G4SDManager::GetCollectionID(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4THitsMap< T >::GetMap(), G4SDManager::GetSDMpointer(), keV, and B3aRunAction::SumDose().

+ Here is the call graph for this function:

Member Data Documentation

G4int B3aEventAction::fCollID_cryst
private

Definition at line 56 of file B3aEventAction.hh.

Referenced by EndOfEventAction().

G4int B3aEventAction::fCollID_patient
private

Definition at line 57 of file B3aEventAction.hh.

Referenced by EndOfEventAction().

B3aRunAction* B3aEventAction::fRunAction
private

Definition at line 55 of file B3aEventAction.hh.

Referenced by EndOfEventAction().


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