Geant4
10.02.p01
|
Manager class for P2 with dummy implementation. More...
#include <ExG4HbookP2DummyManager.hh>
Public Member Functions | |
ExG4HbookP2DummyManager (const G4AnalysisManagerState &state) | |
virtual | ~ExG4HbookP2DummyManager () |
Public Member Functions inherited from G4VP2Manager | |
G4VP2Manager () | |
virtual | ~G4VP2Manager () |
G4VP2Manager (const G4VP2Manager &rhs)=delete | |
G4VP2Manager & | operator= (const G4VP2Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< G4int > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () 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) |
virtual std::shared_ptr < G4HnManager > | GetHnManager () |
Protected Member Functions inherited from G4THnManager< G4int > | |
void | AddTVector (const std::vector< G4int * > &tVector) |
std::vector< G4int * >::iterator | BeginT () |
std::vector< G4int * >::iterator | EndT () |
std::vector< G4int * > ::const_iterator | BeginConstT () const |
std::vector< G4int * > ::const_iterator | EndConstT () const |
G4int * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (G4int *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
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 G4THnManager< G4int > | |
const G4AnalysisManagerState & | fState |
std::vector< G4int * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Manager class for P2 with dummy implementation.
It will just issue warnings.
Definition at line 50 of file ExG4HbookP2DummyManager.hh.
ExG4HbookP2DummyManager::ExG4HbookP2DummyManager | ( | const G4AnalysisManagerState & | state | ) |
Definition at line 37 of file ExG4HbookP2DummyManager.cc.
|
virtual |
Definition at line 46 of file ExG4HbookP2DummyManager.cc.
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 85 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 106 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
private |
Definition at line 55 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst(), and fWarn.
Referenced by CreateP2(), FillP2(), ScaleP2(), SetP2(), SetP2Title(), SetP2XAxisTitle(), SetP2YAxisTitle(), SetP2ZAxisTitle(), and WriteOnAscii().
|
private |
Definition at line 65 of file ExG4HbookP2DummyManager.cc.
References G4THnManager< G4int >::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().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 167 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
inlineprotectedvirtual |
Implements G4VP2Manager.
Definition at line 166 of file ExG4HbookP2DummyManager.hh.
References G4THnManager< G4int >::fHnManager.
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 177 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 184 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 212 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 282 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 289 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 198 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 191 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 205 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 296 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 226 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 219 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 233 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 303 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 247 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 240 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfilesConst().
Implements G4VP2Manager.
Definition at line 160 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 124 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 144 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
Implements G4VP2Manager.
Definition at line 254 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 261 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 268 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 275 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
protectedvirtual |
Implements G4VP2Manager.
Definition at line 310 of file ExG4HbookP2DummyManager.cc.
References ExceptionForProfiles().
|
private |
Definition at line 162 of file ExG4HbookP2DummyManager.hh.
Referenced by ExceptionForProfiles().