Geant4  10.01
G4CsvAnalysisManager Class Reference

#include <G4CsvAnalysisManager.hh>

+ Inheritance diagram for G4CsvAnalysisManager:
+ Collaboration diagram for G4CsvAnalysisManager:

Public Member Functions

 G4CsvAnalysisManager (G4bool isMaster=true)
 
 ~G4CsvAnalysisManager ()
 
tools::histo::h1d * GetH1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
tools::histo::h2d * GetH2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
tools::histo::h3d * GetH3 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
tools::histo::p1d * GetP1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
tools::histo::p2d * GetP2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
tools::wcsv::ntuple * GetNtuple () const
 
tools::wcsv::ntuple * GetNtuple (G4int ntupleId) const
 
std::vector< tools::histo::h1d * >
::iterator 
BeginH1 ()
 
std::vector< tools::histo::h1d * >
::iterator 
EndH1 ()
 
std::vector< tools::histo::h1d * >
::const_iterator 
BeginConstH1 () const
 
std::vector< tools::histo::h1d * >
::const_iterator 
EndConstH1 () const
 
std::vector< tools::histo::h2d * >
::iterator 
BeginH2 ()
 
std::vector< tools::histo::h2d * >
::iterator 
EndH2 ()
 
std::vector< tools::histo::h2d * >
::const_iterator 
BeginConstH2 () const
 
std::vector< tools::histo::h2d * >
::const_iterator 
EndConstH2 () const
 
std::vector< tools::histo::h3d * >
::iterator 
BeginH3 ()
 
std::vector< tools::histo::h3d * >
::iterator 
EndH3 ()
 
std::vector< tools::histo::h3d * >
::const_iterator 
BeginConstH3 () const
 
std::vector< tools::histo::h3d * >
::const_iterator 
EndConstH3 () const
 
std::vector< tools::histo::p1d * >
::iterator 
BeginP1 ()
 
std::vector< tools::histo::p1d * >
::iterator 
EndP1 ()
 
std::vector< tools::histo::p1d * >
::const_iterator 
BeginConstP1 () const
 
std::vector< tools::histo::p1d * >
::const_iterator 
EndConstP1 () const
 
std::vector< tools::histo::p2d * >
::iterator 
BeginP2 ()
 
std::vector< tools::histo::p2d * >
::iterator 
EndP2 ()
 
std::vector< tools::histo::p2d * >
::const_iterator 
BeginConstP2 () const
 
std::vector< tools::histo::p2d * >
::const_iterator 
EndConstP2 () const
 
std::vector
< tools::wcsv::ntuple * >
::iterator 
BeginNtuple ()
 
std::vector
< tools::wcsv::ntuple * >
::iterator 
EndNtuple ()
 
std::vector
< tools::wcsv::ntuple * >
::const_iterator 
BeginConstNtuple () const
 
std::vector
< tools::wcsv::ntuple * >
::const_iterator 
EndConstNtuple () const
 
void SetIsCommentedHeader (G4bool isCommentedHeader)
 
void SetIsHippoHeader (G4bool isHippoHeader)
 
- Public Member Functions inherited from G4VAnalysisManager
 G4VAnalysisManager (const G4String &type, G4bool isMaster)
 
virtual ~G4VAnalysisManager ()
 
G4bool OpenFile (const G4String &fileName="")
 
G4bool Write ()
 
G4bool CloseFile ()
 
G4bool SetFileName (const G4String &fileName)
 
G4bool SetHistoDirectoryName (const G4String &dirName)
 
G4bool SetNtupleDirectoryName (const G4String &dirName)
 
G4String GetFileName () const
 
G4String GetHistoDirectoryName () const
 
G4String GetNtupleDirectoryName () 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
 
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 SetH2Activation (G4bool activation)
 
void SetH2Activation (G4int id, G4bool activation)
 
void SetH2Ascii (G4int id, G4bool ascii)
 
void SetH3Activation (G4bool activation)
 
void SetH3Activation (G4int id, G4bool activation)
 
void SetH3Ascii (G4int id, G4bool ascii)
 
void SetP1Activation (G4bool activation)
 
void SetP1Activation (G4int id, G4bool activation)
 
void SetP1Ascii (G4int id, G4bool ascii)
 
void SetP2Activation (G4bool activation)
 
void SetP2Activation (G4int id, G4bool activation)
 
void SetP2Ascii (G4int id, G4bool ascii)
 
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
 
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
 
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
 
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
 
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 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
 

