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

#include <geant4/tree/geant4-10.6-release/examples/advanced/composite_calorimeter/include/CCalRunAction.hh>

+ Inheritance diagram for CCalRunAction:
+ Collaboration diagram for CCalRunAction:

Public Member Functions

 CCalRunAction ()
 
virtual ~CCalRunAction ()
 
virtual void BeginOfRunAction (const G4Run *aRun)
 
virtual void EndOfRunAction (const G4Run *aRun)
 
void Book ()
 
G4int maxbin () const
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

G4int numberOfTimeSlices
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 38 of file CCalRunAction.hh.

View newest version in sPHENIX GitHub at line 38 of file CCalRunAction.hh

Constructor & Destructor Documentation

CCalRunAction::CCalRunAction ( )
inline

Definition at line 41 of file CCalRunAction.hh.

View newest version in sPHENIX GitHub at line 41 of file CCalRunAction.hh

virtual CCalRunAction::~CCalRunAction ( )
inlinevirtual

Definition at line 42 of file CCalRunAction.hh.

View newest version in sPHENIX GitHub at line 42 of file CCalRunAction.hh

Member Function Documentation

void CCalRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 40 of file CCalRunAction.cc.

View newest version in sPHENIX GitHub at line 40 of file CCalRunAction.cc

References static_analysis_results::analysis(), Book(), G4cout, G4endl, G4ToolsAnalysisManager::GetH1(), G4VAnalysisManager::GetH1Id(), G4Run::GetRunID(), G4ToolsAnalysisManager::Instance(), and numberOfTimeSlices.

+ Here is the call graph for this function:

void CCalRunAction::Book ( )

Definition at line 62 of file CCalRunAction.cc.

View newest version in sPHENIX GitHub at line 62 of file CCalRunAction.cc

References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleFColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, G4ToolsAnalysisManager::Instance(), numberOfTimeSlices, G4VAnalysisManager::OpenFile(), G4VAnalysisManager::SetFirstHistoId(), G4VAnalysisManager::SetFirstNtupleId(), G4VAnalysisManager::SetVerboseLevel(), and nlohmann::to_string().

Referenced by BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 57 of file CCalRunAction.cc.

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

References G4cout, G4endl, and G4Run::GetRunID().

+ Here is the call graph for this function:

G4int CCalRunAction::maxbin ( ) const
inline

Definition at line 48 of file CCalRunAction.hh.

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

References numberOfTimeSlices.

Member Data Documentation

G4int CCalRunAction::numberOfTimeSlices
private

Definition at line 51 of file CCalRunAction.hh.

View newest version in sPHENIX GitHub at line 51 of file CCalRunAction.hh

Referenced by BeginOfRunAction(), Book(), and maxbin().


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