Geant4  10.02
G4HnManager Class Reference

#include <G4HnManager.hh>

+ Inheritance diagram for G4HnManager:
+ Collaboration diagram for G4HnManager:

Public Member Functions

 G4HnManager (const G4String &hnType, const G4AnalysisManagerState &state)
 
virtual ~G4HnManager ()
 
G4HnInformationAddHnInformation (const G4String &name, G4int nofDimensions)
 
G4HnInformationGetHnInformation (G4int id, G4String functionName="", G4bool warn=true) const
 
G4HnDimensionInformationGetHnDimensionInformation (G4int id, G4int dimension, G4String functionName="", G4bool warn=true) const
 
const std::vector
< G4HnInformation * > & 
GetHnVector () const
 
G4int GetNofHns () const
 
G4String GetHnType () const
 
G4bool IsActive () const
 
G4bool IsAscii () const
 
G4bool IsPlotting () const
 
void SetActivation (G4bool activation)
 
void SetActivation (G4int id, G4bool activation)
 
void SetAscii (G4int id, G4bool ascii)
 
void SetPlotting (G4bool plotting)
 
void SetPlotting (G4int id, G4bool plotting)
 
G4String GetName (G4int id) const
 
G4double GetXUnit (G4int id) const
 
G4double GetYUnit (G4int id) const
 
G4double GetZUnit (G4int id) const
 
G4bool GetActivation (G4int id) const
 
G4bool GetAscii (G4int id) const
 
G4bool GetPlotting (G4int id) const
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 
void SetLockFirstId (G4bool lockFirstId)
 
G4int GetFirstId () const
 

Private Attributes

G4String fHnType
 
G4int fNofActiveObjects
 
G4int fNofAsciiObjects
 
G4int fNofPlottingObjects
 
std::vector< G4HnInformation * > fHnVector
 

Additional Inherited Members

- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

Definition at line 43 of file G4HnManager.hh.

Constructor & Destructor Documentation

G4HnManager::G4HnManager ( const G4String hnType,
const G4AnalysisManagerState state 
)

Definition at line 36 of file G4HnManager.cc.

G4HnManager::~G4HnManager ( )
virtual

Definition at line 48 of file G4HnManager.cc.

References fHnVector.

Member Function Documentation

G4HnInformation * G4HnManager::AddHnInformation ( const G4String name,
G4int  nofDimensions 
)

Definition at line 60 of file G4HnManager.cc.

References fHnVector, and fNofActiveObjects.

G4bool G4HnManager::GetActivation ( G4int  id) const

Definition at line 259 of file G4HnManager.cc.

References GetHnInformation().

+ Here is the call graph for this function:

G4bool G4HnManager::GetAscii ( G4int  id) const

Definition at line 269 of file G4HnManager.cc.

References GetHnInformation().

+ Here is the call graph for this function:

G4HnDimensionInformation * G4HnManager::GetHnDimensionInformation ( G4int  id,
G4int  dimension,
G4String  functionName = "",
G4bool  warn = true 
) const

Definition at line 92 of file G4HnManager.cc.

References GetHnInformation().

Referenced by GetXUnit(), GetYUnit(), and GetZUnit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4HnInformation * G4HnManager::GetHnInformation ( G4int  id,
G4String  functionName = "",
G4bool  warn = true 
) const

Definition at line 70 of file G4HnManager.cc.

References G4BaseAnalysisManager::fFirstId, fHnType, fHnVector, G4Exception(), and JustWarning.

Referenced by GetActivation(), GetAscii(), GetHnDimensionInformation(), GetName(), GetPlotting(), SetActivation(), SetAscii(), and SetPlotting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4HnManager::GetHnType ( ) const
inline

Definition at line 118 of file G4HnManager.hh.

References fHnType.

Referenced by G4HnMessenger::G4HnMessenger().

+ Here is the caller graph for this function:

const std::vector< G4HnInformation * > & G4HnManager::GetHnVector ( ) const
inline

Definition at line 121 of file G4HnManager.hh.

References fHnVector.

G4String G4HnManager::GetName ( G4int  id) const

Definition at line 219 of file G4HnManager.cc.

References GetHnInformation().

+ Here is the call graph for this function:

G4int G4HnManager::GetNofHns ( ) const
inline

Definition at line 115 of file G4HnManager.hh.

References fHnVector.

G4bool G4HnManager::GetPlotting ( G4int  id) const

Definition at line 279 of file G4HnManager.cc.

References GetHnInformation().

+ Here is the call graph for this function:

G4double G4HnManager::GetXUnit ( G4int  id) const

Definition at line 229 of file G4HnManager.cc.

References GetHnDimensionInformation(), and G4Analysis::kX.

+ Here is the call graph for this function:

G4double G4HnManager::GetYUnit ( G4int  id) const

Definition at line 239 of file G4HnManager.cc.

References GetHnDimensionInformation(), and G4Analysis::kY.

+ Here is the call graph for this function:

G4double G4HnManager::GetZUnit ( G4int  id) const

Definition at line 249 of file G4HnManager.cc.

References GetHnDimensionInformation(), and G4Analysis::kZ.

+ Here is the call graph for this function:

G4bool G4HnManager::IsActive ( ) const

Definition at line 103 of file G4HnManager.cc.

References fNofActiveObjects.

G4bool G4HnManager::IsAscii ( ) const

Definition at line 109 of file G4HnManager.cc.

References fNofAsciiObjects.

G4bool G4HnManager::IsPlotting ( ) const

Definition at line 115 of file G4HnManager.cc.

References fNofPlottingObjects.

void G4HnManager::SetActivation ( G4bool  activation)

Definition at line 141 of file G4HnManager.cc.

References fHnVector, and fNofActiveObjects.

Referenced by G4HnMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4HnManager::SetActivation ( G4int  id,
G4bool  activation 
)

Definition at line 121 of file G4HnManager.cc.

References fNofActiveObjects, and GetHnInformation().

+ Here is the call graph for this function:

void G4HnManager::SetAscii ( G4int  id,
G4bool  ascii 
)

Definition at line 164 of file G4HnManager.cc.

References fNofAsciiObjects, and GetHnInformation().

Referenced by G4HnMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4HnManager::SetPlotting ( G4bool  plotting)

Definition at line 200 of file G4HnManager.cc.

References fHnVector, and fNofPlottingObjects.

Referenced by G4HnMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4HnManager::SetPlotting ( G4int  id,
G4bool  plotting 
)

Definition at line 182 of file G4HnManager.cc.

References fNofPlottingObjects, and GetHnInformation().

+ Here is the call graph for this function:

Member Data Documentation

G4String G4HnManager::fHnType
private

Definition at line 106 of file G4HnManager.hh.

Referenced by GetHnInformation(), and GetHnType().

std::vector<G4HnInformation*> G4HnManager::fHnVector
private
G4int G4HnManager::fNofActiveObjects
private

Definition at line 107 of file G4HnManager.hh.

Referenced by AddHnInformation(), IsActive(), and SetActivation().

G4int G4HnManager::fNofAsciiObjects
private

Definition at line 108 of file G4HnManager.hh.

Referenced by IsAscii(), and SetAscii().

G4int G4HnManager::fNofPlottingObjects
private

Definition at line 109 of file G4HnManager.hh.

Referenced by IsPlotting(), and SetPlotting().


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