Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
OpNoviceEventAction Class Reference

#include <OpNoviceEventAction.hh>

Inheritance diagram for OpNoviceEventAction:
G4UserEventAction

Public Member Functions

 OpNoviceEventAction ()=default
 
 ~OpNoviceEventAction () override=default
 
void BeginOfEventAction (const G4Event *) override
 
void EndOfEventAction (const G4Event *) override
 
void AddRayleigh ()
 
void AddAbsorption ()
 
void AddMie ()
 
void AddBoundary ()
 

Private Attributes

G4int fRayleigh = 0
 
G4int fAbsorption = 0
 
G4int fMie = 0
 
G4int fBoundary = 0
 

Detailed Description

Definition at line 41 of file OpNoviceEventAction.hh.

Constructor & Destructor Documentation

◆ OpNoviceEventAction()

OpNoviceEventAction::OpNoviceEventAction ( )
default

◆ ~OpNoviceEventAction()

OpNoviceEventAction::~OpNoviceEventAction ( )
overridedefault

Member Function Documentation

◆ BeginOfEventAction()

void OpNoviceEventAction::BeginOfEventAction ( const G4Event )
override

◆ EndOfEventAction()

void OpNoviceEventAction::EndOfEventAction ( const G4Event )
override

Definition at line 48 of file OpNoviceEventAction.cc.

49{
50 auto run = static_cast<OpNoviceRun*>(
51 G4RunManager::GetRunManager()->GetNonConstCurrentRun());
53 run->AddAbsorption(fAbsorption);
54 run->AddMie(fMie);
55 run->AddBoundary(fBoundary);
56}
void AddRayleigh(G4double n)

◆ AddRayleigh()

void OpNoviceEventAction::AddRayleigh ( )
inline

Definition at line 50 of file OpNoviceEventAction.hh.

50{ ++fRayleigh; }

◆ AddAbsorption()

void OpNoviceEventAction::AddAbsorption ( )
inline

Definition at line 51 of file OpNoviceEventAction.hh.

51{ ++fAbsorption; }

◆ AddMie()

void OpNoviceEventAction::AddMie ( )
inline

Definition at line 52 of file OpNoviceEventAction.hh.

52{ ++fMie; }

◆ AddBoundary()

void OpNoviceEventAction::AddBoundary ( )
inline

Definition at line 53 of file OpNoviceEventAction.hh.

53{ ++fBoundary; }

Member Data Documentation

◆ fRayleigh

G4int OpNoviceEventAction::fRayleigh = 0
private

Definition at line 56 of file OpNoviceEventAction.hh.

◆ fAbsorption

G4int OpNoviceEventAction::fAbsorption = 0
private

Definition at line 57 of file OpNoviceEventAction.hh.

◆ fMie

G4int OpNoviceEventAction::fMie = 0
private

Definition at line 58 of file OpNoviceEventAction.hh.

◆ fBoundary

G4int OpNoviceEventAction::fBoundary = 0
private

Definition at line 59 of file OpNoviceEventAction.hh.


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

Applications | User Support | Publications | Collaboration