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
G4RootAnalysisManager Class Reference

#include <G4RootAnalysisManager.hh>

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

Public Member Functions

 G4RootAnalysisManager ()
 
virtual ~G4RootAnalysisManager ()
 
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::wroot::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 G4RootAnalysisManagerInstance ()
 

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 46 of file G4RootAnalysisManager.hh.

Constructor & Destructor Documentation

G4RootAnalysisManager::G4RootAnalysisManager ( )

Definition at line 48 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4RootAnalysisManager::~G4RootAnalysisManager ( )
virtual

Definition at line 76 of file G4RootAnalysisManager.cc.

Member Function Documentation

G4bool G4RootAnalysisManager::AddNtupleRow ( )
virtual

Implements G4VAnalysisManager.

Definition at line 987 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4RootAnalysisManager::CloseFile ( )
virtual

Implements G4VAnalysisManager.

Definition at line 506 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4RootAnalysisManager::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 538 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4RootAnalysisManager::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 571 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 710 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4RootAnalysisManager::CreateNtupleDColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 829 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4RootAnalysisManager::CreateNtupleFColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 790 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4RootAnalysisManager::CreateNtupleIColumn ( const G4String name)
virtual

Implements G4VAnalysisManager.

Definition at line 752 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 873 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 896 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 964 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 942 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 920 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4RootAnalysisManager::FinishNtuple ( )
virtual

Implements G4VAnalysisManager.

Definition at line 867 of file G4RootAnalysisManager.cc.

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

Definition at line 1018 of file G4RootAnalysisManager.cc.

Here is the caller graph for this function:

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

Definition at line 1032 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4int G4RootAnalysisManager::GetH1Nbins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1070 of file G4RootAnalysisManager.cc.

G4String G4RootAnalysisManager::GetH1Title ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1291 of file G4RootAnalysisManager.cc.

G4double G4RootAnalysisManager::GetH1Width ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1101 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4String G4RootAnalysisManager::GetH1XAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1301 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH1Xmax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1091 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH1Xmin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1079 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4String G4RootAnalysisManager::GetH1YAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1320 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

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

Definition at line 1025 of file G4RootAnalysisManager.cc.

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

Definition at line 1048 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4int G4RootAnalysisManager::GetH2Nxbins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1121 of file G4RootAnalysisManager.cc.

G4int G4RootAnalysisManager::GetH2Nybins ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1172 of file G4RootAnalysisManager.cc.

G4String G4RootAnalysisManager::GetH2Title ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1339 of file G4RootAnalysisManager.cc.

G4String G4RootAnalysisManager::GetH2XAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1348 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2Xmax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1142 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2Xmin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1130 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2XWidth ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1152 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4String G4RootAnalysisManager::GetH2YAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1367 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2Ymax ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1193 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2Ymin ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1181 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4double G4RootAnalysisManager::GetH2YWidth ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1203 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

G4String G4RootAnalysisManager::GetH2ZAxisTitle ( G4int  id) const
virtual

Implements G4VAnalysisManager.

Definition at line 1386 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

tools::wroot::ntuple * G4RootAnalysisManager::GetNtuple ( ) const
virtual

Definition at line 1064 of file G4RootAnalysisManager.cc.

G4RootAnalysisManager * G4RootAnalysisManager::Instance ( void  )
static

Definition at line 38 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4RootAnalysisManager::OpenFile ( const G4String fileName)
virtual

Implements G4VAnalysisManager.

Definition at line 387 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 692 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 701 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 615 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 1223 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 1232 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 1242 of file G4RootAnalysisManager.cc.

G4bool G4RootAnalysisManager::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 649 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 1252 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 1261 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 1271 of file G4RootAnalysisManager.cc.

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

Implements G4VAnalysisManager.

Definition at line 1281 of file G4RootAnalysisManager.cc.

G4bool G4RootAnalysisManager::Write ( )
virtual

Implements G4VAnalysisManager.

Definition at line 437 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VAnalysisManager.

Definition at line 299 of file G4RootAnalysisManager.cc.

Here is the call graph for this function:


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