Geant4  10.01.p01
ExG4HbookH3DummyManager Class Reference

Manager class for H3 with dummy implementation. More...

#include <ExG4HbookH3DummyManager.hh>

+ Inheritance diagram for ExG4HbookH3DummyManager:
+ Collaboration diagram for ExG4HbookH3DummyManager:

Public Member Functions

 ExG4HbookH3DummyManager (const G4AnalysisManagerState &state)
 
virtual ~ExG4HbookH3DummyManager ()
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 
G4int GetFirstId () const
 

Protected Member Functions

virtual G4int CreateH3 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear", const G4String &zbinScheme="linear")
 
virtual G4int CreateH3 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none")
 
virtual G4bool SetH3 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear", const G4String &zbinScheme="linear")
 
virtual G4bool SetH3 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none")
 
virtual G4bool ScaleH3 (G4int id, G4double factor)
 
virtual G4bool FillH3 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
 
virtual G4int GetH3Id (const G4String &name, G4bool warn=true) const
 
virtual G4int GetH3Nxbins (G4int id) const
 
virtual G4double GetH3Xmin (G4int id) const
 
virtual G4double GetH3Xmax (G4int id) const
 
virtual G4double GetH3XWidth (G4int id) const
 
virtual G4int GetH3Nybins (G4int id) const
 
virtual G4double GetH3Ymin (G4int id) const
 
virtual G4double GetH3Ymax (G4int id) const
 
virtual G4double GetH3YWidth (G4int id) const
 
virtual G4int GetH3Nzbins (G4int id) const
 
virtual G4double GetH3Zmin (G4int id) const
 
virtual G4double GetH3Zmax (G4int id) const
 
virtual G4double GetH3ZWidth (G4int id) const
 
virtual G4bool SetH3Title (G4int id, const G4String &title)
 
virtual G4bool SetH3XAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH3YAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH3ZAxisTitle (G4int id, const G4String &title)
 
virtual G4String GetH3Title (G4int id) const
 
virtual G4String GetH3XAxisTitle (G4int id) const
 
virtual G4String GetH3YAxisTitle (G4int id) const
 
virtual G4String GetH3ZAxisTitle (G4int id) const
 
virtual G4bool WriteOnAscii (std::ofstream &output)
 
- Protected Member Functions inherited from G4VH3Manager
 G4VH3Manager (const G4AnalysisManagerState &state)
 
virtual ~G4VH3Manager ()
 

Private Member Functions

void ExceptionForHistograms (const G4String &functionName)
 
void ExceptionForHistogramsConst (const G4String &functionName) const
 

Private Attributes

G4bool fWarn
 

Additional Inherited Members

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

Detailed Description

Manager class for H3 with dummy implementation.

It will just issue warnings.

Definition at line 54 of file ExG4HbookH3DummyManager.hh.

Constructor & Destructor Documentation

ExG4HbookH3DummyManager::ExG4HbookH3DummyManager ( const G4AnalysisManagerState state)

Definition at line 37 of file ExG4HbookH3DummyManager.cc.

ExG4HbookH3DummyManager::~ExG4HbookH3DummyManager ( )
virtual

Definition at line 44 of file ExG4HbookH3DummyManager.cc.

Member Function Documentation

G4int ExG4HbookH3DummyManager::CreateH3 ( const G4String name,
const G4String title,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
G4int  nzbins,
G4double  zmin,
G4double  zmax,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none",
const G4String xbinScheme = "linear",
const G4String ybinScheme = "linear",
const G4String zbinScheme = "linear" 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 83 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4int ExG4HbookH3DummyManager::CreateH3 ( const G4String name,
const G4String title,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const std::vector< G4double > &  zedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none" 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 106 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

void ExG4HbookH3DummyManager::ExceptionForHistograms ( const G4String functionName)
private

Definition at line 53 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst(), and fWarn.

Referenced by CreateH3(), FillH3(), ScaleH3(), SetH3(), SetH3Title(), SetH3XAxisTitle(), SetH3YAxisTitle(), SetH3ZAxisTitle(), and WriteOnAscii().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExG4HbookH3DummyManager::ExceptionForHistogramsConst ( const G4String functionName) const
private

Definition at line 63 of file ExG4HbookH3DummyManager.cc.

References G4BaseAnalysisManager::fState, G4Exception(), G4AnalysisManagerState::GetType(), and JustWarning.

Referenced by ExceptionForHistograms(), GetH3Id(), GetH3Nxbins(), GetH3Nybins(), GetH3Nzbins(), GetH3Title(), GetH3XAxisTitle(), GetH3Xmax(), GetH3Xmin(), GetH3XWidth(), GetH3YAxisTitle(), GetH3Ymax(), GetH3Ymin(), GetH3YWidth(), GetH3ZAxisTitle(), GetH3Zmax(), GetH3Zmin(), and GetH3ZWidth().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool ExG4HbookH3DummyManager::FillH3 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  zvalue,
G4double  weight = 1.0 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 169 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4int ExG4HbookH3DummyManager::GetH3Id ( const G4String name,
G4bool  warn = true 
) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 179 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4int ExG4HbookH3DummyManager::GetH3Nxbins ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 186 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4int ExG4HbookH3DummyManager::GetH3Nybins ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 214 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4int ExG4HbookH3DummyManager::GetH3Nzbins ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 242 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4String ExG4HbookH3DummyManager::GetH3Title ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 298 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4String ExG4HbookH3DummyManager::GetH3XAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 305 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Xmax ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 200 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Xmin ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 193 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3XWidth ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 207 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4String ExG4HbookH3DummyManager::GetH3YAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 312 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Ymax ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 228 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Ymin ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 221 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3YWidth ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 235 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4String ExG4HbookH3DummyManager::GetH3ZAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 319 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Zmax ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 256 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3Zmin ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 249 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4double ExG4HbookH3DummyManager::GetH3ZWidth ( G4int  id) const
protectedvirtual

Implements G4VH3Manager.

Definition at line 263 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistogramsConst().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::ScaleH3 ( G4int  id,
G4double  factor 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 162 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3 ( G4int  id,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
G4int  nzbins,
G4double  zmin,
G4double  zmax,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none",
const G4String xbinScheme = "linear",
const G4String ybinScheme = "linear",
const G4String zbinScheme = "linear" 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 124 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3 ( G4int  id,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const std::vector< G4double > &  zedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none" 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 146 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3Title ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 270 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3XAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 277 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3YAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 284 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::SetH3ZAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH3Manager.

Definition at line 291 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

G4bool ExG4HbookH3DummyManager::WriteOnAscii ( std::ofstream &  output)
protectedvirtual

Implements G4VH3Manager.

Definition at line 326 of file ExG4HbookH3DummyManager.cc.

References ExceptionForHistograms().

+ Here is the call graph for this function:

Member Data Documentation

G4bool ExG4HbookH3DummyManager::fWarn
private

Definition at line 166 of file ExG4HbookH3DummyManager.hh.

Referenced by ExceptionForHistograms().


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