Geant4  10.01.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)
 
void AddH3Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &zunitName, const G4String &xfcnName, const G4String &yfcnName, const G4String &zfcnName, G4double xunit, G4double yunit, G4double zunit, G4Fcn fx, G4Fcn fy, G4Fcn fz, G4BinScheme xBinScheme, G4BinScheme yBinScheme, G4BinScheme zBinScheme)
 
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
 
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
 
G4double GetZUnit (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)
 
G4int GetFirstId () const
 

Private Attributes

G4String fHnType
 
G4int fNofActiveObjects
 
G4int fNofAsciiObjects
 
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 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 G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.

Referenced by G4H1ToolsManager::AddH1Information().

+ Here is the call graph for this function:

+ 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 73 of file G4HnManager.cc.

References G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.

Referenced by G4H2ToolsManager::AddH2Information(), and G4P1ToolsManager::AddP1Information().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4HnManager::AddH3Information ( const G4String name,
const G4String xunitName,
const G4String yunitName,
const G4String zunitName,
const G4String xfcnName,
const G4String yfcnName,
const G4String zfcnName,
G4double  xunit,
G4double  yunit,
G4double  zunit,
G4Fcn  fx,
G4Fcn  fy,
G4Fcn  fz,
G4BinScheme  xBinScheme,
G4BinScheme  yBinScheme,
G4BinScheme  zBinScheme 
)

Definition at line 95 of file G4HnManager.cc.

References G4HnInformation::AddHnDimensionInformation(), fHnVector, and fNofActiveObjects.

Referenced by G4H3ToolsManager::AddH3Information(), and G4P2ToolsManager::AddP2Information().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4HnManager::GetActivation ( G4int  id) const

Definition at line 270 of file G4HnManager.cc.

References G4HnInformation::GetActivation(), and GetHnInformation().

Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), G4H3ToolsManager::FillH3(), G4P1ToolsManager::FillP1(), G4P2ToolsManager::FillP2(), G4H1ToolsManager::GetH1InFunction(), G4H2ToolsManager::GetH2InFunction(), G4H3ToolsManager::GetH3InFunction(), G4P1ToolsManager::GetP1InFunction(), and G4P2ToolsManager::GetP2InFunction().

+ 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 280 of file G4HnManager.cc.

References G4HnInformation::GetAscii(), and 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 145 of file G4HnManager.cc.

References G4HnInformation::GetHnDimensionInformation(), and GetHnInformation().

Referenced by G4H1ToolsManager::FillH1(), G4H2ToolsManager::FillH2(), G4H3ToolsManager::FillH3(), G4P1ToolsManager::FillP1(), G4P2ToolsManager::FillP2(), 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 123 of file G4HnManager.cc.

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

Referenced by GetActivation(), GetAscii(), GetHnDimensionInformation(), GetName(), SetActivation(), SetAscii(), G4H1ToolsManager::SetH1(), G4H2ToolsManager::SetH2(), G4H3ToolsManager::SetH3(), G4P1ToolsManager::SetP1(), G4P2ToolsManager::SetP2(), 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 131 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 134 of file G4HnManager.hh.

References fHnVector.

Referenced by G4H2ToolsManager::GetHnVector(), G4P2ToolsManager::GetHnVector(), G4H3ToolsManager::GetHnVector(), G4P1ToolsManager::GetHnVector(), and G4H1ToolsManager::GetHnVector().

+ Here is the caller graph for this function:

G4String G4HnManager::GetName ( G4int  id) const

Definition at line 227 of file G4HnManager.cc.

References GetHnInformation(), and G4HnInformation::GetName().

+ Here is the call graph for this function:

G4int G4HnManager::GetNofHns ( ) const
inline

Definition at line 128 of file G4HnManager.hh.

References fHnVector.

Referenced by G4VAnalysisReader::GetNofH1s(), G4VAnalysisManager::GetNofH1s(), G4VAnalysisReader::GetNofH2s(), G4VAnalysisManager::GetNofH2s(), G4VAnalysisReader::GetNofH3s(), G4VAnalysisManager::GetNofH3s(), G4VAnalysisReader::GetNofP1s(), G4VAnalysisManager::GetNofP1s(), G4VAnalysisReader::GetNofP2s(), and G4VAnalysisManager::GetNofP2s().

+ Here is the caller graph for this function:

G4double G4HnManager::GetXUnit ( G4int  id) const

Definition at line 237 of file G4HnManager.cc.

References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kX.

+ Here is the call graph for this function:

G4double G4HnManager::GetYUnit ( G4int  id) const

Definition at line 248 of file G4HnManager.cc.

References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kY.

+ Here is the call graph for this function:

G4double G4HnManager::GetZUnit ( G4int  id) const

Definition at line 259 of file G4HnManager.cc.

References G4HnDimensionInformation::fUnit, GetHnDimensionInformation(), and G4HnInformation::kZ.

+ Here is the call graph for this function:

G4bool G4HnManager::IsActive ( ) const

Definition at line 156 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 162 of file G4HnManager.cc.

References fNofAsciiObjects.

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

+ Here is the caller graph for this function:

void G4HnManager::SetActivation ( G4bool  activation)

Definition at line 188 of file G4HnManager.cc.

References fHnVector, fNofActiveObjects, G4HnInformation::GetActivation(), and G4HnInformation::SetActivation().

Referenced by G4H1ToolsManager::SetH1(), G4VAnalysisManager::SetH1Activation(), G4H2ToolsManager::SetH2(), G4VAnalysisManager::SetH2Activation(), G4H3ToolsManager::SetH3(), G4VAnalysisManager::SetH3Activation(), G4HnMessenger::SetNewValue(), G4P1ToolsManager::SetP1(), G4VAnalysisManager::SetP1Activation(), G4P2ToolsManager::SetP2(), and G4VAnalysisManager::SetP2Activation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 168 of file G4HnManager.cc.

References fNofActiveObjects, G4HnInformation::GetActivation(), GetHnInformation(), and G4HnInformation::SetActivation().

+ Here is the call graph for this function:

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

Definition at line 209 of file G4HnManager.cc.

References fNofAsciiObjects, G4HnInformation::GetAscii(), GetHnInformation(), and G4HnInformation::SetAscii().

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

+ 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 120 of file G4HnManager.hh.

Referenced by GetHnInformation(), and GetHnType().

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

Definition at line 122 of file G4HnManager.hh.

Referenced by IsAscii(), and SetAscii().


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