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

#include <geant4/tree/geant4-10.6-release/examples/advanced/purging_magnet/include/PurgMagRunAction.hh>

+ Inheritance diagram for PurgMagRunAction:
+ Collaboration diagram for PurgMagRunAction:

Public Member Functions

 PurgMagRunAction ()
 
 ~PurgMagRunAction ()
 
void BeginOfRunAction (const G4Run *)
 
void EndOfRunAction (const G4Run *)
 
void SetRndmFreq (G4int val)
 
G4int GetRndmFreq ()
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Member Functions

void Book ()
 

Private Attributes

G4int saveRndm
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 48 of file PurgMagRunAction.hh.

View newest version in sPHENIX GitHub at line 48 of file PurgMagRunAction.hh

Constructor & Destructor Documentation

PurgMagRunAction::PurgMagRunAction ( )

Definition at line 47 of file PurgMagRunAction.cc.

View newest version in sPHENIX GitHub at line 47 of file PurgMagRunAction.cc

References saveRndm.

PurgMagRunAction::~PurgMagRunAction ( )

Definition at line 54 of file PurgMagRunAction.cc.

View newest version in sPHENIX GitHub at line 54 of file PurgMagRunAction.cc

Member Function Documentation

void PurgMagRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 59 of file PurgMagRunAction.cc.

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

References Book(), G4cout, G4endl, G4Run::GetRunID(), G4UserRunAction::IsMaster(), and saveRndm.

+ Here is the call graph for this function:

void PurgMagRunAction::Book ( )
private

Definition at line 106 of file PurgMagRunAction.cc.

View newest version in sPHENIX GitHub at line 106 of file PurgMagRunAction.cc

References G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, G4ToolsAnalysisManager::Instance(), G4VAnalysisManager::OpenFile(), and G4VAnalysisManager::SetFirstNtupleId().

Referenced by BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PurgMagRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 84 of file PurgMagRunAction.cc.

View newest version in sPHENIX GitHub at line 84 of file PurgMagRunAction.cc

References G4cout, G4endl, G4Run::GetNumberOfEvent(), G4UserRunAction::IsMaster(), and saveRndm.

+ Here is the call graph for this function:

G4int PurgMagRunAction::GetRndmFreq ( )
inline

Definition at line 59 of file PurgMagRunAction.hh.

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

References saveRndm.

void PurgMagRunAction::SetRndmFreq ( G4int  val)
inline

Definition at line 58 of file PurgMagRunAction.hh.

View newest version in sPHENIX GitHub at line 58 of file PurgMagRunAction.hh

References saveRndm.

Member Data Documentation

G4int PurgMagRunAction::saveRndm
private

Definition at line 63 of file PurgMagRunAction.hh.

View newest version in sPHENIX GitHub at line 63 of file PurgMagRunAction.hh

Referenced by BeginOfRunAction(), EndOfRunAction(), GetRndmFreq(), PurgMagRunAction(), and SetRndmFreq().


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