Geant4
10.02.p02
|
#include <G4P1ToolsManager.hh>
Public Member Functions | |
G4P1ToolsManager (const G4AnalysisManagerState &state) | |
virtual | ~G4P1ToolsManager () |
G4int | AddP1 (const G4String &name, tools::histo::p1d *p1d) |
void | AddP1Vector (const std::vector< tools::histo::p1d * > &p1Vector) |
tools::histo::p1d * | GetP1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< tools::histo::p1d * > ::iterator | BeginP1 () |
std::vector< tools::histo::p1d * > ::iterator | EndP1 () |
std::vector< tools::histo::p1d * > ::const_iterator | BeginConstP1 () const |
std::vector< tools::histo::p1d * > ::const_iterator | EndConstP1 () const |
const std::vector < tools::histo::p1d * > & | GetP1Vector () const |
const std::vector < G4HnInformation * > & | GetHnVector () const |
Public Member Functions inherited from G4VP1Manager | |
G4VP1Manager () | |
virtual | ~G4VP1Manager () |
G4VP1Manager (const G4VP1Manager &rhs)=delete | |
G4VP1Manager & | operator= (const G4VP1Manager &rhs)=delete |
Public Member Functions inherited from G4THnManager< tools::histo::p1d > | |
G4THnManager (const G4AnalysisManagerState &state, const G4String &hnType) | |
virtual | ~G4THnManager () |
G4bool | Reset () |
G4bool | IsEmpty () const |
Protected Member Functions | |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear") final |
virtual G4int | CreateP1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | SetP1 (G4int id, G4int nbins, G4double xmin, G4double xmax, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinScheme="linear") final |
virtual G4bool | SetP1 (G4int id, const std::vector< G4double > &edges, G4double ymin=0, G4double ymax=0, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none") final |
virtual G4bool | ScaleP1 (G4int id, G4double factor) final |
virtual G4bool | FillP1 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0) final |
virtual G4int | GetP1Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetP1Nbins (G4int id) const final |
virtual G4double | GetP1Xmin (G4int id) const final |
virtual G4double | GetP1Xmax (G4int id) const final |
virtual G4double | GetP1XWidth (G4int id) const final |
virtual G4double | GetP1Ymin (G4int id) const final |
virtual G4double | GetP1Ymax (G4int id) const final |
virtual G4bool | SetP1Title (G4int id, const G4String &title) final |
virtual G4bool | SetP1XAxisTitle (G4int id, const G4String &title) final |
virtual G4bool | SetP1YAxisTitle (G4int id, const G4String &title) final |
virtual G4String | GetP1Title (G4int id) const final |
virtual G4String | GetP1XAxisTitle (G4int id) const final |
virtual G4String | GetP1YAxisTitle (G4int id) const final |
virtual std::shared_ptr < G4HnManager > | GetHnManager () final |
Protected Member Functions inherited from G4THnManager< tools::histo::p1d > | |
void | AddTVector (const std::vector< tools::histo::p1d * > &tVector) |
std::vector< tools::histo::p1d * > ::iterator | BeginT () |
std::vector< tools::histo::p1d * > ::iterator | EndT () |
std::vector< tools::histo::p1d * > ::const_iterator | BeginConstT () const |
std::vector< tools::histo::p1d * > ::const_iterator | EndConstT () const |
tools::histo::p1d * | GetTInFunction (G4int id, G4String functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | RegisterT (tools::histo::p1d *t, const G4String &name) |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
Private Member Functions | |
void | AddP1Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4BinScheme xbinScheme) const |
Static Private Attributes | |
static const G4int | kDimension = 1 |
Additional Inherited Members | |
Protected Attributes inherited from G4THnManager< tools::histo::p1d > | |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::p1d * > | fTVector |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager |
Definition at line 53 of file G4P1ToolsManager.hh.
|
explicit |
Definition at line 49 of file G4P1ToolsManager.cc.
|
virtual |
Definition at line 55 of file G4P1ToolsManager.cc.
Definition at line 536 of file G4P1ToolsManager.cc.
References AddP1Information(), G4THnManager< tools::histo::p1d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kLinear, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p1d >::RegisterT().
Referenced by G4CsvAnalysisReader::ReadP1Impl(), G4XmlAnalysisReader::ReadP1Impl(), and G4RootAnalysisReader::ReadP1Impl().
|
private |
Definition at line 215 of file G4P1ToolsManager.cc.
References G4HnInformation::AddDimension(), G4THnManager< tools::histo::p1d >::fHnManager, and kLinear.
Referenced by AddP1(), and CreateP1().
void G4P1ToolsManager::AddP1Vector | ( | const std::vector< tools::histo::p1d * > & | p1Vector | ) |
Definition at line 559 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::AddTVector().
Referenced by G4XmlAnalysisManager::WriteP1(), G4CsvAnalysisManager::WriteP1(), and G4RootAnalysisManager::WriteP1().
|
inline |
Definition at line 179 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::BeginConstT().
|
inline |
Definition at line 172 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::BeginT().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 232 of file G4P1ToolsManager.cc.
References AddP1Information(), G4THnManager< tools::histo::p1d >::fState, G4Analysis::GetBinScheme(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p1d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 267 of file G4P1ToolsManager.cc.
References AddP1Information(), G4THnManager< tools::histo::p1d >::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kUser, G4AnalysisVerbose::Message(), and G4THnManager< tools::histo::p1d >::RegisterT().
|
inline |
Definition at line 183 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::EndConstT().
|
inline |
Definition at line 175 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::EndT().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 378 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::fState, G4AnalysisManagerState::GetIsActivation(), G4THnManager< tools::histo::p1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kX, G4Analysis::kY, and G4AnalysisVerbose::Message().
|
inlinefinalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 192 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fHnManager.
|
inline |
Definition at line 189 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fHnManager.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), G4XmlAnalysisManager::WriteP1(), G4CsvAnalysisManager::WriteP1(), and G4RootAnalysisManager::WriteP1().
tools::histo::p1d * G4P1ToolsManager::GetP1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 566 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 413 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTId().
Implements G4VP1Manager.
Definition at line 419 of file G4P1ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 504 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::GetTitle().
|
inline |
Definition at line 186 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fTVector.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), G4XmlAnalysisManager::WriteP1(), G4CsvAnalysisManager::WriteP1(), and G4RootAnalysisManager::WriteP1().
Implements G4VP1Manager.
Definition at line 514 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 439 of file G4P1ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 428 of file G4P1ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 448 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::GetWidth(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 523 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4Analysis::GetAxisTitle(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kY.
Implements G4VP1Manager.
Definition at line 468 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
Implements G4VP1Manager.
Definition at line 457 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
Implements G4VP1Manager.
Definition at line 369 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 299 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::fState, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::p1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 335 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::fState, G4THnManager< tools::histo::p1d >::GetTInFunction(), G4AnalysisManagerState::GetVerboseL4(), kUser, and G4AnalysisVerbose::Message().
Implements G4VP1Manager.
Definition at line 477 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::SetTitle().
Implements G4VP1Manager.
Definition at line 486 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VP1Manager.
Definition at line 495 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
|
staticprivate |
Definition at line 167 of file G4P1ToolsManager.hh.