Geant4  10.02.p03
G4VAnalysisManager Class Referenceabstract

#include <G4VAnalysisManager.hh>

Inheritance diagram for G4VAnalysisManager:
Collaboration diagram for G4VAnalysisManager:

Public Member Functions

 G4VAnalysisManager (const G4String &type, G4bool isMaster)
 
virtual ~G4VAnalysisManager ()
 
G4bool OpenFile (const G4String &fileName="")
 
G4bool Write ()
 
G4bool CloseFile ()
 
G4bool Merge (tools::histo::hmpi *hmpi)
 
G4bool Plot ()
 
G4bool IsOpenFile () const
 
G4bool SetFileName (const G4String &fileName)
 
G4bool SetHistoDirectoryName (const G4String &dirName)
 
G4bool SetNtupleDirectoryName (const G4String &dirName)
 
void SetCompressionLevel (G4int level)
 
G4String GetFileName () const
 
G4String GetHistoDirectoryName () const
 
G4String GetNtupleDirectoryName () const
 
G4int GetCompressionLevel () const
 
G4int CreateH1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
 
G4int CreateH1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")
 
G4int CreateH2 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
 
G4int CreateH2 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")
 
G4int CreateH3 (const G4String &name, const G4String &title, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, G4int nzbins, G4double zmin, G4double zmax, 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 &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
 
G4int CreateH3 (const G4String &name, const G4String &title, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none")
 
G4bool SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")
 
G4bool SetH1 (G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")
 
G4bool SetH2 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nybins, G4double ymin, G4double ymax, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
 
G4bool SetH2 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none")
 
G4bool SetH3 (G4int id, G4int nxbins, G4double xmin, G4double xmax, G4int nzbins, G4double zmin, G4double zmax, G4int nybins, G4double ymin, G4double ymax, 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 &xbinSchemeName="linear", const G4String &ybinSchemeName="linear", const G4String &zbinSchemeName="linear")
 
G4bool SetH3 (G4int id, const std::vector< G4double > &xedges, const std::vector< G4double > &yedges, const std::vector< G4double > &zedges, const G4String &xunitName="none", const G4String &yunitName="none", const G4String &zunitName="none", const G4String &xfcnName="none", const G4String &yfcnName="none", const G4String &zfcnName="none")
 
G4bool ScaleH1 (G4int id, G4double factor)
 
G4bool ScaleH2 (G4int id, G4double factor)
 
G4bool ScaleH3 (G4int id, G4double factor)
 
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 &xbinSchemeName="linear")
 
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")
 
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 &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
 
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")
 
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 &xbinSchemeName="linear")
 
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")
 
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 &xbinSchemeName="linear", const G4String &ybinSchemeName="linear")
 
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")
 
G4bool ScaleP1 (G4int id, G4double factor)
 
G4bool ScaleP2 (G4int id, G4double factor)
 
G4int CreateNtuple (const G4String &name, const G4String &title)
 
G4int CreateNtupleIColumn (const G4String &name)
 
G4int CreateNtupleFColumn (const G4String &name)
 
G4int CreateNtupleDColumn (const G4String &name)
 
G4int CreateNtupleSColumn (const G4String &name)
 
G4int CreateNtupleIColumn (const G4String &name, std::vector< int > &vector)
 
G4int CreateNtupleFColumn (const G4String &name, std::vector< float > &vector)
 
G4int CreateNtupleDColumn (const G4String &name, std::vector< double > &vector)
 
void FinishNtuple ()
 
G4int CreateNtupleIColumn (G4int ntupleId, const G4String &name)
 
G4int CreateNtupleFColumn (G4int ntupleId, const G4String &name)
 
G4int CreateNtupleDColumn (G4int ntupleId, const G4String &name)
 
G4int CreateNtupleSColumn (G4int ntupleId, const G4String &name)
 
G4int CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > &vector)
 
G4int CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > &vector)
 
G4int CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > &vector)
 
void FinishNtuple (G4int ntupleId)
 
G4bool SetFirstHistoId (G4int firstId)
 
G4bool SetFirstH1Id (G4int firstId)
 
G4bool SetFirstH2Id (G4int firstId)
 
G4bool SetFirstH3Id (G4int firstId)
 
G4bool SetFirstProfileId (G4int firstId)
 
G4bool SetFirstP1Id (G4int firstId)
 
G4bool SetFirstP2Id (G4int firstId)
 
G4bool SetFirstNtupleId (G4int firstId)
 
G4bool SetFirstNtupleColumnId (G4int firstId)
 
G4bool FillH1 (G4int id, G4double value, G4double weight=1.0)
 
G4bool FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
 
G4bool FillH3 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
 
G4bool FillP1 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
 
G4bool FillP2 (G4int id, G4double xvalue, G4double yvalue, G4double zvalue, G4double weight=1.0)
 
G4bool FillNtupleIColumn (G4int id, G4int value)
 
G4bool FillNtupleFColumn (G4int id, G4float value)
 
G4bool FillNtupleDColumn (G4int id, G4double value)
 
G4bool FillNtupleSColumn (G4int id, const G4String &value)
 
G4bool AddNtupleRow ()
 
G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)
 
G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)
 
G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)
 
G4bool FillNtupleSColumn (G4int ntupleId, G4int id, const G4String &value)
 
G4bool AddNtupleRow (G4int ntupleId)
 
void SetActivation (G4bool activation)
 
G4bool GetActivation () const
 
G4bool IsActive () const
 
G4bool IsAscii () const
 
G4bool IsPlotting () const
 
G4int GetFirstH1Id () const
 
G4int GetFirstH2Id () const
 
G4int GetFirstH3Id () const
 
G4int GetFirstP1Id () const
 
G4int GetFirstP2Id () const
 
G4int GetFirstNtupleId () const
 
G4int GetFirstNtupleColumnId () const
 
G4int GetNofH1s () const
 
G4int GetNofH2s () const
 
G4int GetNofH3s () const
 
G4int GetNofP1s () const
 
G4int GetNofP2s () const
 
G4int GetNofNtuples () const
 
G4int GetH1Id (const G4String &name, G4bool warn=true) const
 
G4int GetH2Id (const G4String &name, G4bool warn=true) const
 
G4int GetH3Id (const G4String &name, G4bool warn=true) const
 
void SetH1Activation (G4bool activation)
 
void SetH1Activation (G4int id, G4bool activation)
 
void SetH1Ascii (G4int id, G4bool ascii)
 
void SetH1Plotting (G4int id, G4bool plotting)
 
void SetH2Activation (G4bool activation)
 
void SetH2Activation (G4int id, G4bool activation)
 
void SetH2Ascii (G4int id, G4bool ascii)
 
void SetH2Plotting (G4int id, G4bool plotting)
 
void SetH3Activation (G4bool activation)
 
void SetH3Activation (G4int id, G4bool activation)
 
void SetH3Ascii (G4int id, G4bool ascii)
 
void SetH3Plotting (G4int id, G4bool plotting)
 
void SetP1Activation (G4bool activation)
 
void SetP1Activation (G4int id, G4bool activation)
 
void SetP1Ascii (G4int id, G4bool ascii)
 
void SetP1Plotting (G4int id, G4bool plotting)
 
void SetP2Activation (G4bool activation)
 
void SetP2Activation (G4int id, G4bool activation)
 
void SetP2Ascii (G4int id, G4bool ascii)
 
void SetP2Plotting (G4int id, G4bool plotting)
 
void SetNtupleActivation (G4bool activation)
 
void SetNtupleActivation (G4int id, G4bool activation)
 
G4int GetH1Nbins (G4int id) const
 
G4double GetH1Xmin (G4int id) const
 
G4double GetH1Xmax (G4int id) const
 
G4double GetH1Width (G4int id) const
 
G4int GetH2Nxbins (G4int id) const
 
G4double GetH2Xmin (G4int id) const
 
G4double GetH2Xmax (G4int id) const
 
G4double GetH2XWidth (G4int id) const
 
G4int GetH2Nybins (G4int id) const
 
G4double GetH2Ymin (G4int id) const
 
G4double GetH2Ymax (G4int id) const
 
G4double GetH2YWidth (G4int id) const
 
G4int GetH3Nxbins (G4int id) const
 
G4double GetH3Xmin (G4int id) const
 
G4double GetH3Xmax (G4int id) const
 
G4double GetH3XWidth (G4int id) const
 
G4int GetH3Nybins (G4int id) const
 
G4double GetH3Ymin (G4int id) const
 
G4double GetH3Ymax (G4int id) const
 
G4double GetH3YWidth (G4int id) const
 
G4int GetH3Nzbins (G4int id) const
 
G4double GetH3Zmin (G4int id) const
 
G4double GetH3Zmax (G4int id) const
 
G4double GetH3ZWidth (G4int id) const
 
G4int GetP1Nbins (G4int id) const
 
G4double GetP1Xmin (G4int id) const
 
G4double GetP1Xmax (G4int id) const
 
G4double GetP1XWidth (G4int id) const
 
G4double GetP1Ymin (G4int id) const
 
G4double GetP1Ymax (G4int id) const
 
G4int GetP2Nxbins (G4int id) const
 
G4double GetP2Xmin (G4int id) const
 
G4double GetP2Xmax (G4int id) const
 
G4double GetP2XWidth (G4int id) const
 
G4int GetP2Nybins (G4int id) const
 
G4double GetP2Ymin (G4int id) const
 
G4double GetP2Ymax (G4int id) const
 
G4double GetP2YWidth (G4int id) const
 
G4double GetP2Zmin (G4int id) const
 
G4double GetP2Zmax (G4int id) const
 
G4String GetH1Name (G4int id) const
 
G4double GetH1Unit (G4int id) const
 
G4bool GetH1Activation (G4int id) const
 
G4bool GetH1Ascii (G4int id) const
 
G4bool GetH1Plotting (G4int id) const
 
G4String GetH2Name (G4int id) const
 
G4double GetH2XUnit (G4int id) const
 
G4double GetH2YUnit (G4int id) const
 
G4bool GetH2Activation (G4int id) const
 
G4bool GetH2Ascii (G4int id) const
 
G4bool GetH2Plotting (G4int id) const
 
G4String GetH3Name (G4int id) const
 
G4double GetH3XUnit (G4int id) const
 
G4double GetH3YUnit (G4int id) const
 
G4double GetH3ZUnit (G4int id) const
 
G4bool GetH3Activation (G4int id) const
 
G4bool GetH3Ascii (G4int id) const
 
G4bool GetH3Plotting (G4int id) const
 
G4String GetP1Name (G4int id) const
 
G4double GetP1XUnit (G4int id) const
 
G4double GetP1YUnit (G4int id) const
 
G4bool GetP1Activation (G4int id) const
 
G4bool GetP1Ascii (G4int id) const
 
G4bool GetP1Plotting (G4int id) const
 
G4String GetP2Name (G4int id) const
 
G4double GetP2XUnit (G4int id) const
 
G4double GetP2YUnit (G4int id) const
 
G4double GetP2ZUnit (G4int id) const
 
G4bool GetP2Activation (G4int id) const
 
G4bool GetP2Ascii (G4int id) const
 
G4bool GetP2Plotting (G4int id) const
 
G4bool GetNtupleActivation (G4int id) const
 
G4bool SetH1Title (G4int id, const G4String &title)
 