Static Public Member Functions

static G4CsvAnalysisManagerInstance ()
 

Protected Member Functions

virtual G4bool OpenFileImpl (const G4String &fileName)
 
virtual G4bool WriteImpl ()
 
virtual G4bool CloseFileImpl ()
 
- Protected Member Functions inherited from G4VAnalysisManager
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 (G4VFileManager *fileManager)
 
G4bool WriteAscii (const G4String &fileName)
 

Private Member Functions

G4bool WriteH1 ()
 
G4bool WriteH2 ()
 
G4bool WriteH3 ()
 
G4bool WriteP1 ()
 
G4bool WriteP2 ()
 
G4bool CloseNtupleFiles ()
 
G4bool Reset ()
 

Private Attributes

G4H1ToolsManagerfH1Manager
 
G4H2ToolsManagerfH2Manager
 
G4H3ToolsManagerfH3Manager
 
G4P1ToolsManagerfP1Manager
 
G4P2ToolsManagerfP2Manager
 
G4CsvNtupleManagerfNtupleManager
 
G4CsvFileManagerfFileManager
 

Static Private Attributes

static G4CsvAnalysisManagerfgMasterInstance = 0
 
static G4ThreadLocal
G4CsvAnalysisManager
fgInstance = 0
 

Additional Inherited Members

- Protected Attributes inherited from G4VAnalysisManager
G4AnalysisManagerState fState
 

Detailed Description

Definition at line 60 of file G4CsvAnalysisManager.hh.

Constructor & Destructor Documentation

G4CsvAnalysisManager::G4CsvAnalysisManager ( G4bool  isMaster = true)

Definition at line 78 of file G4CsvAnalysisManager.cc.

References FatalException, fFileManager, fgInstance, fgMasterInstance, fH1Manager, fH2Manager, fH3Manager, fNtupleManager, fP1Manager, fP2Manager, G4VAnalysisManager::fState, G4Exception(), G4CsvNtupleManager::SetFileManager(), G4VAnalysisManager::SetFileManager(), G4VAnalysisManager::SetH1Manager(), G4VAnalysisManager::SetH2Manager(), G4VAnalysisManager::SetH3Manager(), G4VAnalysisManager::SetNtupleManager(), G4VAnalysisManager::SetP1Manager(), and G4VAnalysisManager::SetP2Manager().

Referenced by Instance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4CsvAnalysisManager::~G4CsvAnalysisManager ( )

Definition at line 122 of file G4CsvAnalysisManager.cc.

References fgInstance, fgMasterInstance, G4VAnalysisManager::fState, and G4AnalysisManagerState::GetIsMaster().

+ Here is the call graph for this function:

Member Function Documentation

std::vector<tools::histo::h1d*>::const_iterator G4CsvAnalysisManager::BeginConstH1 ( ) const
std::vector<tools::histo::h2d*>::const_iterator G4CsvAnalysisManager::BeginConstH2 ( ) const
std::vector<tools::histo::h3d*>::const_iterator G4CsvAnalysisManager::BeginConstH3 ( ) const
std::vector<tools::wcsv::ntuple*>::const_iterator G4CsvAnalysisManager::BeginConstNtuple ( ) const
std::vector<tools::histo::p1d*>::const_iterator G4CsvAnalysisManager::BeginConstP1 ( ) const
std::vector<tools::histo::p2d*>::const_iterator G4CsvAnalysisManager::BeginConstP2 ( ) const
std::vector<tools::histo::h1d*>::iterator G4CsvAnalysisManager::BeginH1 ( )
std::vector<tools::histo::h2d*>::iterator G4CsvAnalysisManager::BeginH2 ( )
std::vector<tools::histo::h3d*>::iterator G4CsvAnalysisManager::BeginH3 ( )
std::vector<tools::wcsv::ntuple*>::iterator G4CsvAnalysisManager::BeginNtuple ( )
std::vector<tools::histo::p1d*>::iterator G4CsvAnalysisManager::BeginP1 ( )
std::vector<tools::histo::p2d*>::iterator G4CsvAnalysisManager::BeginP2 ( )
G4bool G4CsvAnalysisManager::CloseFileImpl ( )
protectedvirtual

Implements G4VAnalysisManager.

Definition at line 518 of file G4CsvAnalysisManager.cc.

