Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
G4XmlAnalysisManager Class Reference

#include <G4XmlAnalysisManager.hh>

Inheritance diagram for G4XmlAnalysisManager:
Inheritance graph
[legend]
Collaboration diagram for G4XmlAnalysisManager:
Collaboration graph
[legend]

Public Member Functions

 G4XmlAnalysisManager ()
 
 ~G4XmlAnalysisManager ()
 
virtual G4bool OpenFile (const G4String &fileName)
 
virtual G4bool Write ()
 
virtual G4bool CloseFile ()
 
virtual G4int CreateH1 (const G4String &name, const G4String &title, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")
 
virtual 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")
 
virtual G4bool SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none")
 
virtual 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")
 
virtual G4bool ScaleH1 (G4int id, G4double factor)
 
virtual G4bool ScaleH2 (G4int id, G4double factor)
 
virtual void CreateNtuple (const G4String &name, const G4String &title)
 
virtual G4int CreateNtupleIColumn (const G4String &name)
 
virtual G4int CreateNtupleFColumn (const G4String &name)
 
virtual G4int CreateNtupleDColumn (const G4String &name)
 
virtual void FinishNtuple ()
 
virtual G4bool FillH1 (G4int id, G4double value, G4double weight=1.0)
 
virtual G4bool FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
 
virtual G4bool FillNtupleIColumn (G4int id, G4int value)
 
virtual G4bool FillNtupleFColumn (G4int id, G4float value)
 
virtual G4bool FillNtupleDColumn (G4int id, G4double value)
 
virtual G4bool AddNtupleRow ()
 
virtual tools::histo::h1dGetH1 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
virtual tools::histo::h2d * GetH2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
virtual tools::waxml::ntupleGetNtuple () const
 
virtual G4int GetH1Id (const G4String &name, G4bool warn=true) const
 
virtual G4int GetH2Id (const G4String &name, G4bool warn=true) const
 
virtual G4int GetH1Nbins (G4int id) const
 
virtual G4double GetH1Xmin (G4int id) const
 
virtual G4double GetH1Xmax (G4int id) const
 
virtual G4double GetH1Width (G4int id) const
 
virtual G4int GetH2Nxbins (G4int id) const
 
virtual G4double GetH2Xmin (G4int id) const
 
virtual G4double GetH2Xmax (G4int id) const
 
virtual G4double GetH2XWidth (G4int id) const
 
virtual G4int GetH2Nybins (G4int id) const
 
virtual G4double GetH2Ymin (G4int id) const
 
virtual G4double GetH2Ymax (G4int id) const
 
virtual G4double GetH2YWidth (G4int id) const
 
virtual G4bool SetH1Title (G4int id, const G4String &title)
 
virtual G4bool SetH1XAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH1YAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH2Title (G4int id, const G4String &title)
 
virtual G4bool SetH2XAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH2YAxisTitle (G4int id, const G4String &title)
 
virtual G4bool SetH2ZAxisTitle (G4int id, const G4String &title)
 
virtual G4String GetH1Title (G4int id) const
 
virtual G4String GetH1XAxisTitle (G4int id) const
 
virtual G4String GetH1YAxisTitle (G4int id) const
 
virtual G4String GetH2Title (G4int id) const
 
virtual G4String GetH2XAxisTitle (G4int id) const
 
virtual G4String GetH2YAxisTitle (G4int id) const
 
virtual G4String GetH2ZAxisTitle (G4int id) const
 
- Public Member Functions inherited from G4VAnalysisManager
 G4VAnalysisManager (const G4String &type="")
 
virtual ~G4VAnalysisManager ()
 
virtual G4bool OpenFile ()
 
virtual G4bool SetFileName (const G4String &fileName)
 
virtual G4bool SetHistoDirectoryName (const G4String &dirName)
 
virtual G4bool SetNtupleDirectoryName (const G4String &dirName)
 
virtual G4String GetFileName () const
 
virtual G4String GetFullFileName () const
 
virtual G4String GetHistoDirectoryName () const
 
virtual G4String GetNtupleDirectoryName () const
 
virtual G4bool SetFirstHistoId (G4int firstId)
 
virtual G4bool SetFirstNtupleColumnId (G4int firstId)
 
void SetActivation (G4bool activation)
 
G4bool GetActivation () const
 
G4bool IsActive () const
 
G4bool IsAscii () const
 
virtual G4int GetNofH1s () const
 
virtual G4int GetNofH2s () const
 
void SetActivation (ObjectType type, G4bool activation)
 
void SetActivation (ObjectType type, G4int id, G4bool activation)
 
void SetAscii (ObjectType type, G4int id, G4bool ascii)
 
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
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int verboseLevel)
 