G4bool SetH1XAxisTitle (G4int id, const G4String &title)
 
G4bool SetH1YAxisTitle (G4int id, const G4String &title)
 
G4bool SetH2Title (G4int id, const G4String &title)
 
G4bool SetH2XAxisTitle (G4int id, const G4String &title)
 
G4bool SetH2YAxisTitle (G4int id, const G4String &title)
 
G4bool SetH2ZAxisTitle (G4int id, const G4String &title)
 
G4bool SetH3Title (G4int id, const G4String &title)
 
G4bool SetH3XAxisTitle (G4int id, const G4String &title)
 
G4bool SetH3YAxisTitle (G4int id, const G4String &title)
 
G4bool SetH3ZAxisTitle (G4int id, const G4String &title)
 
G4bool SetP1Title (G4int id, const G4String &title)
 
G4bool SetP1XAxisTitle (G4int id, const G4String &title)
 
G4bool SetP1YAxisTitle (G4int id, const G4String &title)
 
G4bool SetP2Title (G4int id, const G4String &title)
 
G4bool SetP2XAxisTitle (G4int id, const G4String &title)
 
G4bool SetP2YAxisTitle (G4int id, const G4String &title)
 
G4bool SetP2ZAxisTitle (G4int id, const G4String &title)
 
G4String GetH1Title (G4int id) const
 
G4String GetH1XAxisTitle (G4int id) const
 
G4String GetH1YAxisTitle (G4int id) const
 
G4String GetH2Title (G4int id) const
 
G4String GetH2XAxisTitle (G4int id) const
 
G4String GetH2YAxisTitle (G4int id) const
 
G4String GetH2ZAxisTitle (G4int id) const
 
G4String GetH3Title (G4int id) const
 
G4String GetH3XAxisTitle (G4int id) const
 
G4String GetH3YAxisTitle (G4int id) const
 
G4String GetH3ZAxisTitle (G4int id) const
 
G4String GetP1Title (G4int id) const
 
G4String GetP1XAxisTitle (G4int id) const
 
G4String GetP1YAxisTitle (G4int id) const
 
G4String GetP1ZAxisTitle (G4int id) const
 
G4String GetP2Title (G4int id) const
 
G4String GetP2XAxisTitle (G4int id) const
 
G4String GetP2YAxisTitle (G4int id) const
 
G4String GetP2ZAxisTitle (G4int id) const
 
void SetVerboseLevel (G4int verboseLevel)
 
G4int GetVerboseLevel () const
 
G4String GetType () const
 
G4String GetFileType () const
 

Protected Member Functions

virtual G4bool OpenFileImpl (const G4String &fileName)=0
 
virtual G4bool WriteImpl ()=0
 
virtual G4bool CloseFileImpl ()=0
 
virtual G4bool PlotImpl ()=0
 
virtual G4bool MergeImpl (tools::histo::hmpi *hmpi)=0
 
virtual G4bool IsOpenFileImpl () const =0
 
void SetH1Manager (G4VH1Manager *h1Manager)
 
void SetH2Manager (G4VH2Manager *h2Manager)
 
void SetH3Manager (G4VH3Manager *h3Manager)
 
void SetP1Manager (G4VP1Manager *p1Manager)
 
void SetP2Manager (G4VP2Manager *p2Manager)
 
void SetNtupleManager (G4VNtupleManager *ntupleManager)
 
void SetFileManager (std::shared_ptr< G4VFileManager > fileManager)
 
G4bool WriteAscii (const G4String &fileName)
 

Protected Attributes

G4AnalysisManagerState fState
 
std::shared_ptr< G4VFileManagerfVFileManager
 

Private Attributes

std::unique_ptr< G4AnalysisMessengerfMessenger
 
std::shared_ptr< G4HnManagerfH1HnManager
 
std::shared_ptr< G4HnManagerfH2HnManager
 
std::shared_ptr< G4HnManagerfH3HnManager
 
std::shared_ptr< G4HnManagerfP1HnManager
 
std::shared_ptr< G4HnManagerfP2HnManager
 
std::unique_ptr< G4VH1ManagerfVH1Manager
 
std::unique_ptr< G4VH2ManagerfVH2Manager
 
std::unique_ptr< G4VH3ManagerfVH3Manager
 
std::unique_ptr< G4VP1ManagerfVP1Manager
 
std::unique_ptr< G4VP2ManagerfVP2Manager
 
std::unique_ptr< G4VNtupleManagerfVNtupleManager
 

Detailed Description

Definition at line 65 of file G4VAnalysisManager.hh.

Constructor & Destructor Documentation

◆ G4VAnalysisManager()

G4VAnalysisManager::G4VAnalysisManager ( const G4String type,
G4bool  isMaster 
)

Definition at line 47 of file G4VAnalysisManager.cc.

