Geant4_10
Public Member Functions | Protected Member Functions | List of all members
G4H2ToolsManager Class Reference

#include <G4H2ToolsManager.hh>

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

Public Member Functions

 G4H2ToolsManager (const G4AnalysisManagerState &state)
 
virtual ~G4H2ToolsManager ()
 
void AddH2Vector (const std::vector< tools::histo::h2d * > &h2Vector)
 
G4bool Reset ()
 
G4bool IsEmpty () const
 
tools::histo::h2d * GetH2 (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const
 
const std::vector
< tools::histo::h2d * > & 
GetH2Vector () const
 
const std::vector
< G4HnInformation * > & 
GetHnVector () const
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 

Protected Member Functions

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", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear")
 
virtual 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")
 
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", const G4String &xbinScheme="linear", const G4String &ybinScheme="linear")
 
virtual 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")
 
virtual G4bool ScaleH2 (G4int id, G4double factor)
 
virtual G4bool FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)
 
virtual G4int GetH2Id (const G4String &name, G4bool warn=true) 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 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 GetH2Title (G4int id) const
 
virtual G4String GetH2XAxisTitle (G4int id) const
 
virtual G4String GetH2YAxisTitle (G4int id) const
 
virtual G4String GetH2ZAxisTitle (G4int id) const
 
virtual G4bool WriteOnAscii (std::ofstream &output)
 
- Protected Member Functions inherited from G4VH2Manager
 G4VH2Manager (const G4AnalysisManagerState &state)
 
virtual ~G4VH2Manager ()
 
- Protected Member Functions inherited from G4BaseAnalysisManager
void ExceptionForHistograms (const G4String &functionName) const
 

Additional Inherited Members

- Protected Attributes inherited from G4VH2Manager
G4HnManagerfHnManager
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

Definition at line 50 of file G4H2ToolsManager.hh.

Constructor & Destructor Documentation

G4H2ToolsManager::G4H2ToolsManager ( const G4AnalysisManagerState state)

Definition at line 42 of file G4H2ToolsManager.cc.

G4H2ToolsManager::~G4H2ToolsManager ( )
virtual

Definition at line 50 of file G4H2ToolsManager.cc.

Member Function Documentation

void G4H2ToolsManager::AddH2Vector ( const std::vector< tools::histo::h2d * > &  h2Vector)

Definition at line 708 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4int G4H2ToolsManager::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 xbinScheme = "linear",
const G4String ybinScheme = "linear" 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 294 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

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

Implements G4VH2Manager.

Definition at line 332 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4bool G4H2ToolsManager::FillH2 ( G4int  id,
G4double  xvalue,
G4double  yvalue,
G4double  weight = 1.0 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 444 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

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

Definition at line 749 of file G4H2ToolsManager.cc.

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

Implements G4VH2Manager.

Definition at line 470 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4int G4H2ToolsManager::GetH2Nxbins ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 486 of file G4H2ToolsManager.cc.

G4int G4H2ToolsManager::GetH2Nybins ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 537 of file G4H2ToolsManager.cc.

G4String G4H2ToolsManager::GetH2Title ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 627 of file G4H2ToolsManager.cc.

const std::vector< tools::histo::h2d * > & G4H2ToolsManager::GetH2Vector ( ) const
inline

Definition at line 176 of file G4H2ToolsManager.hh.

G4String G4H2ToolsManager::GetH2XAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 636 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2Xmax ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 507 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2Xmin ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 495 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2XWidth ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 517 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4String G4H2ToolsManager::GetH2YAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 655 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2Ymax ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 558 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2Ymin ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 546 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4double G4H2ToolsManager::GetH2YWidth ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 568 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4String G4H2ToolsManager::GetH2ZAxisTitle ( G4int  id) const
protectedvirtual

Implements G4VH2Manager.

Definition at line 674 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

const std::vector< G4HnInformation * > & G4H2ToolsManager::GetHnVector ( ) const
inline

Definition at line 179 of file G4H2ToolsManager.hh.

Here is the call graph for this function:

G4bool G4H2ToolsManager::IsEmpty ( ) const

Definition at line 743 of file G4H2ToolsManager.cc.

Here is the caller graph for this function:

G4bool G4H2ToolsManager::Reset ( )

Definition at line 727 of file G4H2ToolsManager.cc.

G4bool G4H2ToolsManager::ScaleH2 ( G4int  id,
G4double  factor 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 435 of file G4H2ToolsManager.cc.

G4bool G4H2ToolsManager::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 xbinScheme = "linear",
const G4String ybinScheme = "linear" 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 365 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

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

Implements G4VH2Manager.

Definition at line 403 of file G4H2ToolsManager.cc.

Here is the call graph for this function:

G4bool G4H2ToolsManager::SetH2Title ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 588 of file G4H2ToolsManager.cc.

G4bool G4H2ToolsManager::SetH2XAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 597 of file G4H2ToolsManager.cc.

G4bool G4H2ToolsManager::SetH2YAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 607 of file G4H2ToolsManager.cc.

G4bool G4H2ToolsManager::SetH2ZAxisTitle ( G4int  id,
const G4String title 
)
protectedvirtual

Implements G4VH2Manager.

Definition at line 617 of file G4H2ToolsManager.cc.

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

Implements G4VH2Manager.

Definition at line 693 of file G4H2ToolsManager.cc.


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