Geant4-11
|
#include <G4P1ToolsManager.hh>
Public Member Functions | |
G4int | AddP1 (const G4String &name, tools::histo::p1d *p1d) |
void | AddP1Vector (const std::vector< tools::histo::p1d * > &p1Vector) |
void | AddTVector (const std::vector< tools::histo::p1d * > &tVector) |
std::vector< tools::histo::p1d * >::const_iterator | BeginConstP1 () const |
std::vector< tools::histo::p1d * >::iterator | BeginP1 () |
void | ClearData () |
std::vector< tools::histo::p1d * >::const_iterator | EndConstP1 () const |
std::vector< tools::histo::p1d * >::iterator | EndP1 () |
G4P1ToolsManager ()=delete | |
G4P1ToolsManager (const G4AnalysisManagerState &state) | |
const std::vector< G4HnInformation * > & | GetHnVector () const |
tools::histo::p1d * | GetP1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
const std::vector< tools::histo::p1d * > & | GetP1Vector () const |
tools::histo::p1d * | GetT (G4int id) const |
G4bool | IsEmpty () const |
void | Merge (G4Mutex &mergeMutex, G4THnManager< tools::histo::p1d > *masterInstance) |
G4int | RegisterT (tools::histo::p1d *t, const G4String &name) |
G4bool | Reset () |
virtual | ~G4P1ToolsManager ()=default |
Protected Member Functions | |
std::vector< tools::histo::p1d * >::const_iterator | BeginConstT () const |
std::vector< tools::histo::p1d * >::iterator | BeginT () |
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 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 |
std::vector< tools::histo::p1d * >::const_iterator | EndConstT () const |
std::vector< tools::histo::p1d * >::iterator | EndT () |
virtual G4bool | FillP1 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0) final |
virtual std::shared_ptr< G4HnManager > | GetHnManager () final |
virtual G4int | GetP1Id (const G4String &name, G4bool warn=true) const final |
virtual G4int | GetP1Nbins (G4int id) const final |
virtual G4String | GetP1Title (G4int id) const final |
virtual G4String | GetP1XAxisTitle (G4int id) const final |
virtual G4double | GetP1Xmax (G4int id) const final |
virtual G4double | GetP1Xmin (G4int id) const final |
virtual G4double | GetP1XWidth (G4int id) const final |
virtual G4String | GetP1YAxisTitle (G4int id) const final |
virtual G4double | GetP1Ymax (G4int id) const final |
virtual G4double | GetP1Ymin (G4int id) const final |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
tools::histo::p1d * | GetTInFunction (G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
virtual G4bool | ScaleP1 (G4int id, G4double factor) 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 | 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 | 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 G4bool | WriteOnAscii (std::ofstream &output) final |
Protected Attributes | |
std::shared_ptr< G4HnManager > | fHnManager |
std::map< G4String, G4int > | fNameIdMap |
const G4AnalysisManagerState & | fState |
std::vector< tools::histo::p1d * > | fTVector |
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 constexpr std::string_view | fkClass { "G4P1ToolsManager" } |
static constexpr G4int | fkDimension = 2 |
Definition at line 53 of file G4P1ToolsManager.hh.
|
explicit |
Definition at line 46 of file G4P1ToolsManager.cc.
|
delete |
|
virtualdefault |
Definition at line 567 of file G4P1ToolsManager.cc.
References anonymous_namespace{G4P1ToolsManager.cc}::AddP1Annotation(), AddP1Information(), kLinear, G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::p1d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::p1d >::RegisterT().
|
private |
Definition at line 226 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, fkDimension, kLinear, and G4InuclParticleNames::name().
Referenced by AddP1(), and CreateP1().
void G4P1ToolsManager::AddP1Vector | ( | const std::vector< tools::histo::p1d * > & | p1Vector | ) |
Definition at line 585 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::AddTVector().
|
inherited |
|
inline |
Definition at line 180 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::BeginConstT().
|
protectedinherited |
|
inline |
Definition at line 173 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::BeginT().
|
protectedinherited |
|
inherited |
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 274 of file G4P1ToolsManager.cc.
References anonymous_namespace{G4P1ToolsManager.cc}::AddP1Annotation(), AddP1Information(), anonymous_namespace{G4P1ToolsManager.cc}::CreateToolsP1(), kUser, G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::p1d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::p1d >::RegisterT().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 243 of file G4P1ToolsManager.cc.
References anonymous_namespace{G4P1ToolsManager.cc}::AddP1Annotation(), AddP1Information(), anonymous_namespace{G4P1ToolsManager.cc}::CreateToolsP1(), fkClass, G4Analysis::GetBinScheme(), G4Analysis::kVL2, G4Analysis::kVL4, G4THnManager< tools::histo::p1d >::Message(), G4InuclParticleNames::name(), and G4THnManager< tools::histo::p1d >::RegisterT().
|
inline |
Definition at line 184 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::EndConstT().
|
protectedinherited |
|
inline |
Definition at line 176 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::EndT().
|
protectedinherited |
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 377 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::fState, G4AnalysisManagerState::GetIsActivation(), G4THnManager< tools::histo::p1d >::GetTInFunction(), G4THnManager< tools::histo::p1d >::IsVerbose(), G4Analysis::kVL4, G4Analysis::kX, G4Analysis::kY, and G4THnManager< tools::histo::p1d >::Message().
|
inlinefinalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 193 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fHnManager.
|
inline |
Definition at line 190 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fHnManager.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4ToolsAnalysisManager::WriteImpl().
tools::histo::p1d * G4P1ToolsManager::GetP1 | ( | G4int | id, |
G4bool | warn = true , |
||
G4bool | onlyIfActive = true |
||
) | const |
Definition at line 592 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 410 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTId(), and G4InuclParticleNames::name().
Implements G4VP1Manager.
Definition at line 416 of file G4P1ToolsManager.cc.
References G4Analysis::GetNbins(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 501 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::GetTitle().
|
inline |
Definition at line 187 of file G4P1ToolsManager.hh.
References G4THnManager< tools::histo::p1d >::fTVector.
Referenced by G4ToolsAnalysisManager::MergeImpl(), G4ToolsAnalysisManager::PlotImpl(), and G4ToolsAnalysisManager::WriteImpl().
Implements G4VP1Manager.
Definition at line 511 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 436 of file G4P1ToolsManager.cc.
References G4Analysis::GetMax(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 425 of file G4P1ToolsManager.cc.
References G4Analysis::GetMin(), G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::kX.
Implements G4VP1Manager.
Definition at line 445 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 520 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 465 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
Implements G4VP1Manager.
Definition at line 454 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
Implements G4VP1Manager.
Definition at line 368 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 336 of file G4P1ToolsManager.cc.
References anonymous_namespace{G4P1ToolsManager.cc}::AddP1Annotation(), anonymous_namespace{G4P1ToolsManager.cc}::ConfigureToolsP1(), G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::GetTInFunction(), kUser, G4Analysis::kVL4, G4THnManager< tools::histo::p1d >::Message(), and anonymous_namespace{G4P1ToolsManager.cc}::UpdateP1Information().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 302 of file G4P1ToolsManager.cc.
References anonymous_namespace{G4P1ToolsManager.cc}::AddP1Annotation(), anonymous_namespace{G4P1ToolsManager.cc}::ConfigureToolsP1(), G4THnManager< tools::histo::p1d >::fHnManager, fkClass, G4Analysis::GetBinScheme(), G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::kVL4, G4THnManager< tools::histo::p1d >::Message(), and anonymous_namespace{G4P1ToolsManager.cc}::UpdateP1Information().
Implements G4VP1Manager.
Definition at line 474 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), and G4Analysis::SetTitle().
Implements G4VP1Manager.
Definition at line 483 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::kX, and G4Analysis::SetAxisTitle().
Implements G4VP1Manager.
Definition at line 492 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::GetTInFunction(), G4Analysis::kY, and G4Analysis::SetAxisTitle().
|
finalprotectedvirtual |
Implements G4VP1Manager.
Definition at line 529 of file G4P1ToolsManager.cc.
References G4THnManager< tools::histo::p1d >::fHnManager, G4THnManager< tools::histo::p1d >::fTVector, G4endl, G4Analysis::kVL3, and G4THnManager< tools::histo::p1d >::Message().
|
protectedinherited |
Definition at line 105 of file G4THnManager.hh.
|
staticconstexprprivate |
Definition at line 167 of file G4P1ToolsManager.hh.
Referenced by CreateP1(), and SetP1().
|
staticconstexprprivate |
Definition at line 168 of file G4P1ToolsManager.hh.
Referenced by AddP1Information().
|
protectedinherited |
Definition at line 104 of file G4THnManager.hh.
|
protectedinherited |
Definition at line 102 of file G4THnManager.hh.
|
protectedinherited |
Definition at line 103 of file G4THnManager.hh.