48  : fState(type, isMaster),
49  fVFileManager(nullptr),
50  fMessenger(G4Analysis::make_unique<G4AnalysisMessenger>(this)),
51  fH1HnManager(nullptr),
52  fH2HnManager(nullptr),
53  fH3HnManager(nullptr),
54  fP1HnManager(nullptr),
55  fP2HnManager(nullptr),
56  fVH1Manager(nullptr),
57  fVH2Manager(nullptr),
58  fVH3Manager(nullptr),
59  fVP1Manager(nullptr),
60  fVP2Manager(nullptr),
61  fVNtupleManager(nullptr)
62 {
63  //fMessenger = G4Analysis::make_unique<G4AnalysisMessenger>(this);
64 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
std::unique_ptr< G4VP2Manager > fVP2Manager
std::shared_ptr< G4HnManager > fH1HnManager
std::unique_ptr< G4VH2Manager > fVH2Manager
std::shared_ptr< G4VFileManager > fVFileManager
std::unique_ptr< G4VH1Manager > fVH1Manager
std::shared_ptr< G4HnManager > fP2HnManager
std::unique_ptr< G4VP1Manager > fVP1Manager
std::shared_ptr< G4HnManager > fH3HnManager
std::unique_ptr< G4AnalysisMessenger > fMessenger
std::shared_ptr< G4HnManager > fP1HnManager
std::shared_ptr< G4HnManager > fH2HnManager
G4AnalysisManagerState fState
std::unique_ptr< G4VH3Manager > fVH3Manager

◆ ~G4VAnalysisManager()

G4VAnalysisManager::~G4VAnalysisManager ( )
virtual

Definition at line 67 of file G4VAnalysisManager.cc.

68 {}

Member Function Documentation

◆ AddNtupleRow() [1/2]

G4bool G4VAnalysisManager::AddNtupleRow ( )
Here is the caller graph for this function:

◆ AddNtupleRow() [2/2]

G4bool G4VAnalysisManager::AddNtupleRow ( G4int  ntupleId)

◆ CloseFile()

G4bool G4VAnalysisManager::CloseFile ( )

Definition at line 217 of file G4VAnalysisManager.cc.

218 {
219  return CloseFileImpl();
220 }
virtual G4bool CloseFileImpl()=0
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CloseFileImpl()

virtual G4bool G4VAnalysisManager::CloseFileImpl ( )
protectedpure virtual

Implemented in G4RootAnalysisManager, G4CsvAnalysisManager, and G4XmlAnalysisManager.

Here is the caller graph for this function:

◆ CreateH1() [1/2]

G4int G4VAnalysisManager::CreateH1 ( const G4String name,
const G4String title,
G4int  nbins,
G4double  xmin,
G4double  xmax,
const G4String unitName = "none",
const G4String fcnName = "none",
const G4String binSchemeName = "linear" 
)

Definition at line 289 of file G4VAnalysisManager.cc.

293 {
294  if ( ! CheckName(name, "H1") ) return kInvalidId;
295  if ( ! CheckNbins(nbins) ) return kInvalidId;
296  if ( ! CheckMinMax(xmin, xmax, fcnName, binSchemeName) ) return kInvalidId;
297 
298  return fVH1Manager->CreateH1(name, title, nbins, xmin, xmax,
299  unitName, fcnName, binSchemeName);
300 }
G4bool CheckName(const G4String &name, const G4String &objectType)
std::unique_ptr< G4VH1Manager > fVH1Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateH1() [2/2]

G4int G4VAnalysisManager::CreateH1 ( const G4String name,
const G4String title,
const std::vector< G4double > &  edges,
const G4String unitName = "none",
const G4String fcnName = "none" 
)

Definition at line 303 of file G4VAnalysisManager.cc.

306 {
307  if ( ! CheckName(name, "H1") ) return kInvalidId;
308  if ( ! CheckEdges(edges) ) return kInvalidId;
309 
310  return fVH1Manager->CreateH1(name, title, edges, unitName, fcnName);
311 }
G4bool CheckName(const G4String &name, const G4String &objectType)
std::unique_ptr< G4VH1Manager > fVH1Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ CreateH2() [1/2]

G4int G4VAnalysisManager::CreateH2 ( const G4String name,
const G4String title,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear" 
)

Definition at line 314 of file G4VAnalysisManager.cc.

322 {
323  if ( ! CheckName(name, "H2") ) return kInvalidId;
324 
325  if ( ! CheckNbins(nxbins) ) return kInvalidId;
326  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
327 
328  if ( ! CheckNbins(nybins) ) return kInvalidId;
329  if ( ! CheckMinMax(ymin, ymax, yfcnName, ybinSchemeName) ) return kInvalidId;
330 
331  return fVH2Manager->CreateH2(name, title,
332  nxbins, xmin, xmax, nybins, ymin, ymax,
333  xunitName, yunitName, xfcnName, yfcnName,
334  xbinSchemeName, ybinSchemeName);
335 }
std::unique_ptr< G4VH2Manager > fVH2Manager
G4bool CheckName(const G4String &name, const G4String &objectType)
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateH2() [2/2]

G4int G4VAnalysisManager::CreateH2 ( const G4String name,
const G4String title,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none" 
)

Definition at line 338 of file G4VAnalysisManager.cc.

344 {
345  if ( ! CheckName(name, "H2") ) return kInvalidId;
346 
347  if ( ! CheckEdges(xedges) ) return kInvalidId;
348  if ( ! CheckEdges(yedges) ) return kInvalidId;
349 
350  return fVH2Manager->CreateH2(name, title,
351  xedges, yedges,
352  xunitName, yunitName, xfcnName, yfcnName);
353 }
std::unique_ptr< G4VH2Manager > fVH2Manager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ CreateH3() [1/2]

G4int G4VAnalysisManager::CreateH3 ( const G4String name,
const G4String title,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
G4int  nzbins,
G4double  zmin,
G4double  zmax,
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 xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear",
const G4String zbinSchemeName = "linear" 
)

Definition at line 356 of file G4VAnalysisManager.cc.

368 {
369  if ( ! CheckName(name, "H3") ) return kInvalidId;
370 
371  if ( ! CheckNbins(nxbins) ) return kInvalidId;
372  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
373 
374  if ( ! CheckNbins(nybins) ) return kInvalidId;
375  if ( ! CheckMinMax(ymin, ymax, yfcnName, ybinSchemeName) ) return kInvalidId;
376 
377  if ( ! CheckNbins(nzbins) ) return kInvalidId;
378  if ( ! CheckMinMax(zmin, zmax, zfcnName, zbinSchemeName) ) return kInvalidId;
379 
380  return fVH3Manager->CreateH3(name, title,
381  nxbins, xmin, xmax, nybins, ymin, ymax,
382  nzbins, zmin, zmax,
383  xunitName, yunitName, zunitName,
384  xfcnName, yfcnName, zfcnName,
385  xbinSchemeName, ybinSchemeName, zbinSchemeName);
386 }
G4bool CheckName(const G4String &name, const G4String &objectType)
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
std::unique_ptr< G4VH3Manager > fVH3Manager
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateH3() [2/2]

G4int G4VAnalysisManager::CreateH3 ( const G4String name,
const G4String title,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const std::vector< G4double > &  zedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none" 
)

Definition at line 389 of file G4VAnalysisManager.cc.

398 {
399  if ( ! CheckName(name, "H3") ) return kInvalidId;
400 
401  if ( ! CheckEdges(xedges) ) return kInvalidId;
402  if ( ! CheckEdges(yedges) ) return kInvalidId;
403  if ( ! CheckEdges(zedges) ) return kInvalidId;
404 
405  return fVH3Manager->CreateH3(name, title,
406  xedges, yedges, zedges,
407  xunitName, yunitName, zunitName,
408  xfcnName, yfcnName, zfcnName);
409 }
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
std::unique_ptr< G4VH3Manager > fVH3Manager
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ CreateNtuple()

G4int G4VAnalysisManager::CreateNtuple ( const G4String name,
const G4String title 
)

Definition at line 697 of file G4VAnalysisManager.cc.

699 {
700  if ( ! CheckName(name, "Ntuple") ) return kInvalidId;
701 
702  return fVNtupleManager->CreateNtuple(name, title);
703 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNtupleDColumn() [1/4]

G4int G4VAnalysisManager::CreateNtupleDColumn ( const G4String name)

Definition at line 722 of file G4VAnalysisManager.cc.

723 {
724  if ( ! CheckName(name, "NtupleDColumn") ) return kInvalidId;
725 
726  return fVNtupleManager->CreateNtupleDColumn(name, 0);
727 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNtupleDColumn() [2/4]

G4int G4VAnalysisManager::CreateNtupleDColumn ( const G4String name,
std::vector< double > &  vector 
)

Definition at line 756 of file G4VAnalysisManager.cc.

758 {
759  if ( ! CheckName(name, "NtupleDColumn") ) return kInvalidId;
760 
761  return fVNtupleManager->CreateNtupleDColumn(name, &vector);
762 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleDColumn() [3/4]

G4int G4VAnalysisManager::CreateNtupleDColumn ( G4int  ntupleId,
const G4String name 
)

Definition at line 790 of file G4VAnalysisManager.cc.

792 {
793  if ( ! CheckName(name, "NtupleDColumn") ) return kInvalidId;
794 
795  return fVNtupleManager->CreateNtupleDColumn(ntupleId, name, 0);
796 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleDColumn() [4/4]

G4int G4VAnalysisManager::CreateNtupleDColumn ( G4int  ntupleId,
const G4String name,
std::vector< double > &  vector 
)

Definition at line 828 of file G4VAnalysisManager.cc.

831 {
832  if ( ! CheckName(name, "NtupleDColumn") ) return kInvalidId;
833 
834  return fVNtupleManager->CreateNtupleDColumn(ntupleId, name, &vector);
835 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleFColumn() [1/4]

G4int G4VAnalysisManager::CreateNtupleFColumn ( const G4String name)

Definition at line 714 of file G4VAnalysisManager.cc.

715 {
716  if ( ! CheckName(name, "NtupleFColumn") ) return kInvalidId;
717 
718  return fVNtupleManager->CreateNtupleFColumn(name, 0);
719 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNtupleFColumn() [2/4]

G4int G4VAnalysisManager::CreateNtupleFColumn ( const G4String name,
std::vector< float > &  vector 
)

Definition at line 747 of file G4VAnalysisManager.cc.

749 {
750  if ( ! CheckName(name, "NtupleFColumn") ) return kInvalidId;
751 
752  return fVNtupleManager->CreateNtupleFColumn(name, &vector);
753 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleFColumn() [3/4]

G4int G4VAnalysisManager::CreateNtupleFColumn ( G4int  ntupleId,
const G4String name 
)

Definition at line 780 of file G4VAnalysisManager.cc.

782 {
783  if ( ! CheckName(name, "NtupleFColumn") ) return kInvalidId;
784 
785  return fVNtupleManager->CreateNtupleFColumn(ntupleId, name, 0);
786 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleFColumn() [4/4]

G4int G4VAnalysisManager::CreateNtupleFColumn ( G4int  ntupleId,
const G4String name,
std::vector< float > &  vector 
)

Definition at line 818 of file G4VAnalysisManager.cc.

821 {
822  if ( ! CheckName(name, "NtupleFColumn") ) return kInvalidId;
823 
824  return fVNtupleManager->CreateNtupleFColumn(ntupleId, name, &vector);
825 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleIColumn() [1/4]

G4int G4VAnalysisManager::CreateNtupleIColumn ( const G4String name)

Definition at line 706 of file G4VAnalysisManager.cc.

707 {
708  if ( ! CheckName(name, "NtupleIColumn") ) return kInvalidId;
709 
710  return fVNtupleManager->CreateNtupleIColumn(name, 0);
711 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNtupleIColumn() [2/4]

G4int G4VAnalysisManager::CreateNtupleIColumn ( const G4String name,
std::vector< int > &  vector 
)

Definition at line 738 of file G4VAnalysisManager.cc.

740 {
741  if ( ! CheckName(name, "NtupleIColumn") ) return kInvalidId;
742 
743  return fVNtupleManager->CreateNtupleIColumn(name, &vector);
744 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleIColumn() [3/4]

G4int G4VAnalysisManager::CreateNtupleIColumn ( G4int  ntupleId,
const G4String name 
)

Definition at line 771 of file G4VAnalysisManager.cc.

773 {
774  if ( ! CheckName(name, "NtupleIColumn") ) return kInvalidId;
775 
776  return fVNtupleManager->CreateNtupleIColumn(ntupleId, name, 0);
777 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleIColumn() [4/4]

G4int G4VAnalysisManager::CreateNtupleIColumn ( G4int  ntupleId,
const G4String name,
std::vector< int > &  vector 
)

Definition at line 808 of file G4VAnalysisManager.cc.

811 {
812  if ( ! CheckName(name, "NtupleIColumn") ) return kInvalidId;
813 
814  return fVNtupleManager->CreateNtupleIColumn(ntupleId, name, &vector);
815 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleSColumn() [1/2]

G4int G4VAnalysisManager::CreateNtupleSColumn ( const G4String name)

Definition at line 730 of file G4VAnalysisManager.cc.

731 {
732  if ( ! CheckName(name, "NtupleSColumn") ) return kInvalidId;
733 
734  return fVNtupleManager->CreateNtupleSColumn(name);
735 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateNtupleSColumn() [2/2]

G4int G4VAnalysisManager::CreateNtupleSColumn ( G4int  ntupleId,
const G4String name 
)

Definition at line 799 of file G4VAnalysisManager.cc.

801 {
802  if ( ! CheckName(name, "NtupleSColumn") ) return kInvalidId;
803 
804  return fVNtupleManager->CreateNtupleSColumn(ntupleId, name);
805 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
Here is the call graph for this function:

◆ CreateP1() [1/2]

G4int G4VAnalysisManager::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 xbinSchemeName = "linear" 
)

Definition at line 535 of file G4VAnalysisManager.cc.

541 {
542  if ( ! CheckName(name, "P1") ) return kInvalidId;
543  if ( ! CheckNbins(nbins) ) return kInvalidId;
544  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
545  if ( ! CheckMinMax(ymin, ymax) ) return kInvalidId;
546 
547  return fVP1Manager->CreateP1(name, title, nbins, xmin, xmax, ymin, ymax,
548  xunitName, yunitName, xfcnName, yfcnName,
549  xbinSchemeName);
550 }
G4bool CheckName(const G4String &name, const G4String &objectType)
std::unique_ptr< G4VP1Manager > fVP1Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateP1() [2/2]

G4int G4VAnalysisManager::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" 
)

Definition at line 553 of file G4VAnalysisManager.cc.

558 {
559  if ( ! CheckName(name, "P1") ) return kInvalidId;
560  if ( ! CheckEdges(edges) ) return kInvalidId;
561 
562  return fVP1Manager->CreateP1(name, title, edges, ymin, ymax,
563  xunitName, yunitName, xfcnName, yfcnName);
564 }
G4bool CheckName(const G4String &name, const G4String &objectType)
std::unique_ptr< G4VP1Manager > fVP1Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ CreateP2() [1/2]

G4int G4VAnalysisManager::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 xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear" 
)

Definition at line 567 of file G4VAnalysisManager.cc.

577 {
578  if ( ! CheckName(name, "P2") ) return kInvalidId;
579  if ( ! CheckNbins(nxbins) ) return kInvalidId;
580  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
581  if ( ! CheckMinMax(ymin, ymax, yfcnName, xbinSchemeName) ) return kInvalidId;
582  if ( ! CheckMinMax(zmin, zmax) ) return kInvalidId;
583 
584  return fVP2Manager->CreateP2(name, title,
585  nxbins, xmin, xmax, nybins, ymin, ymax,
586  zmin, zmax,
587  xunitName, yunitName, zunitName,
588  xfcnName, yfcnName, zfcnName,
589  xbinSchemeName, ybinSchemeName);
590 }
std::unique_ptr< G4VP2Manager > fVP2Manager
G4bool CheckName(const G4String &name, const G4String &objectType)
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateP2() [2/2]

G4int G4VAnalysisManager::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" 
)

Definition at line 593 of file G4VAnalysisManager.cc.

601 {
602  if ( ! CheckName(name, "P2") ) return kInvalidId;
603  if ( ! CheckEdges(xedges) ) return kInvalidId;
604  if ( ! CheckEdges(yedges) ) return kInvalidId;
605 
606  return fVP2Manager->CreateP2(name, title, xedges, yedges, zmin, zmax,
607  xunitName, yunitName, zunitName,
608  xfcnName, yfcnName, zfcnName);
609 }
std::unique_ptr< G4VP2Manager > fVP2Manager
G4bool CheckName(const G4String &name, const G4String &objectType)
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ FillH1()

G4bool G4VAnalysisManager::FillH1 ( G4int  id,
G4double  value,
G4double  weight = 1.0 
)
Here is the caller graph for this function:

◆ FillH2()

G4bool G4VAnalysisManager::FillH2 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  weight = 1.0 
)
Here is the caller graph for this function:

◆ FillH3()

G4bool G4VAnalysisManager::FillH3 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  zvalue,
G4double  weight = 1.0 
)
Here is the caller graph for this function:

◆ FillNtupleDColumn() [1/2]

G4bool G4VAnalysisManager::FillNtupleDColumn ( G4int  id,
G4double  value 
)
Here is the caller graph for this function:

◆ FillNtupleDColumn() [2/2]

G4bool G4VAnalysisManager::FillNtupleDColumn ( G4int  ntupleId,
G4int  columnId,
G4double  value 
)

◆ FillNtupleFColumn() [1/2]

G4bool G4VAnalysisManager::FillNtupleFColumn ( G4int  id,
G4float  value 
)
Here is the caller graph for this function:

◆ FillNtupleFColumn() [2/2]

G4bool G4VAnalysisManager::FillNtupleFColumn ( G4int  ntupleId,
G4int  columnId,
G4float  value 
)

◆ FillNtupleIColumn() [1/2]

G4bool G4VAnalysisManager::FillNtupleIColumn ( G4int  id,
G4int  value 
)
Here is the caller graph for this function:

◆ FillNtupleIColumn() [2/2]

G4bool G4VAnalysisManager::FillNtupleIColumn ( G4int  ntupleId,
G4int  columnId,
G4int  value 
)

◆ FillNtupleSColumn() [1/2]

G4bool G4VAnalysisManager::FillNtupleSColumn ( G4int  id,
const G4String value 
)

◆ FillNtupleSColumn() [2/2]

G4bool G4VAnalysisManager::FillNtupleSColumn ( G4int  ntupleId,
G4int  id,
const G4String value 
)

◆ FillP1()

G4bool G4VAnalysisManager::FillP1 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  weight = 1.0 
)
Here is the caller graph for this function:

◆ FillP2()

G4bool G4VAnalysisManager::FillP2 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  zvalue,
G4double  weight = 1.0 
)
Here is the caller graph for this function:

◆ FinishNtuple() [1/2]

void G4VAnalysisManager::FinishNtuple ( )

Definition at line 765 of file G4VAnalysisManager.cc.

766 {
767  return fVNtupleManager->FinishNtuple();
768 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
Here is the caller graph for this function:

◆ FinishNtuple() [2/2]

void G4VAnalysisManager::FinishNtuple ( G4int  ntupleId)

Definition at line 838 of file G4VAnalysisManager.cc.

839 {
840  return fVNtupleManager->FinishNtuple(ntupleId);
841 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ GetActivation()

G4bool G4VAnalysisManager::GetActivation ( ) const
Here is the caller graph for this function:

◆ GetCompressionLevel()

G4int G4VAnalysisManager::GetCompressionLevel ( ) const

Definition at line 283 of file G4VAnalysisManager.cc.

284 {
285  return fState.GetCompressionLevel();
286 }
G4AnalysisManagerState fState
Here is the call graph for this function:

◆ GetFileName()

G4String G4VAnalysisManager::GetFileName ( ) const

Definition at line 265 of file G4VAnalysisManager.cc.

266 {
267  return fVFileManager->GetFileName();
268 }
std::shared_ptr< G4VFileManager > fVFileManager
Here is the caller graph for this function:

◆ GetFileType()

G4String G4VAnalysisManager::GetFileType ( ) const
Here is the caller graph for this function:

◆ GetFirstH1Id()

G4int G4VAnalysisManager::GetFirstH1Id ( ) const

Definition at line 965 of file G4VAnalysisManager.cc.

966 {
967 // Return first H1 id
968 
969  return fH1HnManager->GetFirstId();
970 }
std::shared_ptr< G4HnManager > fH1HnManager

◆ GetFirstH2Id()

G4int G4VAnalysisManager::GetFirstH2Id ( ) const

Definition at line 973 of file G4VAnalysisManager.cc.

974 {
975 // Return first H2 id
976 
977  return fH2HnManager->GetFirstId();
978 }
std::shared_ptr< G4HnManager > fH2HnManager

◆ GetFirstH3Id()

G4int G4VAnalysisManager::GetFirstH3Id ( ) const

Definition at line 981 of file G4VAnalysisManager.cc.

982 {
983 // Return first H3 id
984 
985  return fH3HnManager->GetFirstId();
986 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ GetFirstNtupleColumnId()

G4int G4VAnalysisManager::GetFirstNtupleColumnId ( ) const

Definition at line 1013 of file G4VAnalysisManager.cc.

1014 {
1015 // Return first Ntuple column id
1016 
1017  return fVNtupleManager->GetFirstNtupleColumnId();
1018 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ GetFirstNtupleId()

G4int G4VAnalysisManager::GetFirstNtupleId ( ) const

Definition at line 1005 of file G4VAnalysisManager.cc.

1006 {
1007 // Return first Ntuple id
1008 
1009  return fVNtupleManager->GetFirstId();
1010 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ GetFirstP1Id()

G4int G4VAnalysisManager::GetFirstP1Id ( ) const

Definition at line 989 of file G4VAnalysisManager.cc.

990 {
991 // Return first P1 id
992 
993  return fP1HnManager->GetFirstId();
994 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ GetFirstP2Id()

G4int G4VAnalysisManager::GetFirstP2Id ( ) const

Definition at line 997 of file G4VAnalysisManager.cc.

998 {
999 // Return first P2 id
1000 
1001  return fP2HnManager->GetFirstId();
1002 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ GetH1Activation()

G4bool G4VAnalysisManager::GetH1Activation ( G4int  id) const

◆ GetH1Ascii()

G4bool G4VAnalysisManager::GetH1Ascii ( G4int  id) const

◆ GetH1Id()

G4int G4VAnalysisManager::GetH1Id ( const G4String name,
G4bool  warn = true 
) const

◆ GetH1Name()

G4String G4VAnalysisManager::GetH1Name ( G4int  id) const

◆ GetH1Nbins()

G4int G4VAnalysisManager::GetH1Nbins ( G4int  id) const

◆ GetH1Plotting()

G4bool G4VAnalysisManager::GetH1Plotting ( G4int  id) const

◆ GetH1Title()

G4String G4VAnalysisManager::GetH1Title ( G4int  id) const

◆ GetH1Unit()

G4double G4VAnalysisManager::GetH1Unit ( G4int  id) const

◆ GetH1Width()

G4double G4VAnalysisManager::GetH1Width ( G4int  id) const

◆ GetH1XAxisTitle()

G4String G4VAnalysisManager::GetH1XAxisTitle ( G4int  id) const

◆ GetH1Xmax()

G4double G4VAnalysisManager::GetH1Xmax ( G4int  id) const

◆ GetH1Xmin()

G4double G4VAnalysisManager::GetH1Xmin ( G4int  id) const

◆ GetH1YAxisTitle()

G4String G4VAnalysisManager::GetH1YAxisTitle ( G4int  id) const

◆ GetH2Activation()

G4bool G4VAnalysisManager::GetH2Activation ( G4int  id) const

◆ GetH2Ascii()

G4bool G4VAnalysisManager::GetH2Ascii ( G4int  id) const

◆ GetH2Id()

G4int G4VAnalysisManager::GetH2Id ( const G4String name,
G4bool  warn = true 
) const

◆ GetH2Name()

G4String G4VAnalysisManager::GetH2Name ( G4int  id) const

◆ GetH2Nxbins()

G4int G4VAnalysisManager::GetH2Nxbins ( G4int  id) const

◆ GetH2Nybins()

G4int G4VAnalysisManager::GetH2Nybins ( G4int  id) const

◆ GetH2Plotting()

G4bool G4VAnalysisManager::GetH2Plotting ( G4int  id) const

◆ GetH2Title()

G4String G4VAnalysisManager::GetH2Title ( G4int  id) const

◆ GetH2XAxisTitle()

G4String G4VAnalysisManager::GetH2XAxisTitle ( G4int  id) const

◆ GetH2Xmax()

G4double G4VAnalysisManager::GetH2Xmax ( G4int  id) const

◆ GetH2Xmin()

G4double G4VAnalysisManager::GetH2Xmin ( G4int  id) const

◆ GetH2XUnit()

G4double G4VAnalysisManager::GetH2XUnit ( G4int  id) const

◆ GetH2XWidth()

G4double G4VAnalysisManager::GetH2XWidth ( G4int  id) const

◆ GetH2YAxisTitle()

G4String G4VAnalysisManager::GetH2YAxisTitle ( G4int  id) const

◆ GetH2Ymax()

G4double G4VAnalysisManager::GetH2Ymax ( G4int  id) const

◆ GetH2Ymin()

G4double G4VAnalysisManager::GetH2Ymin ( G4int  id) const

◆ GetH2YUnit()

G4double G4VAnalysisManager::GetH2YUnit ( G4int  id) const

◆ GetH2YWidth()

G4double G4VAnalysisManager::GetH2YWidth ( G4int  id) const

◆ GetH2ZAxisTitle()

G4String G4VAnalysisManager::GetH2ZAxisTitle ( G4int  id) const

◆ GetH3Activation()

G4bool G4VAnalysisManager::GetH3Activation ( G4int  id) const

◆ GetH3Ascii()

G4bool G4VAnalysisManager::GetH3Ascii ( G4int  id) const

◆ GetH3Id()

G4int G4VAnalysisManager::GetH3Id ( const G4String name,
G4bool  warn = true 
) const

◆ GetH3Name()

G4String G4VAnalysisManager::GetH3Name ( G4int  id) const

◆ GetH3Nxbins()

G4int G4VAnalysisManager::GetH3Nxbins ( G4int  id) const

◆ GetH3Nybins()

G4int G4VAnalysisManager::GetH3Nybins ( G4int  id) const

◆ GetH3Nzbins()

G4int G4VAnalysisManager::GetH3Nzbins ( G4int  id) const

◆ GetH3Plotting()

G4bool G4VAnalysisManager::GetH3Plotting ( G4int  id) const

◆ GetH3Title()

G4String G4VAnalysisManager::GetH3Title ( G4int  id) const

◆ GetH3XAxisTitle()

G4String G4VAnalysisManager::GetH3XAxisTitle ( G4int  id) const

◆ GetH3Xmax()

G4double G4VAnalysisManager::GetH3Xmax ( G4int  id) const

◆ GetH3Xmin()

G4double G4VAnalysisManager::GetH3Xmin ( G4int  id) const

◆ GetH3XUnit()

G4double G4VAnalysisManager::GetH3XUnit ( G4int  id) const

◆ GetH3XWidth()

G4double G4VAnalysisManager::GetH3XWidth ( G4int  id) const

◆ GetH3YAxisTitle()

G4String G4VAnalysisManager::GetH3YAxisTitle ( G4int  id) const

◆ GetH3Ymax()

G4double G4VAnalysisManager::GetH3Ymax ( G4int  id) const

◆ GetH3Ymin()

G4double G4VAnalysisManager::GetH3Ymin ( G4int  id) const

◆ GetH3YUnit()

G4double G4VAnalysisManager::GetH3YUnit ( G4int  id) const

◆ GetH3YWidth()

G4double G4VAnalysisManager::GetH3YWidth ( G4int  id) const

◆ GetH3ZAxisTitle()

G4String G4VAnalysisManager::GetH3ZAxisTitle ( G4int  id) const

◆ GetH3Zmax()

G4double G4VAnalysisManager::GetH3Zmax ( G4int  id) const

◆ GetH3Zmin()

G4double G4VAnalysisManager::GetH3Zmin ( G4int  id) const

◆ GetH3ZUnit()

G4double G4VAnalysisManager::GetH3ZUnit ( G4int  id) const

◆ GetH3ZWidth()

G4double G4VAnalysisManager::GetH3ZWidth ( G4int  id) const

◆ GetHistoDirectoryName()

G4String G4VAnalysisManager::GetHistoDirectoryName ( ) const

Definition at line 271 of file G4VAnalysisManager.cc.

272 {
273  return fVFileManager->GetHistoDirectoryName();
274 }
std::shared_ptr< G4VFileManager > fVFileManager

◆ GetNofH1s()

G4int G4VAnalysisManager::GetNofH1s ( ) const

Definition at line 1021 of file G4VAnalysisManager.cc.

1022 {
1023  return fH1HnManager->GetNofHns();
1024 }
std::shared_ptr< G4HnManager > fH1HnManager
Here is the caller graph for this function:

◆ GetNofH2s()

G4int G4VAnalysisManager::GetNofH2s ( ) const

Definition at line 1027 of file G4VAnalysisManager.cc.

1028 {
1029  return fH2HnManager->GetNofHns();
1030 }
std::shared_ptr< G4HnManager > fH2HnManager
Here is the caller graph for this function:

◆ GetNofH3s()

G4int G4VAnalysisManager::GetNofH3s ( ) const

Definition at line 1033 of file G4VAnalysisManager.cc.

1034 {
1035  return fH3HnManager->GetNofHns();
1036 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ GetNofNtuples()

G4int G4VAnalysisManager::GetNofNtuples ( ) const

Definition at line 1051 of file G4VAnalysisManager.cc.

1052 {
1053  return fVNtupleManager->GetNofNtuples();
1054 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ GetNofP1s()

G4int G4VAnalysisManager::GetNofP1s ( ) const

Definition at line 1039 of file G4VAnalysisManager.cc.

1040 {
1041  return fP1HnManager->GetNofHns();
1042 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ GetNofP2s()

G4int G4VAnalysisManager::GetNofP2s ( ) const

Definition at line 1045 of file G4VAnalysisManager.cc.

1046 {
1047  return fP2HnManager->GetNofHns();
1048 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ GetNtupleActivation()

G4bool G4VAnalysisManager::GetNtupleActivation ( G4int  id) const

◆ GetNtupleDirectoryName()

G4String G4VAnalysisManager::GetNtupleDirectoryName ( ) const

Definition at line 277 of file G4VAnalysisManager.cc.

278 {
279  return fVFileManager->GetNtupleDirectoryName();
280 }
std::shared_ptr< G4VFileManager > fVFileManager

◆ GetP1Activation()

G4bool G4VAnalysisManager::GetP1Activation ( G4int  id) const

◆ GetP1Ascii()

G4bool G4VAnalysisManager::GetP1Ascii ( G4int  id) const

◆ GetP1Name()

G4String G4VAnalysisManager::GetP1Name ( G4int  id) const

◆ GetP1Nbins()

G4int G4VAnalysisManager::GetP1Nbins ( G4int  id) const

◆ GetP1Plotting()

G4bool G4VAnalysisManager::GetP1Plotting ( G4int  id) const

◆ GetP1Title()

G4String G4VAnalysisManager::GetP1Title ( G4int  id) const

◆ GetP1XAxisTitle()

G4String G4VAnalysisManager::GetP1XAxisTitle ( G4int  id) const

◆ GetP1Xmax()

G4double G4VAnalysisManager::GetP1Xmax ( G4int  id) const

◆ GetP1Xmin()

G4double G4VAnalysisManager::GetP1Xmin ( G4int  id) const

◆ GetP1XUnit()

G4double G4VAnalysisManager::GetP1XUnit ( G4int  id) const

◆ GetP1XWidth()

G4double G4VAnalysisManager::GetP1XWidth ( G4int  id) const

◆ GetP1YAxisTitle()

G4String G4VAnalysisManager::GetP1YAxisTitle ( G4int  id) const

◆ GetP1Ymax()

G4double G4VAnalysisManager::GetP1Ymax ( G4int  id) const

◆ GetP1Ymin()

G4double G4VAnalysisManager::GetP1Ymin ( G4int  id) const

◆ GetP1YUnit()

G4double G4VAnalysisManager::GetP1YUnit ( G4int  id) const

◆ GetP1ZAxisTitle()

G4String G4VAnalysisManager::GetP1ZAxisTitle ( G4int  id) const

◆ GetP2Activation()

G4bool G4VAnalysisManager::GetP2Activation ( G4int  id) const

◆ GetP2Ascii()

G4bool G4VAnalysisManager::GetP2Ascii ( G4int  id) const

◆ GetP2Name()

G4String G4VAnalysisManager::GetP2Name ( G4int  id) const

◆ GetP2Nxbins()

G4int G4VAnalysisManager::GetP2Nxbins ( G4int  id) const

◆ GetP2Nybins()

G4int G4VAnalysisManager::GetP2Nybins ( G4int  id) const

◆ GetP2Plotting()

G4bool G4VAnalysisManager::GetP2Plotting ( G4int  id) const

◆ GetP2Title()

G4String G4VAnalysisManager::GetP2Title ( G4int  id) const

◆ GetP2XAxisTitle()

G4String G4VAnalysisManager::GetP2XAxisTitle ( G4int  id) const

◆ GetP2Xmax()

G4double G4VAnalysisManager::GetP2Xmax ( G4int  id) const

◆ GetP2Xmin()

G4double G4VAnalysisManager::GetP2Xmin ( G4int  id) const

◆ GetP2XUnit()

G4double G4VAnalysisManager::GetP2XUnit ( G4int  id) const

◆ GetP2XWidth()

G4double G4VAnalysisManager::GetP2XWidth ( G4int  id) const

◆ GetP2YAxisTitle()

G4String G4VAnalysisManager::GetP2YAxisTitle ( G4int  id) const

◆ GetP2Ymax()

G4double G4VAnalysisManager::GetP2Ymax ( G4int  id) const

◆ GetP2Ymin()

G4double G4VAnalysisManager::GetP2Ymin ( G4int  id) const

◆ GetP2YUnit()

G4double G4VAnalysisManager::GetP2YUnit ( G4int  id) const

◆ GetP2YWidth()

G4double G4VAnalysisManager::GetP2YWidth ( G4int  id) const

◆ GetP2ZAxisTitle()

G4String G4VAnalysisManager::GetP2ZAxisTitle ( G4int  id) const

◆ GetP2Zmax()

G4double G4VAnalysisManager::GetP2Zmax ( G4int  id) const

◆ GetP2Zmin()

G4double G4VAnalysisManager::GetP2Zmin ( G4int  id) const

◆ GetP2ZUnit()

G4double G4VAnalysisManager::GetP2ZUnit ( G4int  id) const

◆ GetType()

G4String G4VAnalysisManager::GetType ( ) const
Here is the caller graph for this function:

◆ GetVerboseLevel()

G4int G4VAnalysisManager::GetVerboseLevel ( ) const

◆ IsActive()

G4bool G4VAnalysisManager::IsActive ( ) const

Definition at line 927 of file G4VAnalysisManager.cc.

928 {
929 // Return true if activation option is selected and any of managers has
930 // an activated object.
931 
932  return fState.GetIsActivation() &&
933  ( fH1HnManager->IsActive() ||
934  fH2HnManager->IsActive() ||
935  fH3HnManager->IsActive() ||
936  fP1HnManager->IsActive() ||
937  fP2HnManager->IsActive() );
938 }
std::shared_ptr< G4HnManager > fH1HnManager
std::shared_ptr< G4HnManager > fP2HnManager
std::shared_ptr< G4HnManager > fH3HnManager
std::shared_ptr< G4HnManager > fP1HnManager
std::shared_ptr< G4HnManager > fH2HnManager
G4AnalysisManagerState fState
Here is the call graph for this function:

◆ IsAscii()

G4bool G4VAnalysisManager::IsAscii ( ) const

Definition at line 941 of file G4VAnalysisManager.cc.

942 {
943 // Return true any of managers has an object with activated ASCII option.
944 
945  return ( fH1HnManager->IsAscii() ||
946  fH2HnManager->IsAscii() ||
947  fH3HnManager->IsAscii() ||
948  fP1HnManager->IsAscii() ||
949  fP2HnManager->IsAscii() );
950 }
std::shared_ptr< G4HnManager > fH1HnManager
std::shared_ptr< G4HnManager > fP2HnManager
std::shared_ptr< G4HnManager > fH3HnManager
std::shared_ptr< G4HnManager > fP1HnManager
std::shared_ptr< G4HnManager > fH2HnManager
Here is the caller graph for this function:

◆ IsOpenFile()

G4bool G4VAnalysisManager::IsOpenFile ( ) const

Definition at line 235 of file G4VAnalysisManager.cc.

236 {
237  return IsOpenFileImpl();
238 }
virtual G4bool IsOpenFileImpl() const =0
Here is the call graph for this function:

◆ IsOpenFileImpl()

virtual G4bool G4VAnalysisManager::IsOpenFileImpl ( ) const
protectedpure virtual

Implemented in G4RootAnalysisManager, G4CsvAnalysisManager, and G4XmlAnalysisManager.

Here is the caller graph for this function:

◆ IsPlotting()

G4bool G4VAnalysisManager::IsPlotting ( ) const

Definition at line 953 of file G4VAnalysisManager.cc.

954 {
955 // Return true any of managers has an object with activated plotting option.
956 
957  return ( fH1HnManager->IsPlotting() ||
958  fH2HnManager->IsPlotting() ||
959  fH3HnManager->IsPlotting() ||
960  fP1HnManager->IsPlotting() ||
961  fP2HnManager->IsPlotting() );
962 }
std::shared_ptr< G4HnManager > fH1HnManager
std::shared_ptr< G4HnManager > fP2HnManager
std::shared_ptr< G4HnManager > fH3HnManager
std::shared_ptr< G4HnManager > fP1HnManager
std::shared_ptr< G4HnManager > fH2HnManager
Here is the caller graph for this function:

◆ Merge()

G4bool G4VAnalysisManager::Merge ( tools::histo::hmpi *  hmpi)

Definition at line 223 of file G4VAnalysisManager.cc.

224 {
225  return MergeImpl(hmpi);
226 }
virtual G4bool MergeImpl(tools::histo::hmpi *hmpi)=0
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MergeImpl()

virtual G4bool G4VAnalysisManager::MergeImpl ( tools::histo::hmpi *  hmpi)
protectedpure virtual

Implemented in G4ToolsAnalysisManager.

Here is the caller graph for this function:

◆ OpenFile()

G4bool G4VAnalysisManager::OpenFile ( const G4String fileName = "")

Definition at line 182 of file G4VAnalysisManager.cc.

183 {
184  if ( fileName != "" ) {
185  return OpenFileImpl(fileName);
186  }
187  else {
188  if ( fVFileManager->GetFileName() == "" ) {
189  G4ExceptionDescription description;
190  description
191  << "Cannot open file. File name is not defined.";
192  G4Exception("G4VFileManager::OpenFile()",
193  "Analysis_W001", JustWarning, description);
194  return false;
195  }
196  return OpenFileImpl(fVFileManager->GetFileName());
197  }
198 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
std::shared_ptr< G4VFileManager > fVFileManager
virtual G4bool OpenFileImpl(const G4String &fileName)=0
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
Here is the call graph for this function:
Here is the caller graph for this function:

◆ OpenFileImpl()

virtual G4bool G4VAnalysisManager::OpenFileImpl ( const G4String fileName)
protectedpure virtual

Implemented in G4RootAnalysisManager, G4CsvAnalysisManager, and G4XmlAnalysisManager.

Here is the caller graph for this function:

◆ Plot()

G4bool G4VAnalysisManager::Plot ( )

Definition at line 229 of file G4VAnalysisManager.cc.

230 {
231  return PlotImpl();
232 }
virtual G4bool PlotImpl()=0
Here is the call graph for this function:

◆ PlotImpl()

virtual G4bool G4VAnalysisManager::PlotImpl ( )
protectedpure virtual

Implemented in G4ToolsAnalysisManager.

Here is the caller graph for this function:

◆ ScaleH1()

G4bool G4VAnalysisManager::ScaleH1 ( G4int  id,
G4double  factor 
)

Definition at line 517 of file G4VAnalysisManager.cc.

518 {
519  return fVH1Manager->ScaleH1(id, factor);
520 }
std::unique_ptr< G4VH1Manager > fVH1Manager
static const G4double factor
Here is the caller graph for this function:

◆ ScaleH2()

G4bool G4VAnalysisManager::ScaleH2 ( G4int  id,
G4double  factor 
)

Definition at line 523 of file G4VAnalysisManager.cc.

524 {
525  return fVH2Manager->ScaleH2(id, factor);
526 }
std::unique_ptr< G4VH2Manager > fVH2Manager
static const G4double factor
Here is the caller graph for this function:

◆ ScaleH3()

G4bool G4VAnalysisManager::ScaleH3 ( G4int  id,
G4double  factor 
)

Definition at line 529 of file G4VAnalysisManager.cc.

530 {
531  return fVH3Manager->ScaleH3(id, factor);
532 }
static const G4double factor
std::unique_ptr< G4VH3Manager > fVH3Manager

◆ ScaleP1()

G4bool G4VAnalysisManager::ScaleP1 ( G4int  id,
G4double  factor 
)

Definition at line 685 of file G4VAnalysisManager.cc.

686 {
687  return fVP1Manager->ScaleP1(id, factor);
688 }
std::unique_ptr< G4VP1Manager > fVP1Manager
static const G4double factor

◆ ScaleP2()

G4bool G4VAnalysisManager::ScaleP2 ( G4int  id,
G4double  factor 
)

Definition at line 691 of file G4VAnalysisManager.cc.

692 {
693  return fVP2Manager->ScaleP2(id, factor);
694 }
std::unique_ptr< G4VP2Manager > fVP2Manager
static const G4double factor

◆ SetActivation()

void G4VAnalysisManager::SetActivation ( G4bool  activation)

Definition at line 919 of file G4VAnalysisManager.cc.

920 {
921  fState.SetIsActivation(activation);
922 }
void SetIsActivation(G4bool isActivation)
G4AnalysisManagerState fState
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCompressionLevel()

void G4VAnalysisManager::SetCompressionLevel ( G4int  level)

Definition at line 259 of file G4VAnalysisManager.cc.

260 {
262 }
void SetCompressionLevel(G4int level)
G4AnalysisManagerState fState
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFileManager()

void G4VAnalysisManager::SetFileManager ( std::shared_ptr< G4VFileManager fileManager)
protected

Definition at line 121 of file G4VAnalysisManager.cc.

122 {
123  fVFileManager = fileManager;
124 }
std::shared_ptr< G4VFileManager > fVFileManager
Here is the caller graph for this function:

◆ SetFileName()

G4bool G4VAnalysisManager::SetFileName ( const G4String fileName)

Definition at line 241 of file G4VAnalysisManager.cc.

242 {
243  return fVFileManager->SetFileName(fileName);
244 }
std::shared_ptr< G4VFileManager > fVFileManager
Here is the caller graph for this function:

◆ SetFirstH1Id()

G4bool G4VAnalysisManager::SetFirstH1Id ( G4int  firstId)

Definition at line 861 of file G4VAnalysisManager.cc.

862 {
863  return fH1HnManager->SetFirstId(firstId);
864 }
std::shared_ptr< G4HnManager > fH1HnManager
Here is the caller graph for this function:

◆ SetFirstH2Id()

G4bool G4VAnalysisManager::SetFirstH2Id ( G4int  firstId)

Definition at line 867 of file G4VAnalysisManager.cc.

868 {
869  return fH2HnManager->SetFirstId(firstId);
870 }
std::shared_ptr< G4HnManager > fH2HnManager
Here is the caller graph for this function:

◆ SetFirstH3Id()

G4bool G4VAnalysisManager::SetFirstH3Id ( G4int  firstId)

Definition at line 873 of file G4VAnalysisManager.cc.

874 {
875  return fH3HnManager->SetFirstId(firstId);
876 }
std::shared_ptr< G4HnManager > fH3HnManager
Here is the caller graph for this function:

◆ SetFirstHistoId()

G4bool G4VAnalysisManager::SetFirstHistoId ( G4int  firstId)

Definition at line 844 of file G4VAnalysisManager.cc.

845 {
846  G4bool finalResult = true;
847 
848  G4bool result = SetFirstH1Id(firstId);
849  finalResult = finalResult && result;
850 
851  result = SetFirstH2Id(firstId);
852  finalResult = finalResult && result;
853 
854  result = SetFirstH3Id(firstId);
855  finalResult = finalResult && result;
856 
857  return finalResult;
858 }
G4bool SetFirstH1Id(G4int firstId)
bool G4bool
Definition: G4Types.hh:79
G4bool SetFirstH3Id(G4int firstId)
G4bool SetFirstH2Id(G4int firstId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetFirstNtupleColumnId()

G4bool G4VAnalysisManager::SetFirstNtupleColumnId ( G4int  firstId)

Definition at line 911 of file G4VAnalysisManager.cc.

912 {
913  return fVNtupleManager->SetFirstNtupleColumnId(firstId);
914 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ SetFirstNtupleId()

G4bool G4VAnalysisManager::SetFirstNtupleId ( G4int  firstId)

Definition at line 905 of file G4VAnalysisManager.cc.

906 {
907  return fVNtupleManager->SetFirstId(firstId);
908 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
Here is the caller graph for this function:

◆ SetFirstP1Id()

G4bool G4VAnalysisManager::SetFirstP1Id ( G4int  firstId)

Definition at line 893 of file G4VAnalysisManager.cc.

894 {
895  return fP1HnManager->SetFirstId(firstId);
896 }
std::shared_ptr< G4HnManager > fP1HnManager
Here is the caller graph for this function:

◆ SetFirstP2Id()

G4bool G4VAnalysisManager::SetFirstP2Id ( G4int  firstId)

Definition at line 899 of file G4VAnalysisManager.cc.

900 {
901  return fP2HnManager->SetFirstId(firstId);
902 }
std::shared_ptr< G4HnManager > fP2HnManager
Here is the caller graph for this function:

◆ SetFirstProfileId()

G4bool G4VAnalysisManager::SetFirstProfileId ( G4int  firstId)

Definition at line 879 of file G4VAnalysisManager.cc.

880 {
881  G4bool finalResult = true;
882 
883  G4bool result = SetFirstP1Id(firstId);
884  finalResult = finalResult && result;
885 
886  result = SetFirstP2Id(firstId);
887  finalResult = finalResult && result;
888 
889  return finalResult;
890 }
bool G4bool
Definition: G4Types.hh:79
G4bool SetFirstP1Id(G4int firstId)
G4bool SetFirstP2Id(G4int firstId)
Here is the call graph for this function:

◆ SetH1() [1/2]

G4bool G4VAnalysisManager::SetH1 ( G4int  id,
G4int  nbins,
G4double  xmin,
G4double  xmax,
const G4String unitName = "none",
const G4String fcnName = "none",
const G4String binSchemeName = "linear" 
)

Definition at line 412 of file G4VAnalysisManager.cc.

416 {
417  if ( ! CheckNbins(nbins) ) return kInvalidId;
418  if ( ! CheckMinMax(xmin, xmax, fcnName, binSchemeName) ) return kInvalidId;
419 
420  return fVH1Manager->SetH1(id, nbins, xmin, xmax, unitName, fcnName, binSchemeName);
421 }
std::unique_ptr< G4VH1Manager > fVH1Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH1() [2/2]

G4bool G4VAnalysisManager::SetH1 ( G4int  id,
const std::vector< G4double > &  edges,
const G4String unitName = "none",
const G4String fcnName = "none" 
)

Definition at line 424 of file G4VAnalysisManager.cc.

427 {
428  if ( ! CheckEdges(edges) ) return kInvalidId;
429 
430  return fVH1Manager->SetH1(id, edges, unitName, fcnName);
431 }
std::unique_ptr< G4VH1Manager > fVH1Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ SetH1Activation() [1/2]

void G4VAnalysisManager::SetH1Activation ( G4bool  activation)

Definition at line 1067 of file G4VAnalysisManager.cc.

1068 {
1069 // Set activation to all H1 objects
1070 
1071  fH1HnManager->SetActivation(activation);
1072 }
std::shared_ptr< G4HnManager > fH1HnManager

◆ SetH1Activation() [2/2]

void G4VAnalysisManager::SetH1Activation ( G4int  id,
G4bool  activation 
)

Definition at line 1059 of file G4VAnalysisManager.cc.

1060 {
1061 // Set activation to a given H1 object
1062 
1063  fH1HnManager->SetActivation(id, activation);
1064 }
std::shared_ptr< G4HnManager > fH1HnManager

◆ SetH1Ascii()

void G4VAnalysisManager::SetH1Ascii ( G4int  id,
G4bool  ascii 
)

Definition at line 1075 of file G4VAnalysisManager.cc.

1076 {
1077  fH1HnManager->SetAscii(id, ascii);
1078 }
std::shared_ptr< G4HnManager > fH1HnManager
Here is the caller graph for this function:

◆ SetH1Manager()

void G4VAnalysisManager::SetH1Manager ( G4VH1Manager h1Manager)
protected

Definition at line 75 of file G4VAnalysisManager.cc.

76 {
77  fVH1Manager.reset(h1Manager);
78  fH1HnManager = h1Manager->GetHnManager();
79  fMessenger->SetH1HnManager(*fH1HnManager);
80 }
std::shared_ptr< G4HnManager > fH1HnManager
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
std::unique_ptr< G4VH1Manager > fVH1Manager
std::unique_ptr< G4AnalysisMessenger > fMessenger
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH1Plotting()

void G4VAnalysisManager::SetH1Plotting ( G4int  id,
G4bool  plotting 
)

Definition at line 1081 of file G4VAnalysisManager.cc.

1082 {
1083  fH1HnManager->SetPlotting(id, plotting);
1084 }
std::shared_ptr< G4HnManager > fH1HnManager

◆ SetH1Title()

G4bool G4VAnalysisManager::SetH1Title ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH1XAxisTitle()

G4bool G4VAnalysisManager::SetH1XAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH1YAxisTitle()

G4bool G4VAnalysisManager::SetH1YAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH2() [1/2]

G4bool G4VAnalysisManager::SetH2 ( G4int  id,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear" 
)

Definition at line 434 of file G4VAnalysisManager.cc.

441 {
442  if ( ! CheckNbins(nxbins) ) return kInvalidId;
443  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
444 
445  if ( ! CheckNbins(nybins) ) return kInvalidId;
446  if ( ! CheckMinMax(ymin, ymax, yfcnName, ybinSchemeName) ) return kInvalidId;
447 
448  return fVH2Manager->SetH2(id, nxbins, xmin, xmax, nybins, ymin, ymax,
449  xunitName, yunitName, xfcnName, yfcnName,
450  xbinSchemeName, ybinSchemeName);
451 }
std::unique_ptr< G4VH2Manager > fVH2Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH2() [2/2]

G4bool G4VAnalysisManager::SetH2 ( G4int  id,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none" 
)

Definition at line 454 of file G4VAnalysisManager.cc.

459 {
460  if ( ! CheckEdges(xedges) ) return kInvalidId;
461  if ( ! CheckEdges(yedges) ) return kInvalidId;
462 
463  return fVH2Manager->SetH2(id, xedges, yedges,
464  xunitName, yunitName, xfcnName, yfcnName);
465 }
std::unique_ptr< G4VH2Manager > fVH2Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ SetH2Activation() [1/2]

void G4VAnalysisManager::SetH2Activation ( G4bool  activation)

Definition at line 1095 of file G4VAnalysisManager.cc.

1096 {
1097 // Set activation to all H2 objects
1098 
1099  fH2HnManager->SetActivation(activation);
1100 }
std::shared_ptr< G4HnManager > fH2HnManager

◆ SetH2Activation() [2/2]

void G4VAnalysisManager::SetH2Activation ( G4int  id,
G4bool  activation 
)

Definition at line 1087 of file G4VAnalysisManager.cc.

1088 {
1089 // Set activation to a given H2 object
1090 
1091  fH2HnManager->SetActivation(id, activation);
1092 }
std::shared_ptr< G4HnManager > fH2HnManager

◆ SetH2Ascii()

void G4VAnalysisManager::SetH2Ascii ( G4int  id,
G4bool  ascii 
)

Definition at line 1103 of file G4VAnalysisManager.cc.

1104 {
1105  fH2HnManager->SetAscii(id, ascii);
1106 }
std::shared_ptr< G4HnManager > fH2HnManager

◆ SetH2Manager()

void G4VAnalysisManager::SetH2Manager ( G4VH2Manager h2Manager)
protected

Definition at line 83 of file G4VAnalysisManager.cc.

84 {
85  fVH2Manager.reset(h2Manager);
86  fH2HnManager = h2Manager->GetHnManager();
87  fMessenger->SetH2HnManager(*fH2HnManager);
88 }
std::unique_ptr< G4VH2Manager > fVH2Manager
std::unique_ptr< G4AnalysisMessenger > fMessenger
std::shared_ptr< G4HnManager > fH2HnManager
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH2Plotting()

void G4VAnalysisManager::SetH2Plotting ( G4int  id,
G4bool  plotting 
)

Definition at line 1109 of file G4VAnalysisManager.cc.

1110 {
1111  fH2HnManager->SetPlotting(id, plotting);
1112 }
std::shared_ptr< G4HnManager > fH2HnManager

◆ SetH2Title()

G4bool G4VAnalysisManager::SetH2Title ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH2XAxisTitle()

G4bool G4VAnalysisManager::SetH2XAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH2YAxisTitle()

G4bool G4VAnalysisManager::SetH2YAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH2ZAxisTitle()

G4bool G4VAnalysisManager::SetH2ZAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH3() [1/2]

G4bool G4VAnalysisManager::SetH3 ( G4int  id,
G4int  nxbins,
G4double  xmin,
G4double  xmax,
G4int  nzbins,
G4double  zmin,
G4double  zmax,
G4int  nybins,
G4double  ymin,
G4double  ymax,
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 xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear",
const G4String zbinSchemeName = "linear" 
)

Definition at line 468 of file G4VAnalysisManager.cc.

479 {
480  if ( ! CheckNbins(nxbins) ) return kInvalidId;
481  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
482 
483  if ( ! CheckNbins(nybins) ) return kInvalidId;
484  if ( ! CheckMinMax(ymin, ymax, yfcnName, ybinSchemeName) ) return kInvalidId;
485 
486  if ( ! CheckNbins(nzbins) ) return kInvalidId;
487  if ( ! CheckMinMax(zmin, zmax, zfcnName, zbinSchemeName) ) return kInvalidId;
488 
489  return fVH3Manager->SetH3(id,
490  nxbins, xmin, xmax, nybins, ymin, ymax,
491  nzbins, zmin, zmax,
492  xunitName, yunitName, zunitName,
493  xfcnName, yfcnName, zfcnName,
494  xbinSchemeName, ybinSchemeName, zbinSchemeName);
495 }
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
std::unique_ptr< G4VH3Manager > fVH3Manager
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH3() [2/2]

G4bool G4VAnalysisManager::SetH3 ( G4int  id,
const std::vector< G4double > &  xedges,
const std::vector< G4double > &  yedges,
const std::vector< G4double > &  zedges,
const G4String xunitName = "none",
const G4String yunitName = "none",
const G4String zunitName = "none",
const G4String xfcnName = "none",
const G4String yfcnName = "none",
const G4String zfcnName = "none" 
)

Definition at line 498 of file G4VAnalysisManager.cc.

506 {
507  if ( ! CheckEdges(xedges) ) return kInvalidId;
508  if ( ! CheckEdges(yedges) ) return kInvalidId;
509  if ( ! CheckEdges(zedges) ) return kInvalidId;
510 
511  return fVH3Manager->SetH3(id, xedges, yedges, zedges,
512  xunitName, yunitName, zunitName,
513  xfcnName, yfcnName, zfcnName);
514 }
const G4int kInvalidId
std::unique_ptr< G4VH3Manager > fVH3Manager
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ SetH3Activation() [1/2]

void G4VAnalysisManager::SetH3Activation ( G4bool  activation)

Definition at line 1123 of file G4VAnalysisManager.cc.

1124 {
1125 // Set activation to all H3 objects
1126 
1127  fH3HnManager->SetActivation(activation);
1128 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ SetH3Activation() [2/2]

void G4VAnalysisManager::SetH3Activation ( G4int  id,
G4bool  activation 
)

Definition at line 1115 of file G4VAnalysisManager.cc.

1116 {
1117 // Set activation to a given H3 object
1118 
1119  fH3HnManager->SetActivation(id, activation);
1120 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ SetH3Ascii()

void G4VAnalysisManager::SetH3Ascii ( G4int  id,
G4bool  ascii 
)

Definition at line 1131 of file G4VAnalysisManager.cc.

1132 {
1133  fH3HnManager->SetAscii(id, ascii);
1134 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ SetH3Manager()

void G4VAnalysisManager::SetH3Manager ( G4VH3Manager h3Manager)
protected

Definition at line 91 of file G4VAnalysisManager.cc.

92 {
93  fVH3Manager.reset(h3Manager);
94  fH3HnManager = h3Manager->GetHnManager();
95  fMessenger->SetH3HnManager(*fH3HnManager);
96 }
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
std::shared_ptr< G4HnManager > fH3HnManager
std::unique_ptr< G4AnalysisMessenger > fMessenger
std::unique_ptr< G4VH3Manager > fVH3Manager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetH3Plotting()

void G4VAnalysisManager::SetH3Plotting ( G4int  id,
G4bool  plotting 
)

Definition at line 1137 of file G4VAnalysisManager.cc.

1138 {
1139  fH3HnManager->SetPlotting(id, plotting);
1140 }
std::shared_ptr< G4HnManager > fH3HnManager

◆ SetH3Title()

G4bool G4VAnalysisManager::SetH3Title ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH3XAxisTitle()

G4bool G4VAnalysisManager::SetH3XAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH3YAxisTitle()

G4bool G4VAnalysisManager::SetH3YAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetH3ZAxisTitle()

G4bool G4VAnalysisManager::SetH3ZAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetHistoDirectoryName()

G4bool G4VAnalysisManager::SetHistoDirectoryName ( const G4String dirName)

Definition at line 247 of file G4VAnalysisManager.cc.

248 {
249  return fVFileManager->SetHistoDirectoryName(dirName);
250 }
std::shared_ptr< G4VFileManager > fVFileManager
Here is the caller graph for this function:

◆ SetNtupleActivation() [1/2]

void G4VAnalysisManager::SetNtupleActivation ( G4bool  activation)

Definition at line 1207 of file G4VAnalysisManager.cc.

1208 {
1209 // Set activation to all P2 objects
1210 
1211  fVNtupleManager->SetActivation(activation);
1212 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
Here is the caller graph for this function:

◆ SetNtupleActivation() [2/2]

void G4VAnalysisManager::SetNtupleActivation ( G4int  id,
G4bool  activation 
)

Definition at line 1199 of file G4VAnalysisManager.cc.

1200 {
1201 // Set activation to a given P2 object
1202 
1203  fVNtupleManager->SetActivation(id, activation);
1204 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager

◆ SetNtupleDirectoryName()

G4bool G4VAnalysisManager::SetNtupleDirectoryName ( const G4String dirName)

Definition at line 253 of file G4VAnalysisManager.cc.

254 {
255  return fVFileManager->SetNtupleDirectoryName(dirName);
256 }
std::shared_ptr< G4VFileManager > fVFileManager
Here is the caller graph for this function:

◆ SetNtupleManager()

void G4VAnalysisManager::SetNtupleManager ( G4VNtupleManager ntupleManager)
protected

Definition at line 115 of file G4VAnalysisManager.cc.

116 {
117  fVNtupleManager.reset(ntupleManager);
118 }
std::unique_ptr< G4VNtupleManager > fVNtupleManager
Here is the caller graph for this function:

◆ SetP1() [1/2]

G4bool G4VAnalysisManager::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 xbinSchemeName = "linear" 
)

Definition at line 612 of file G4VAnalysisManager.cc.

618 {
619  if ( ! CheckNbins(nbins) ) return kInvalidId;
620  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
621 
622  return fVP1Manager->SetP1(id, nbins, xmin, xmax, ymin, ymax,
623  xunitName, yunitName, xfcnName, yfcnName,
624  xbinSchemeName);
625 }
std::unique_ptr< G4VP1Manager > fVP1Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetP1() [2/2]

G4bool G4VAnalysisManager::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" 
)

Definition at line 628 of file G4VAnalysisManager.cc.

633 {
634  if ( ! CheckEdges(edges) ) return kInvalidId;
635 
636  return fVP1Manager->SetP1(id, edges, ymin, ymax,
637  xunitName, yunitName, xfcnName, yfcnName);
638 }
std::unique_ptr< G4VP1Manager > fVP1Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ SetP1Activation() [1/2]

void G4VAnalysisManager::SetP1Activation ( G4bool  activation)

Definition at line 1151 of file G4VAnalysisManager.cc.

1152 {
1153 // Set activation to all P1 objects
1154 
1155  fP1HnManager->SetActivation(activation);
1156 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ SetP1Activation() [2/2]

void G4VAnalysisManager::SetP1Activation ( G4int  id,
G4bool  activation 
)

Definition at line 1143 of file G4VAnalysisManager.cc.

1144 {
1145 // Set activation to a given P1 object
1146 
1147  fP1HnManager->SetActivation(id, activation);
1148 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ SetP1Ascii()

void G4VAnalysisManager::SetP1Ascii ( G4int  id,
G4bool  ascii 
)

Definition at line 1159 of file G4VAnalysisManager.cc.

1160 {
1161  fP1HnManager->SetAscii(id, ascii);
1162 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ SetP1Manager()

void G4VAnalysisManager::SetP1Manager ( G4VP1Manager p1Manager)
protected

Definition at line 99 of file G4VAnalysisManager.cc.

100 {
101  fVP1Manager.reset(p1Manager);
102  fP1HnManager = p1Manager->GetHnManager();
103  fMessenger->SetP1HnManager(*fP1HnManager);
104 }
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
std::unique_ptr< G4VP1Manager > fVP1Manager
std::unique_ptr< G4AnalysisMessenger > fMessenger
std::shared_ptr< G4HnManager > fP1HnManager
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetP1Plotting()

void G4VAnalysisManager::SetP1Plotting ( G4int  id,
G4bool  plotting 
)

Definition at line 1165 of file G4VAnalysisManager.cc.

1166 {
1167  fP1HnManager->SetPlotting(id, plotting);
1168 }
std::shared_ptr< G4HnManager > fP1HnManager

◆ SetP1Title()

G4bool G4VAnalysisManager::SetP1Title ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP1XAxisTitle()

G4bool G4VAnalysisManager::SetP1XAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP1YAxisTitle()

G4bool G4VAnalysisManager::SetP1YAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP2() [1/2]

G4bool G4VAnalysisManager::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 xbinSchemeName = "linear",
const G4String ybinSchemeName = "linear" 
)

Definition at line 641 of file G4VAnalysisManager.cc.

651 {
652  if ( ! CheckNbins(nxbins) ) return kInvalidId;
653  if ( ! CheckNbins(nybins) ) return kInvalidId;
654  if ( ! CheckMinMax(xmin, xmax, xfcnName, xbinSchemeName) ) return kInvalidId;
655  if ( ! CheckMinMax(ymin, ymax, yfcnName, ybinSchemeName) ) return kInvalidId;
656 
657  return fVP2Manager->SetP2(id, nxbins, xmin, xmax, nybins, ymin, ymax,
658  zmin, zmax,
659  xunitName, yunitName, zunitName,
660  xfcnName, yfcnName, zfcnName,
661  xbinSchemeName, ybinSchemeName);
662 }
std::unique_ptr< G4VP2Manager > fVP2Manager
G4bool CheckNbins(G4int nbins)
const G4int kInvalidId
G4bool CheckMinMax(G4double xmin, G4double xmax, const G4String &fcnName="none", const G4String &binSchemeName="linear")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetP2() [2/2]

G4bool G4VAnalysisManager::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" 
)

Definition at line 665 of file G4VAnalysisManager.cc.

675 {
676  if ( ! CheckEdges(xedges) ) return kInvalidId;
677  if ( ! CheckEdges(yedges) ) return kInvalidId;
678 
679  return fVP2Manager->SetP2(id, xedges, yedges, zmin, zmax,
680  xunitName, yunitName, zunitName,
681  xfcnName, yfcnName, zfcnName);
682 }
std::unique_ptr< G4VP2Manager > fVP2Manager
const G4int kInvalidId
G4bool CheckEdges(const std::vector< G4double > &edges)
Here is the call graph for this function:

◆ SetP2Activation() [1/2]

void G4VAnalysisManager::SetP2Activation ( G4bool  activation)

Definition at line 1179 of file G4VAnalysisManager.cc.

1180 {
1181 // Set activation to all P2 objects
1182 
1183  fP2HnManager->SetActivation(activation);
1184 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ SetP2Activation() [2/2]

void G4VAnalysisManager::SetP2Activation ( G4int  id,
G4bool  activation 
)

Definition at line 1171 of file G4VAnalysisManager.cc.

1172 {
1173 // Set activation to a given P2 object
1174 
1175  fP2HnManager->SetActivation(id, activation);
1176 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ SetP2Ascii()

void G4VAnalysisManager::SetP2Ascii ( G4int  id,
G4bool  ascii 
)

Definition at line 1187 of file G4VAnalysisManager.cc.

1188 {
1189  fP2HnManager->SetAscii(id, ascii);
1190 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ SetP2Manager()

void G4VAnalysisManager::SetP2Manager ( G4VP2Manager p2Manager)
protected

Definition at line 107 of file G4VAnalysisManager.cc.

108 {
109  fVP2Manager.reset(p2Manager);
110  fP2HnManager = p2Manager->GetHnManager();
111  fMessenger->SetP2HnManager(*fP2HnManager);
112 }
std::unique_ptr< G4VP2Manager > fVP2Manager
virtual std::shared_ptr< G4HnManager > GetHnManager()=0
std::shared_ptr< G4HnManager > fP2HnManager
std::unique_ptr< G4AnalysisMessenger > fMessenger
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetP2Plotting()

void G4VAnalysisManager::SetP2Plotting ( G4int  id,
G4bool  plotting 
)

Definition at line 1193 of file G4VAnalysisManager.cc.

1194 {
1195  fP2HnManager->SetPlotting(id, plotting);
1196 }
std::shared_ptr< G4HnManager > fP2HnManager

◆ SetP2Title()

G4bool G4VAnalysisManager::SetP2Title ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP2XAxisTitle()

G4bool G4VAnalysisManager::SetP2XAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP2YAxisTitle()

G4bool G4VAnalysisManager::SetP2YAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetP2ZAxisTitle()

G4bool G4VAnalysisManager::SetP2ZAxisTitle ( G4int  id,
const G4String title 
)
Here is the caller graph for this function:

◆ SetVerboseLevel()

void G4VAnalysisManager::SetVerboseLevel ( G4int  verboseLevel)

Definition at line 1217 of file G4VAnalysisManager.cc.

1218 {
1219  fState.SetVerboseLevel(verboseLevel);
1220 }
G4AnalysisManagerState fState
void SetVerboseLevel(G4int verboseLevel)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write()

G4bool G4VAnalysisManager::Write ( )

Definition at line 201 of file G4VAnalysisManager.cc.

202 {
203  G4bool finalResult = true;
204 
205  G4bool result = WriteImpl();
206  finalResult = finalResult && result;
207 
208  if ( IsPlotting() ) {
209  result = PlotImpl();
210  finalResult = finalResult && result;
211  }
212 
213  return finalResult;
214 }
virtual G4bool WriteImpl()=0
G4bool IsPlotting() const
virtual G4bool PlotImpl()=0
bool G4bool
Definition: G4Types.hh:79
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteAscii()

G4bool G4VAnalysisManager::WriteAscii ( const G4String fileName)
protected

Definition at line 127 of file G4VAnalysisManager.cc.

128 {
129  G4bool finalResult = true;
130 
131  // Replace or add file extension .ascii
132  G4String name(fileName);
133  if ( name.find(".") != std::string::npos ) {
134  name.erase(name.find("."), name.length());
135  }
136  name.append(".ascii");
137 
138 #ifdef G4VERBOSE
139  if ( fState.GetVerboseL3() )
140  fState.GetVerboseL3()->Message("write ASCII", "file", name);
141 #endif
142 
143  std::ofstream output(name, std::ios::out);
144  if ( ! output ) {
145  G4ExceptionDescription description;
146  description
147  << "Cannot open file. File name is not defined.";
148  G4Exception("G4VAnalysisManager::WriteAscii()",
149  "Analysis_W001", JustWarning, description);
150  return false;
151  }
152  output.setf( std::ios::scientific, std::ios::floatfield );
153 
154  G4bool result = fVH1Manager->WriteOnAscii(output);
155  finalResult = finalResult && result;
156 
157  result = fVH2Manager->WriteOnAscii(output);
158  finalResult = finalResult && result;
159 
160  result = fVH3Manager->WriteOnAscii(output);
161  finalResult = finalResult && result;
162 
163  //result = fVP1Manager->WriteOnAscii(output);
164  //finalResult = finalResult && result;
165 
166  //result = fVP2Manager->WriteOnAscii(output);
167  //finalResult = finalResult && result;
168 
169 #ifdef G4VERBOSE
170  if ( fState.GetVerboseL1() )
171  fState.GetVerboseL1()->Message("write ASCII", "file", name, result);
172 #endif
173 
174  return finalResult;
175 }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
G4String name
Definition: TRTMaterials.hh:40
std::unique_ptr< G4VH2Manager > fVH2Manager
bool G4bool
Definition: G4Types.hh:79
std::unique_ptr< G4VH1Manager > fVH1Manager
const G4AnalysisVerbose * GetVerboseL1() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4String & append(const G4String &)
const G4AnalysisVerbose * GetVerboseL3() const
G4AnalysisManagerState fState
std::unique_ptr< G4VH3Manager > fVH3Manager
void Message(const G4String &action, const G4String &object, const G4String &objectName, G4bool success=true) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteImpl()

virtual G4bool G4VAnalysisManager::WriteImpl ( )
protectedpure virtual

Implemented in G4RootAnalysisManager, G4CsvAnalysisManager, and G4XmlAnalysisManager.

Here is the caller graph for this function:

Member Data Documentation

◆ fH1HnManager

std::shared_ptr<G4HnManager> G4VAnalysisManager::fH1HnManager
private

Definition at line 614 of file G4VAnalysisManager.hh.

◆ fH2HnManager

std::shared_ptr<G4HnManager> G4VAnalysisManager::fH2HnManager
private

Definition at line 615 of file G4VAnalysisManager.hh.

◆ fH3HnManager

std::shared_ptr<G4HnManager> G4VAnalysisManager::fH3HnManager
private

Definition at line 616 of file G4VAnalysisManager.hh.

◆ fMessenger

std::unique_ptr<G4AnalysisMessenger> G4VAnalysisManager::fMessenger
private

Definition at line 613 of file G4VAnalysisManager.hh.

◆ fP1HnManager

std::shared_ptr<G4HnManager> G4VAnalysisManager::fP1HnManager
private

Definition at line 617 of file G4VAnalysisManager.hh.

◆ fP2HnManager

std::shared_ptr<G4HnManager> G4VAnalysisManager::fP2HnManager
private

Definition at line 618 of file G4VAnalysisManager.hh.

◆ fState

G4AnalysisManagerState G4VAnalysisManager::fState
protected

Definition at line 608 of file G4VAnalysisManager.hh.

◆ fVFileManager

std::shared_ptr<G4VFileManager> G4VAnalysisManager::fVFileManager
protected

Definition at line 609 of file G4VAnalysisManager.hh.

◆ fVH1Manager

std::unique_ptr<G4VH1Manager> G4VAnalysisManager::fVH1Manager
private

Definition at line 619 of file G4VAnalysisManager.hh.

◆ fVH2Manager

std::unique_ptr<G4VH2Manager> G4VAnalysisManager::fVH2Manager
private

Definition at line 620 of file G4VAnalysisManager.hh.

◆ fVH3Manager

std::unique_ptr<G4VH3Manager> G4VAnalysisManager::fVH3Manager
private

Definition at line 621 of file G4VAnalysisManager.hh.

◆ fVNtupleManager

std::unique_ptr<G4VNtupleManager> G4VAnalysisManager::fVNtupleManager
private

Definition at line 624 of file G4VAnalysisManager.hh.

◆ fVP1Manager

std::unique_ptr<G4VP1Manager> G4VAnalysisManager::fVP1Manager
private

Definition at line 622 of file G4VAnalysisManager.hh.

◆ fVP2Manager

std::unique_ptr<G4VP2Manager> G4VAnalysisManager::fVP2Manager
private

Definition at line 623 of file G4VAnalysisManager.hh.


The documentation for this class was generated from the following files: