ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/analysis/hntools/include/G4P2ToolsManager.hh>
Public Member Functions | |
G4P2ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4P2ToolsManager () |
G4int | AddP2 (const G4String &name, tools::histo::p2d *p2d) |
void | AddP2Vector (const std::vector< tools::histo::p2d * > &p2Vector) |
tools::histo::p2d * | GetP2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::p2d * > ::iterator | BeginP2 () |
std::vector< tools::histo::p2d * > ::iterator | EndP2 () |
std::vector< tools::histo::p2d * > ::const_iterator | BeginConstP2 () const |
std::vector< tools::histo::p2d * > ::const_iterator | EndConstP2 () const |
const std::vector < tools::histo::p2d * > & | GetP2Vector () const |
const std::vector < G4HnInformation * > & | GetHnVector () const |
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< tools::histo::p2d > | |
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") final |
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") final |
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") final |
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") final |
virtual G4bool | ScaleP2 (G4int id, G4double factor) final |
virtual G4bool | FillP2 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0) final |
virtual G4int | GetP2Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetP2Nxbins (G4int id) const final |
virtual G4double | GetP2Xmin (G4int id) const final |
virtual G4double | GetP2Xmax (G4int id) const final |
virtual G4double | GetP2XWidth (G4int id) const final |
virtual G4int | GetP2Nybins (G4int id) const final |
virtual G4double | GetP2Ymin (G4int id) const final |
virtual G4double | GetP2Ymax (G4int id) const final |
virtual G4double | GetP2YWidth (G4int id) const final |
virtual G4double | GetP2Zmin (G4int id) const final |
virtual G4double | GetP2Zmax (G4int id) const final |
virtual G4bool | SetP2Title (G4int id, const G4String &title) final |
virtual G4bool | SetP2XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP2YAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP2ZAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetP2Title (G4int id) const final |
virtual G4String | GetP2XAxisTitle (G4int id) const final |
virtual G4String | GetP2YAxisTitle (G4int id) const final |
virtual G4String | GetP2ZAxisTitle (G4int id) const final |
virtual G4bool | WriteOnAscii (std::ofstream &output) final |
virtual std::shared_ptr < G4HnManager > | GetHnManager () final |
Protected Member Functions inherited from G4THnManager< tools::histo::p2d > | |
void | AddTVector (const std::vector< tools::histo::p2d * > &tVector) |
std::vector< tools::histo::p2d * > ::iterator | BeginT () |
std::vector< tools::histo::p2d * > ::iterator | EndT () |
std::vector< tools::histo::p2d * > ::const_iterator | BeginConstT () const |
std::vector< tools::histo::p2d * > ::const_iterator | EndConstT () const |
tools::histo::p2d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::p2d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Private Member Functions | |
void | AddP2Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &zunitName, const G4String &xfcnName, const G4String &yfcnName, const G4String &zfcnName, G4BinScheme xbinScheme, G4BinScheme ybinScheme) const |
Static Private Attributes | |
static const G4int | kDimension = 2 |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::p2d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::p2d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 51 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 51 of file G4P2ToolsManager.hh
|
explicit |
Definition at line 44 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 44 of file G4P2ToolsManager.cc
|
virtual |
Definition at line 50 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 50 of file G4P2ToolsManager.cc
Definition at line 722 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 722 of file G4P2ToolsManager.cc
References AddP2Information(), G4THnManager< tools::histo::p2d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p2d >::RegisterT().
Referenced by G4CsvAnalysisReader::ReadP2Impl(), G4XmlAnalysisReader::ReadP2Impl(), G4RootAnalysisReader::ReadP2Impl(), and G4Hdf5AnalysisReader::ReadP2Impl().
|
private |
Definition at line 295 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 295 of file G4P2ToolsManager.cc
References G4HnInformation::AddDimension(), and G4THnManager< tools::histo::p2d >::fHnManager.
Referenced by AddP2(), and CreateP2().
void G4P2ToolsManager::AddP2Vector | ( | const std::vector< tools::histo::p2d * > & | p2Vector | ) |
Definition at line 746 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 746 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::AddTVector().
Referenced by G4XmlAnalysisManager::WriteP2(), G4CsvAnalysisManager::WriteP2(), G4Hdf5AnalysisManager::WriteP2(), and G4RootAnalysisManager::WriteP2().
|
inline |
Definition at line 201 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 201 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::BeginConstT().
|
inline |
Definition at line 194 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 194 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::BeginT().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 316 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 316 of file G4P2ToolsManager.cc
References AddP2Information(), G4THnManager< tools::histo::p2d >::fState, G4Analysis::GetBinScheme(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p2d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 362 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 362 of file G4P2ToolsManager.cc
References AddP2Information(), G4THnManager< tools::histo::p2d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p2d >::RegisterT().
|
inline |
Definition at line 205 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 205 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::EndConstT().
|
inline |
Definition at line 197 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 197 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::EndT().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 492 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 492 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4THnManager< tools::histo::p2d >::fState, G4AnalysisManagerState::GetIsActivation(), G4THnManager< tools::histo::p2d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kX, G4Analysis::kY, G4Analysis::kZ, G4AnalysisVerbose::Message(), and weight.
|
inlinefinalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 214 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 214 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::fHnManager.
|
inline |
Definition at line 211 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 211 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::fHnManager.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4XmlAnalysisManager::WriteP2(), G4CsvAnalysisManager::WriteP2(), G4Hdf5AnalysisManager::WriteP2(), and G4RootAnalysisManager::WriteP2().
tools::histo::p2d * G4P2ToolsManager::GetP2 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 753 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 753 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 533 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 533 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTId().
Implements G4VP2Manager.
Definition at line 539 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 539 of file G4P2ToolsManager.cc
References G4Analysis::GetNbins(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP2Manager.
Definition at line 577 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 577 of file G4P2ToolsManager.cc
References G4Analysis::GetNbins(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VP2Manager.
Definition at line 671 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 671 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::GetTitle().
|
inline |
Definition at line 208 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 208 of file G4P2ToolsManager.hh
References G4THnManager< tools::histo::p2d >::fTVector.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4XmlAnalysisManager::WriteP2(), G4CsvAnalysisManager::WriteP2(), G4Hdf5AnalysisManager::WriteP2(), and G4RootAnalysisManager::WriteP2().
Implements G4VP2Manager.
Definition at line 680 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 680 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP2Manager.
Definition at line 559 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 559 of file G4P2ToolsManager.cc
References G4Analysis::GetMax(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP2Manager.
Definition at line 548 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 548 of file G4P2ToolsManager.cc
References G4Analysis::GetMin(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP2Manager.
Definition at line 568 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 568 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4THnManager< tools::histo::p2d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kX.
Implements G4VP2Manager.
Definition at line 689 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 689 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VP2Manager.
Definition at line 597 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 597 of file G4P2ToolsManager.cc
References G4Analysis::GetMax(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VP2Manager.
Definition at line 586 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 586 of file G4P2ToolsManager.cc
References G4Analysis::GetMin(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VP2Manager.
Definition at line 606 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 606 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4THnManager< tools::histo::p2d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kY.
Implements G4VP2Manager.
Definition at line 698 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 698 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VP2Manager.
Definition at line 626 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 626 of file G4P2ToolsManager.cc
References G4Analysis::GetMax(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VP2Manager.
Definition at line 615 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 615 of file G4P2ToolsManager.cc
References G4Analysis::GetMin(), G4THnManager< tools::histo::p2d >::GetTInFunction(), and G4Analysis::kZ.
Implements G4VP2Manager.
Definition at line 483 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 483 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 401 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 401 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4THnManager< tools::histo::p2d >::fState, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::p2d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 445 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 445 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager, G4THnManager< tools::histo::p2d >::fState, G4THnManager< tools::histo::p2d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
Implements G4VP2Manager.
Definition at line 635 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 635 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction(), and SetTitle().
Implements G4VP2Manager.
Definition at line 644 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 644 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VP2Manager.
Definition at line 653 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 653 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
Implements G4VP2Manager.
Definition at line 662 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 662 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::GetTInFunction(), G4Analysis::kZ, and G4Analysis::SetAxisTitle().
|
finalprotectedvirtual |
Implements G4VP2Manager.
Definition at line 707 of file G4P2ToolsManager.cc.
View newest version in sPHENIX GitHub at line 707 of file G4P2ToolsManager.cc
References G4THnManager< tools::histo::p2d >::fHnManager.
|
staticprivate |
Definition at line 189 of file G4P2ToolsManager.hh.
View newest version in sPHENIX GitHub at line 189 of file G4P2ToolsManager.hh