G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
Loading...
Searching...
No Matches
EventAction Class Reference

Collects total energy deposited in shape2 per event. More...

#include <EventAction.hh>

Inheritance diagram for EventAction:

Public Member Functions

 EventAction (RunAction *runAction)
 
 ~EventAction () override=default
 
void BeginOfEventAction (const G4Event *event) override
 
void EndOfEventAction (const G4Event *event) override
 
void AddEdep (G4double edep)
 Accumulate edep for the current event.
 

Detailed Description

Collects total energy deposited in shape2 per event.

Definition at line 40 of file EventAction.hh.

Constructor & Destructor Documentation

◆ EventAction()

EventAction::EventAction ( RunAction runAction)
explicit

Definition at line 38 of file EventAction.cc.

◆ ~EventAction()

EventAction::~EventAction ( )
overridedefault

Member Function Documentation

◆ AddEdep()

void EventAction::AddEdep ( G4double  edep)
inline

Accumulate edep for the current event.

Definition at line 49 of file EventAction.hh.

Referenced by SteppingAction::UserSteppingAction().

◆ BeginOfEventAction()

void EventAction::BeginOfEventAction ( const G4Event *  event)
override

Definition at line 40 of file EventAction.cc.

◆ EndOfEventAction()

void EventAction::EndOfEventAction ( const G4Event *  event)
override

Definition at line 42 of file EventAction.cc.

References RunAction::AddEdep().


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