Geant4  10.00.p03
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 ()
 
void AddH1Information (const G4String &name, const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fx, G4BinScheme binScheme)
 
void AddH2Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4double xunit, G4double yunit, G4Fcn fx, G4Fcn fy, G4BinScheme xBinScheme, G4BinScheme yBinScheme)
 
G4HnInformationGetHnInformation (G4int id, G4String functionName="", G4bool warn=true) const
 
const std::vector
< G4HnInformation * > & 
GetHnVector () const
 
G4int GetNofHns () const
 
G4String GetHnType () const
 
G4bool IsActive () const
 
G4bool IsAscii () const
 
void SetActivation (G4bool activation)
 
void SetActivation (G4int id, G4bool activation)
 
void SetAscii (G4int id, G4bool ascii)
 
G4String GetName (G4int id) const
 
G4double GetXUnit (G4int id) const
 
G4double GetYUnit (G4int id) const
 
G4bool GetActivation (G4int id) const
 
G4bool GetAscii (G4int id) const
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from G4BaseAnalysisManager
void ExceptionForHistograms (const G4String &functionName) const
 
- 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 33 of file G4HnManager.cc.

G4HnManager::~G4HnManager ( )
virtual

Definition at line 44 of file G4HnManager.cc.

References fHnVector.

Member Function Documentation

void G4HnManager::AddH1Information ( const G4String name,
const G4String unitName,
const G4String fcnName,
G4double  unit,
G4Fcn  fx,
G4BinScheme  binScheme 
)

Definition at line 57 of file G4HnManager.cc.

References fHnVector, and fNofActiveObjects.

Referenced by G4H1ToolsManager::AddH1Information().

+ Here is the caller graph for this function:

void G4HnManager::AddH2Information ( const G4String name,
const G4String xunitName,
const G4String yunitName,
const G4String xfcnName,
const G4String yfcnName,
G4double  xunit,
G4double  yunit,
G4Fcn  fx,
G4Fcn  fy,
G4BinScheme  xBinScheme,
G4BinScheme  yBinScheme 
)

Definition at line 70 of file G4HnManager.cc.

References fHnVector, and fNofActiveObjects.

Referenced by G4H2ToolsManager::AddH2Information().

+ Here is the caller graph for this function:

G4bool G4HnManager::GetActivation ( G4int  id) const

Definition at line 209 of file G4HnManager.cc.

References G4HnInformation::fActivation, and GetHnInformation().

Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), G4H1ToolsManager::GetH1InFunction(), and G4H2ToolsManager::GetH2InFunction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4HnManager::GetAscii ( G4int  id) const

Definition at line 219 of file G4HnManager.cc.

References G4HnInformation::fAscii, and GetHnInformation().

+ Here is the call graph for this function:

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

Definition at line 86 of file G4HnManager.cc.

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

Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), GetActivation(), GetAscii(), GetName(), GetXUnit(), GetYUnit(), SetActivation(), SetAscii(), G4H1ToolsManager::SetH1(), G4H2ToolsManager::SetH2(), and G4H1ToolsManager::WriteOnAscii().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4HnManager::GetHnType ( ) const
inline

Definition at line 114 of file G4HnManager.hh.

References fHnType.

Referenced by G4HnMessenger::GetCmdDirectoryName(), and G4HnMessenger::GetHnDescription().

+ Here is the caller graph for this function:

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

Definition at line 117 of file G4HnManager.hh.

References fHnVector.

Referenced by G4H2ToolsManager::GetHnVector(), and G4H1ToolsManager::GetHnVector().

+ Here is the caller graph for this function:

G4String G4HnManager::GetName ( G4int  id) const

Definition at line 179 of file G4HnManager.cc.

References G4HnInformation::fName, and GetHnInformation().

+ Here is the call graph for this function:

G4int G4HnManager::GetNofHns ( ) const
inline

Definition at line 111 of file G4HnManager.hh.

References fHnVector.

Referenced by G4VAnalysisManager::GetNofH1s(), and G4VAnalysisManager::GetNofH2s().

+ Here is the caller graph for this function:

G4double G4HnManager::GetXUnit ( G4int  id) const

Definition at line 189 of file G4HnManager.cc.

References G4HnInformation::fXUnit, and GetHnInformation().

+ Here is the call graph for this function:

G4double G4HnManager::GetYUnit ( G4int  id) const

Definition at line 199 of file G4HnManager.cc.

References G4HnInformation::fYUnit, and GetHnInformation().

+ Here is the call graph for this function:

G4bool G4HnManager::IsActive ( ) const

Definition at line 108 of file G4HnManager.cc.

References fNofActiveObjects.

Referenced by G4VAnalysisManager::IsActive().

+ Here is the caller graph for this function:

G4bool G4HnManager::IsAscii ( ) const

Definition at line 114 of file G4HnManager.cc.

References fNofAsciiObjects.

Referenced by G4VAnalysisManager::IsAscii(), and G4H2ToolsManager::WriteOnAscii().

+ Here is the caller graph for this function:

void G4HnManager::SetActivation ( G4bool  activation)

Definition at line 140 of file G4HnManager.cc.

References G4HnInformation::fActivation, fHnVector, and fNofActiveObjects.

Referenced by G4H1ToolsManager::SetH1(), G4VAnalysisManager::SetH1Activation(), G4H2ToolsManager::SetH2(), G4VAnalysisManager::SetH2Activation(), and G4HnMessenger::SetNewValue().

+ Here is the caller graph for this function:

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

Definition at line 120 of file G4HnManager.cc.

References G4HnInformation::fActivation, fNofActiveObjects, and GetHnInformation().

+ Here is the call graph for this function:

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

Definition at line 161 of file G4HnManager.cc.

References G4HnInformation::fAscii, fNofAsciiObjects, and GetHnInformation().

Referenced by G4VAnalysisManager::SetH1Ascii(), G4VAnalysisManager::SetH2Ascii(), and G4HnMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4String G4HnManager::fHnType
private

Definition at line 103 of file G4HnManager.hh.

Referenced by GetHnInformation(), and GetHnType().

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

Definition at line 104 of file G4HnManager.hh.

Referenced by AddH1Information(), AddH2Information(), IsActive(), and SetActivation().

G4int G4HnManager::fNofAsciiObjects
private

Definition at line 105 of file G4HnManager.hh.

Referenced by IsAscii(), and SetAscii().


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