References G4CsvFileManager::CloseFile(), CloseNtupleFiles(), fFileManager, G4VAnalysisManager::fState, G4Exception(), G4AnalysisManagerState::GetIsMaster(), G4Threading::IsMultithreadedApplication(), JustWarning, and Reset().

+ Here is the call graph for this function:

G4bool G4CsvAnalysisManager::CloseNtupleFiles ( )
private

Definition at line 133 of file G4CsvAnalysisManager.cc.

References G4CsvFileManager::CloseNtupleFile(), fFileManager, fNtupleManager, and G4CsvNtupleManager::GetNtupleDescriptionVector().

Referenced by CloseFileImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector<tools::histo::h1d*>::const_iterator G4CsvAnalysisManager::EndConstH1 ( ) const
std::vector<tools::histo::h2d*>::const_iterator G4CsvAnalysisManager::EndConstH2 ( ) const
std::vector<tools::histo::h3d*>::const_iterator G4CsvAnalysisManager::EndConstH3 ( ) const
std::vector<tools::wcsv::ntuple*>::const_iterator G4CsvAnalysisManager::EndConstNtuple ( ) const
std::vector<tools::histo::p1d*>::const_iterator G4CsvAnalysisManager::EndConstP1 ( ) const
std::vector<tools::histo::p2d*>::const_iterator G4CsvAnalysisManager::EndConstP2 ( ) const
std::vector<tools::histo::h1d*>::iterator G4CsvAnalysisManager::EndH1 ( )
std::vector<tools::histo::h2d*>::iterator G4CsvAnalysisManager::EndH2 ( )
std::vector<tools::histo::h3d*>::iterator G4CsvAnalysisManager::EndH3 ( )
std::vector<tools::wcsv::ntuple*>::iterator G4CsvAnalysisManager::EndNtuple ( )
std::vector<tools::histo::p1d*>::iterator G4CsvAnalysisManager::EndP1 ( )
std::vector<tools::histo::p2d*>::iterator G4CsvAnalysisManager::EndP2 ( )
tools::histo::h1d* G4CsvAnalysisManager::GetH1 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
tools::histo::h2d* G4CsvAnalysisManager::GetH2 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
tools::histo::h3d* G4CsvAnalysisManager::GetH3 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
tools::wcsv::ntuple* G4CsvAnalysisManager::GetNtuple ( ) const
tools::wcsv::ntuple* G4CsvAnalysisManager::GetNtuple ( G4int  ntupleId) const
tools::histo::p1d* G4CsvAnalysisManager::GetP1 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
tools::histo::p2d* G4CsvAnalysisManager::GetP2 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
G4CsvAnalysisManager * G4CsvAnalysisManager::Instance ( void  )
static

Definition at line 67 of file G4CsvAnalysisManager.cc.

References fgInstance, G4CsvAnalysisManager(), and G4Threading::IsWorkerThread().

+ Here is the call graph for this function:

G4bool G4CsvAnalysisManager::OpenFileImpl ( const G4String fileName)
protectedvirtual

Implements G4VAnalysisManager.

Definition at line 433 of file G4CsvAnalysisManager.cc.

References G4CsvNtupleManager::CreateNtuplesFromBooking(), fFileManager, fNtupleManager, G4CsvFileManager::OpenFile(), and G4VFileManager::SetFileName().

+ Here is the call graph for this function:

G4bool G4CsvAnalysisManager::Reset ( )
private

Definition at line 405 of file G4CsvAnalysisManager.cc.

References fH1Manager, fH2Manager, fH3Manager, fNtupleManager, fP1Manager, fP2Manager, G4CsvNtupleManager::Reset(), G4P2ToolsManager::Reset(), G4H2ToolsManager::Reset(), G4H3ToolsManager::Reset(), G4P1ToolsManager::Reset(), and G4H1ToolsManager::Reset().

Referenced by CloseFileImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CsvAnalysisManager::SetIsCommentedHeader ( G4bool  isCommentedHeader)
void G4CsvAnalysisManager::SetIsHippoHeader ( G4bool  isHippoHeader)
G4bool G4CsvAnalysisManager::WriteH1 ( )
private

Definition at line 157 of file G4CsvAnalysisManager.cc.

References G4H1ToolsManager::AddH1Vector(), fFileManager, fgMasterInstance, fH1Manager, G4VAnalysisManager::fState, G4Exception(), G4HnInformation::GetActivation(), G4H1ToolsManager::GetH1Vector(), G4BaseFileManager::GetHnFileName(), G4H1ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4HnInformation::GetName(), G4AnalysisManagerState::GetVerboseL1(), G4Threading::IsWorkerThread(), JustWarning, G4VFileManager::LockHistoDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by WriteImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvAnalysisManager::WriteH2 ( )
private