G4String GetType () const
 
G4String GetFileType () const
 

Static Public Member Functions

static G4XmlAnalysisManagerInstance ()
 

Protected Member Functions

virtual G4bool WriteOnAscii (std::ofstream &output)
 
- Protected Member Functions inherited from G4VAnalysisManager
void AddH1Information (const G4String &name, const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fx)
 
void AddH2Information (const G4String &name, const G4String &xunitName, const G4String &yunitName, const G4String &xfcnName, const G4String &yfcnName, G4double xunit, G4double yunit, G4Fcn fx, G4Fcn fy)
 
G4HnInformationGetH1Information (G4int id) const
 
G4HnInformationGetH2Information (G4int id) const
 
G4HnInformationGetInformation (ObjectType type, G4int id) const
 
G4String GetName (ObjectType type, G4int id) const
 
G4double GetXUnit (ObjectType type, G4int id) const
 
G4double GetYUnit (ObjectType type, G4int id) const
 
G4bool GetActivation (ObjectType type, G4int id) const
 
G4bool GetAscii (ObjectType type, G4int id) const
 
G4bool WriteAscii ()
 
G4double GetUnitValue (const G4String &unit) const
 
G4Fcn GetFunction (const G4String &fcnName) const
 

Additional Inherited Members

- Public Types inherited from G4VAnalysisManager
enum  ObjectType { kH1, kH2, kNtuple }
 
- Protected Attributes inherited from G4VAnalysisManager
G4int fVerboseLevel
 
G4bool fActivation
 
G4int fFirstHistoId
 
G4int fFirstNtupleColumnId
 
G4String fFileName
 
G4String fHistoDirectoryName
 
G4String fNtupleDirectoryName
 
G4bool fLockFirstHistoId
 
G4bool fLockFirstNtupleColumnId
 
G4bool fLockFileName
 
G4bool fLockHistoDirectoryName
 
G4bool fLockNtupleDirectoryName
 
G4AnalysisVerbose fVerboseL1
 
G4AnalysisVerbose fVerboseL2
 
G4AnalysisVerbose fVerboseL3
 
G4AnalysisVerbose fVerboseL4
 
G4AnalysisVerbosefpVerboseL1
 
G4AnalysisVerbosefpVerboseL2
 
G4AnalysisVerbosefpVerboseL3
 
G4AnalysisVerbosefpVerboseL4
 

Detailed Description

Definition at line 45 of file G4XmlAnalysisManager.hh.

Constructor & Destructor Documentation

G4XmlAnalysisManager::G4XmlAnalysisManager ( )

Definition at line 51 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4XmlAnalysisManager::~G4XmlAnalysisManager ( )

Definition at line 76 of file G4XmlAnalysisManager.cc.

Member Function Documentation

G4bool G4XmlAnalysisManager::AddNtupleRow ( )
virtual

Implements G4VAnalysisManager.

Definition at line 923 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::CloseFile ( )
virtual

Implements G4VAnalysisManager.

Definition at line 430 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::CreateH1 ( const G4String name,
const G4String title,
G4int  nbins,
G4double  xmin,
G4double  xmax,
const G4String unitName = "none",
const G4String fcnName = "none" 
)
virtual

Implements G4VAnalysisManager.

Definition at line 463 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 496 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

void G4XmlAnalysisManager::CreateNtuple ( const G4String name,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 634 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::CreateNtupleDColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 746 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::CreateNtupleFColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 708 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::CreateNtupleIColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 670 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::FillH1 ( G4int  id,
G4double  value,
G4double  weight = 1.0 
)
virtual

Implements G4VAnalysisManager.

Definition at line 807 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::FillH2 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  weight = 1.0 
)
virtual

