37#ifndef G4VAnalysisReader_h
38#define G4VAnalysisReader_h 1
95 std::vector<int>& vector);
97 std::vector<float>& vector);
99 std::vector<double>& vector);
101 std::vector<std::string>& vector);
113 std::vector<int>& vector);
115 std::vector<float>& vector);
117 std::vector<double>& vector);
119 std::vector<std::string>& vector);
247 G4bool success =
true)
const;
256 void SetFileManager(std::shared_ptr<G4VRFileManager> fileManager);
266 static constexpr std::string_view fkClass {
"G4VAnalysisReader" };
269 std::unique_ptr<G4VTBaseHnManager<1>> fVH1Manager;
270 std::unique_ptr<G4VTBaseHnManager<2>> fVH2Manager;
271 std::unique_ptr<G4VTBaseHnManager<3>> fVH3Manager;
272 std::unique_ptr<G4VTBaseHnManager<2>> fVP1Manager;
273 std::unique_ptr<G4VTBaseHnManager<3>> fVP2Manager;
274 std::shared_ptr<G4VRNtupleManager> fVNtupleManager {
nullptr };
279#include "G4VAnalysisReader.icc"
G4int GetH3Nybins(G4int id) const
G4bool SetFirstH3Id(G4int firstId)
G4double GetP2XWidth(G4int id) const
G4double GetH2Xmin(G4int id) const
G4int GetVerboseLevel() const
G4int GetH1Nbins(G4int id) const
G4String GetH3Title(G4int id) const
G4int GetP1Nbins(G4int id) const
G4int ReadP2(const G4String &h2Name, const G4String &fileName="", const G4String &dirName="")
G4double GetH3XWidth(G4int id) const
G4double GetP2Zmin(G4int id) const
G4String GetP2Title(G4int id) const
void SetH3Manager(G4VTBaseHnManager< 3 > *h3Manager)
G4int GetH2Id(const G4String &name, G4bool warn=true) const
G4int GetP2Nxbins(G4int id) const
void Message(G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
G4double GetP2Xmax(G4int id) const
G4bool SetNtupleFColumn(const G4String &columnName, G4float &value)
G4bool SetFirstP1Id(G4int firstId)
virtual G4int ReadH3Impl(const G4String &h3Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=0
G4double GetP2Ymax(G4int id) const
G4String GetP2ZAxisTitle(G4int id) const
G4double GetP1Xmax(G4int id) const
void SetNtupleManager(std::shared_ptr< G4VRNtupleManager > ntupleManager)
G4int GetH3Nxbins(G4int id) const
G4double GetP1XWidth(G4int id) const
G4bool SetNtupleSColumn(const G4String &columnName, G4String &value)
G4double GetH3Zmax(G4int id) const
G4String GetH2XAxisTitle(G4int id) const
G4double GetH3Xmax(G4int id) const
std::shared_ptr< G4VRFileManager > fVFileManager
G4double GetH3Ymin(G4int id) const
G4bool SetNtupleDColumn(const G4String &columnName, G4double &value)
G4double GetP2Zmax(G4int id) const
G4String GetH1YAxisTitle(G4int id) const
G4String GetH2ZAxisTitle(G4int id) const
G4int GetP1Id(const G4String &name, G4bool warn=true) const
void SetH1Manager(G4VTBaseHnManager< 1 > *h1Manager)
G4String GetH3ZAxisTitle(G4int id) const
G4bool SetFirstHistoId(G4int firstId)
G4double GetP2Ymin(G4int id) const
G4String GetFileName() const
G4String GetFileType() const
G4double GetH3ZWidth(G4int id) const
G4String GetH1XAxisTitle(G4int id) const
G4bool SetFirstH1Id(G4int firstId)
G4double GetH2Ymin(G4int id) const
G4double GetH3Xmin(G4int id) const
G4double GetP1Ymin(G4int id) const
G4AnalysisManagerState fState
G4int GetP2Id(const G4String &name, G4bool warn=true) const
G4double GetH2XWidth(G4int id) const
G4double GetH3Zmin(G4int id) const
virtual G4int ReadP1Impl(const G4String &p1Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=0
G4int ReadH3(const G4String &h3Name, const G4String &fileName="", const G4String &dirName="")
void SetFileName(const G4String &fileName)
virtual G4int ReadH2Impl(const G4String &h2Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=0
G4bool SetFirstNtupleId(G4int firstId)
G4double GetH3YWidth(G4int id) const
G4String GetH1Title(G4int id) const
G4double GetH3Ymax(G4int id) const
G4double GetP1Ymax(G4int id) const
G4double GetP1Xmin(G4int id) const
virtual G4int ReadH1Impl(const G4String &h1Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=0
G4String GetH3YAxisTitle(G4int id) const
G4double GetH1Width(G4int id) const
G4int GetNofNtuples() const
G4int ReadH2(const G4String &h2Name, const G4String &fileName="", const G4String &dirName="")
G4bool SetFirstH2Id(G4int firstId)
void SetP1Manager(G4VTBaseHnManager< 2 > *p1Manager)
G4String GetP1YAxisTitle(G4int id) const
G4double GetH2Xmax(G4int id) const
G4bool CloseFiles(G4bool reset=true)
G4String GetH2YAxisTitle(G4int id) const
G4int GetH1Id(const G4String &name, G4bool warn=true) const
G4String GetP1Title(G4int id) const
virtual ~G4VAnalysisReader()
G4bool SetFirstProfileId(G4int firstId)
G4String GetP2YAxisTitle(G4int id) const
G4double GetH1Xmin(G4int id) const
virtual G4int ReadP2Impl(const G4String &p2Name, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=0
G4int GetNtuple(const G4String &ntupleName, const G4String &fileName="", const G4String &dirName="")
G4String GetH3XAxisTitle(G4int id) const
G4bool SetNtupleIColumn(const G4String &columnName, G4int &value)
virtual G4bool CloseFilesImpl(G4bool reset)=0
G4int ReadP1(const G4String &h1Name, const G4String &fileName="", const G4String &dirName="")
G4int GetP2Nybins(G4int id) const
G4int GetH3Nzbins(G4int id) const
G4double GetH1Xmax(G4int id) const
G4String GetP2XAxisTitle(G4int id) const
G4double GetP2YWidth(G4int id) const
void SetVerboseLevel(G4int verboseLevel)
G4int GetH2Nxbins(G4int id) const
void SetP2Manager(G4VTBaseHnManager< 3 > *p2Manager)
void SetH2Manager(G4VTBaseHnManager< 2 > *h2Manager)
G4bool SetFirstP2Id(G4int firstId)
G4int GetH2Nybins(G4int id) const
G4String GetH2Title(G4int id) const
void SetFileManager(std::shared_ptr< G4VRFileManager > fileManager)
G4String GetP1XAxisTitle(G4int id) const
G4double GetP2Xmin(G4int id) const
G4int ReadH1(const G4String &h1Name, const G4String &fileName="", const G4String &dirName="")
G4int GetH3Id(const G4String &name, G4bool warn=true) const
G4double GetH2YWidth(G4int id) const
G4String GetP1ZAxisTitle(G4int id) const
G4double GetH2Ymax(G4int id) const