Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AnalysisManagerState Class Reference

#include <G4AnalysisManagerState.hh>

Public Member Functions

 G4AnalysisManagerState (G4String type, G4bool isMaster)
 
 G4AnalysisManagerState ()=delete
 
 G4AnalysisManagerState (const G4AnalysisManagerState &)=delete
 
G4AnalysisManagerStateoperator= (const G4AnalysisManagerState &)=delete
 
void Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
 
void IncrementCycle ()
 
void ResetCycle ()
 
G4String GetType () const
 
G4String GetFileType () const
 
G4bool GetIsMaster () const
 
G4int GetThreadId () const
 
G4bool GetIsActivation () const
 
G4int GetVerboseLevel () const
 
G4bool IsVerbose (G4int verboseLevel) const
 
G4int GetCycle () const
 

Friends

class G4VAnalysisManager
 
class G4VAnalysisReader
 
class G4ParameterManager
 

Detailed Description

Definition at line 40 of file G4AnalysisManagerState.hh.

Constructor & Destructor Documentation

◆ G4AnalysisManagerState() [1/3]

G4AnalysisManagerState::G4AnalysisManagerState ( G4String type,
G4bool isMaster )

Definition at line 39 of file G4AnalysisManagerState.cc.

40 : fType(std::move(type)),
41 fIsMaster(isMaster),
43{}
G4int G4GetThreadId()

◆ G4AnalysisManagerState() [2/3]

G4AnalysisManagerState::G4AnalysisManagerState ( )
delete

◆ G4AnalysisManagerState() [3/3]

G4AnalysisManagerState::G4AnalysisManagerState ( const G4AnalysisManagerState & )
delete

Member Function Documentation

◆ GetCycle()

G4int G4AnalysisManagerState::GetCycle ( ) const
inline

Definition at line 124 of file G4AnalysisManagerState.hh.

125{ return fCycle; }

Referenced by G4BaseAnalysisManager::GetCycle(), and G4VFileManager::GetCycle().

◆ GetFileType()

G4String G4AnalysisManagerState::GetFileType ( ) const
inline

Definition at line 106 of file G4AnalysisManagerState.hh.

107{ return G4StrUtil::to_lower_copy(fType); }

Referenced by G4BaseFileManager::GetFileType().

◆ GetIsActivation()

G4bool G4AnalysisManagerState::GetIsActivation ( ) const
inline

Definition at line 115 of file G4AnalysisManagerState.hh.

116{ return fIsActivation; }

Referenced by G4VAnalysisManager::IsActive(), G4NtupleBookingManager::List(), and G4PlotManager::PlotAndWrite().

◆ GetIsMaster()

◆ GetThreadId()

G4int G4AnalysisManagerState::GetThreadId ( ) const
inline

Definition at line 112 of file G4AnalysisManagerState.hh.

113{ return fThreadId; }

◆ GetType()

G4String G4AnalysisManagerState::GetType ( ) const
inline

Definition at line 103 of file G4AnalysisManagerState.hh.

104{ return fType; }

◆ GetVerboseLevel()

G4int G4AnalysisManagerState::GetVerboseLevel ( ) const
inline

Definition at line 118 of file G4AnalysisManagerState.hh.

119{ return fVerboseLevel; }

◆ IncrementCycle()

void G4AnalysisManagerState::IncrementCycle ( )
inline

Definition at line 97 of file G4AnalysisManagerState.hh.

98{ ++fCycle; }

Referenced by G4VAnalysisManager::Write().

◆ IsVerbose()

G4bool G4AnalysisManagerState::IsVerbose ( G4int verboseLevel) const
inline

Definition at line 121 of file G4AnalysisManagerState.hh.

122{ return fVerboseLevel == verboseLevel; }

Referenced by G4BaseAnalysisManager::IsVerbose().

◆ Message()

void G4AnalysisManagerState::Message ( G4int level,
const G4String & action,
const G4String & objectType,
const G4String & objectName = "",
G4bool success = true ) const

Definition at line 67 of file G4AnalysisManagerState.cc.

73{
74#ifdef G4VERBOSE
75 // Skip message if of higher level than that is set
76 if (fVerboseLevel < level) return;
77
78 // Print message
79 fVerbose.Message(level, action, objectType, objectName, success);
80#endif
81}
void Message(G4int verboseLevel, const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const

Referenced by G4PlotManager::CloseFile(), G4PlotManager::G4PlotManager(), G4BaseAnalysisManager::Message(), G4BaseFileManager::Message(), G4VNtupleFileManager::Message(), G4PlotManager::OpenFile(), and G4PlotManager::PlotAndWrite().

◆ operator=()

G4AnalysisManagerState & G4AnalysisManagerState::operator= ( const G4AnalysisManagerState & )
delete

◆ ResetCycle()

void G4AnalysisManagerState::ResetCycle ( )
inline

Definition at line 100 of file G4AnalysisManagerState.hh.

101{ fCycle = 0; }

Referenced by G4VAnalysisManager::CloseFile().

Friends And Related Symbol Documentation

◆ G4ParameterManager

friend class G4ParameterManager
friend

Definition at line 45 of file G4AnalysisManagerState.hh.

◆ G4VAnalysisManager

friend class G4VAnalysisManager
friend

Definition at line 43 of file G4AnalysisManagerState.hh.

◆ G4VAnalysisReader

friend class G4VAnalysisReader
friend

Definition at line 44 of file G4AnalysisManagerState.hh.


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