Implements G4VAnalysisManager.

Definition at line 830 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::FillNtupleDColumn ( G4int  id,
G4double  value 
)
virtual

Implements G4VAnalysisManager.

Definition at line 900 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::FillNtupleFColumn ( G4int  id,
G4float  value 
)
virtual

Implements G4VAnalysisManager.

Definition at line 877 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::FillNtupleIColumn ( G4int  id,
G4int  value 
)
virtual

Implements G4VAnalysisManager.

Definition at line 855 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

void G4XmlAnalysisManager::FinishNtuple ( )
virtual

Implements G4VAnalysisManager.

Definition at line 784 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

tools::histo::h1d * G4XmlAnalysisManager::GetH1 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
virtual

Definition at line 948 of file G4XmlAnalysisManager.cc.

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

Definition at line 962 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::GetH1Nbins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1000 of file G4XmlAnalysisManager.cc.

G4String G4XmlAnalysisManager::GetH1Title ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1221 of file G4XmlAnalysisManager.cc.

G4double G4XmlAnalysisManager::GetH1Width ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1031 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4String G4XmlAnalysisManager::GetH1XAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1230 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH1Xmax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1021 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH1Xmin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1009 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4String G4XmlAnalysisManager::GetH1YAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1249 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

tools::histo::h2d * G4XmlAnalysisManager::GetH2 ( G4int  id,
G4bool  warn = true,
G4bool  onlyIfActive = true 
) const
virtual

Definition at line 955 of file G4XmlAnalysisManager.cc.

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

Definition at line 978 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4int G4XmlAnalysisManager::GetH2Nxbins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1051 of file G4XmlAnalysisManager.cc.

G4int G4XmlAnalysisManager::GetH2Nybins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1102 of file G4XmlAnalysisManager.cc.

G4String G4XmlAnalysisManager::GetH2Title ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1268 of file G4XmlAnalysisManager.cc.

G4String G4XmlAnalysisManager::GetH2XAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1278 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2Xmax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1072 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2Xmin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1060 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2XWidth ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1082 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4String G4XmlAnalysisManager::GetH2YAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1297 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2Ymax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1123 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2Ymin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1111 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4double G4XmlAnalysisManager::GetH2YWidth ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1133 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4String G4XmlAnalysisManager::GetH2ZAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1316 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

tools::waxml::ntuple * G4XmlAnalysisManager::GetNtuple ( ) const
virtual

Definition at line 994 of file G4XmlAnalysisManager.cc.

G4XmlAnalysisManager * G4XmlAnalysisManager::Instance ( void  )
static

Definition at line 41 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::OpenFile ( const G4String fileName)
virtual

Implements G4VAnalysisManager.

Definition at line 319 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::ScaleH1 ( G4int  id,
G4double  factor 
)
virtual

Implements G4VAnalysisManager.

Definition at line 616 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::ScaleH2 ( G4int  id,
G4double  factor 
)
virtual

Implements G4VAnalysisManager.

Definition at line 625 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH1 ( G4int  id,
G4int  nbins,
G4double  xmin,
G4double  xmax,
const G4String unitName = "none",
const G4String fcnName = "none" 
)
virtual

Implements G4VAnalysisManager.

Definition at line 539 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::SetH1Title ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1153 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH1XAxisTitle ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1162 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH1YAxisTitle ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1172 of file G4XmlAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 574 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::SetH2Title ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1182 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH2XAxisTitle ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1191 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH2YAxisTitle ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1201 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::SetH2ZAxisTitle ( G4int  id,
const G4String title 
)
virtual

Implements G4VAnalysisManager.

Definition at line 1211 of file G4XmlAnalysisManager.cc.

G4bool G4XmlAnalysisManager::Write ( )
virtual

Implements G4VAnalysisManager.

Definition at line 360 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:

G4bool G4XmlAnalysisManager::WriteOnAscii ( std::ofstream &  output)
protectedvirtual

Implements G4VAnalysisManager.

Definition at line 280 of file G4XmlAnalysisManager.cc.

Here is the call graph for this function:


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