Geant4  10.01.p03
ExG4HbookP2DummyManager Class Reference

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

#include <ExG4HbookP2DummyManager.hh>

+ Inheritance diagram for ExG4HbookP2DummyManager:
+ Collaboration diagram for ExG4HbookP2DummyManager:

Public Member Functions

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

Protected Member Functions

virtual G4int CreateP2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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")
 
virtual G4int CreateP2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 SetP2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4double zmin=0, G4double zmax=0, 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")
 
virtual G4bool SetP2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, G4double zmin=0, G4double zmax=0, 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 ScaleP2 (G4int id, G4double factor)
 
virtual G4bool FillP2 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
 
virtual G4int GetP2Id (const G4String &name, G4bool warn=true) const
 
virtual G4int GetP2Nxbins (G4int id) const
 
virtual G4double GetP2Xmin (G4int id) const
 
virtual G4double GetP2Xmax (G4int id) const
 
virtual G4double GetP2XWidth (G4int id) const
 
virtual G4int GetP2Nybins (G4int id) const
 
virtual G4double GetP2Ymin (G4int id) const
 
virtual G4double GetP2Ymax (G4int id) const
 
virtual G4double GetP2YWidth (G4int id) const
 
virtual G4double GetP2Zmin (G4int id) const
 
virtual G4double GetP2Zmax (G4int id) const
 
virtual G4bool SetP2Title (G4int id, const G4String &title)
 
virtual G4bool SetP2XAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetP2YAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetP2ZAxisTitle (G4int id, const G4String &title)
 
virtual G4String GetP2Title (G4int id) const
 
virtual G4String GetP2XAxisTitle (G4int id) const
 
virtual G4String GetP2YAxisTitle (G4int id) const
 
virtual G4String GetP2ZAxisTitle (G4int id) const
 
virtual G4bool WriteOnAscii (std::ofstream &output)
 
- Protected Member Functions inherited from G4VP2Manager
 G4VP2Manager (const G4AnalysisManagerState &state)
 
virtual ~G4VP2Manager ()
 

Private Member Functions

void ExceptionForProfiles (const G4String &functionName)
 
void ExceptionForProfilesConst (const G4String &functionName) const
 

Private Attributes

G4bool fWarn
 

Additional Inherited Members

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

Detailed Description

Manager class for P2 with dummy implementation.

It will just issue warnings.

Definition at line 48 of file ExG4HbookP2DummyManager.hh.

Constructor & Destructor Documentation

ExG4HbookP2DummyManager::ExG4HbookP2DummyManager ( const G4AnalysisManagerState state)

Definition at line 37 of file ExG4HbookP2DummyManager.cc.

ExG4HbookP2DummyManager::~ExG4HbookP2DummyManager ( )
virtual

Definition at line 45 of file ExG4HbookP2DummyManager.cc.

Member Function Documentation

G4int ExG4HbookP2DummyManager::CreateP2 ( const G4String name,
const G4String title,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
G4double  zmin = 0,
G4double  zmax = 0,
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" 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 84 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4int ExG4HbookP2DummyManager::CreateP2 ( const G4String name,
const G4String title,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
G4double  zmin = 0,
G4double  zmax = 0,
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 G4VP2Manager.

Definition at line 105 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

void ExG4HbookP2DummyManager::ExceptionForProfiles ( const G4String functionName)
private

Definition at line 54 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst(), and fWarn.

Referenced by CreateP2(), FillP2(), ScaleP2(), SetP2(), SetP2Title(), SetP2XAxisTitle(), SetP2YAxisTitle(), SetP2ZAxisTitle(), and WriteOnAscii().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ExG4HbookP2DummyManager::ExceptionForProfilesConst ( const G4String functionName) const
private

Definition at line 64 of file ExG4HbookP2DummyManager.cc.

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

Referenced by ExceptionForProfiles(), GetP2Id(), GetP2Nxbins(), GetP2Nybins(), GetP2Title(), GetP2XAxisTitle(), GetP2Xmax(), GetP2Xmin(), GetP2XWidth(), GetP2YAxisTitle(), GetP2Ymax(), GetP2Ymin(), GetP2YWidth(), GetP2ZAxisTitle(), GetP2Zmax(), and GetP2Zmin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool ExG4HbookP2DummyManager::FillP2 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  zvalue,
G4double  weight = 1.0 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 166 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4int ExG4HbookP2DummyManager::GetP2Id ( const G4String name,
G4bool  warn = true 
) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 176 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4int ExG4HbookP2DummyManager::GetP2Nxbins ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 183 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4int ExG4HbookP2DummyManager::GetP2Nybins ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 211 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4String ExG4HbookP2DummyManager::GetP2Title ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 281 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4String ExG4HbookP2DummyManager::GetP2XAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 288 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Xmax ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 197 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Xmin ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 190 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2XWidth ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 204 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4String ExG4HbookP2DummyManager::GetP2YAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 295 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Ymax ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 225 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Ymin ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 218 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2YWidth ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 232 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4String ExG4HbookP2DummyManager::GetP2ZAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 302 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Zmax ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 246 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4double ExG4HbookP2DummyManager::GetP2Zmin ( G4int  id) const
protectedvirtual

Implements G4VP2Manager.

Definition at line 239 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfilesConst().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::ScaleP2 ( G4int  id,
G4double  factor 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 159 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2 ( G4int  id,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
G4double  zmin = 0,
G4double  zmax = 0,
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" 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 123 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2 ( G4int  id,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
G4double  zmin = 0,
G4double  zmax = 0,
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 G4VP2Manager.

Definition at line 143 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2Title ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 253 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2XAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 260 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2YAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 267 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

G4bool ExG4HbookP2DummyManager::SetP2ZAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VP2Manager.

Definition at line 274 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

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

Implements G4VP2Manager.

Definition at line 309 of file ExG4HbookP2DummyManager.cc.

References ExceptionForProfiles().

+ Here is the call graph for this function:

Member Data Documentation

G4bool ExG4HbookP2DummyManager::fWarn
private

Definition at line 156 of file ExG4HbookP2DummyManager.hh.

Referenced by ExceptionForProfiles().


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