Definition at line 207 of file G4CsvAnalysisManager.cc.

References G4H2ToolsManager::AddH2Vector(), fFileManager, fgMasterInstance, fH2Manager, G4VAnalysisManager::fState, G4Exception(), G4HnInformation::GetActivation(), G4H2ToolsManager::GetH2Vector(), G4BaseFileManager::GetHnFileName(), G4H2ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4HnInformation::GetName(), G4AnalysisManagerState::GetVerboseL1(), G4Threading::IsWorkerThread(), JustWarning, G4VFileManager::LockHistoDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by WriteImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvAnalysisManager::WriteH3 ( )
private

Definition at line 257 of file G4CsvAnalysisManager.cc.

References G4H3ToolsManager::AddH3Vector(), fFileManager, fgMasterInstance, fH3Manager, G4VAnalysisManager::fState, G4Exception(), G4HnInformation::GetActivation(), G4H3ToolsManager::GetH3Vector(), G4BaseFileManager::GetHnFileName(), G4H3ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4HnInformation::GetName(), G4AnalysisManagerState::GetVerboseL1(), G4Threading::IsWorkerThread(), JustWarning, G4VFileManager::LockHistoDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by WriteImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvAnalysisManager::WriteImpl ( )
protectedvirtual
G4bool G4CsvAnalysisManager::WriteP1 ( )
private

Definition at line 307 of file G4CsvAnalysisManager.cc.

References G4P1ToolsManager::AddP1Vector(), fFileManager, fgMasterInstance, fP1Manager, G4VAnalysisManager::fState, G4Exception(), G4HnInformation::GetActivation(), G4BaseFileManager::GetHnFileName(), G4P1ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4HnInformation::GetName(), G4P1ToolsManager::GetP1Vector(), G4AnalysisManagerState::GetVerboseL1(), G4Threading::IsWorkerThread(), JustWarning, G4VFileManager::LockProfileDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by WriteImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CsvAnalysisManager::WriteP2 ( )
private

Definition at line 356 of file G4CsvAnalysisManager.cc.

References G4P2ToolsManager::AddP2Vector(), fFileManager, fgMasterInstance, fP2Manager, G4VAnalysisManager::fState, G4Exception(), G4HnInformation::GetActivation(), G4BaseFileManager::GetHnFileName(), G4P2ToolsManager::GetHnVector(), G4AnalysisManagerState::GetIsActivation(), G4HnInformation::GetName(), G4P2ToolsManager::GetP2Vector(), G4AnalysisManagerState::GetVerboseL1(), G4Threading::IsWorkerThread(), JustWarning, G4VFileManager::LockProfileDirectoryName(), G4AnalysisVerbose::Message(), name, and G4TemplateAutoLock< M, L, U >::unlock().

Referenced by WriteImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4CsvFileManager* G4CsvAnalysisManager::fFileManager
private
G4ThreadLocal G4CsvAnalysisManager * G4CsvAnalysisManager::fgInstance = 0
staticprivate

Definition at line 129 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Instance(), and ~G4CsvAnalysisManager().

G4CsvAnalysisManager * G4CsvAnalysisManager::fgMasterInstance = 0
staticprivate
G4H1ToolsManager* G4CsvAnalysisManager::fH1Manager
private

Definition at line 143 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Reset(), WriteH1(), and WriteImpl().

G4H2ToolsManager* G4CsvAnalysisManager::fH2Manager
private

Definition at line 144 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Reset(), WriteH2(), and WriteImpl().

G4H3ToolsManager* G4CsvAnalysisManager::fH3Manager
private

Definition at line 145 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Reset(), WriteH3(), and WriteImpl().

G4CsvNtupleManager* G4CsvAnalysisManager::fNtupleManager
private
G4P1ToolsManager* G4CsvAnalysisManager::fP1Manager
private

Definition at line 146 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Reset(), WriteImpl(), and WriteP1().

G4P2ToolsManager* G4CsvAnalysisManager::fP2Manager
private

Definition at line 147 of file G4CsvAnalysisManager.hh.

Referenced by G4CsvAnalysisManager(), Reset(), WriteImpl(), and WriteP2().


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