Geant4  10.01.p03
G4VH2Manager Class Referenceabstract

#include <G4VH2Manager.hh>

+ Inheritance diagram for G4VH2Manager:
+ Collaboration diagram for G4VH2Manager:

Protected Member Functions

 G4VH2Manager (const G4AnalysisManagerState &state)
 
virtual ~G4VH2Manager ()
 
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")=0
 
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")=0
 
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")=0
 
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")=0
 
virtual G4bool ScaleH2 (G4int id, G4double factor)=0
 
virtual G4bool FillH2 (G4int id, G4double xvalue, G4double yvalue, G4double weight=1.0)=0
 
virtual G4int GetH2Id (const G4String &name, G4bool warn=true) const =0
 
virtual G4int GetH2Nxbins (G4int id) const =0
 
virtual G4double GetH2Xmin (G4int id) const =0
 
virtual G4double GetH2Xmax (G4int id) const =0
 
virtual G4double GetH2XWidth (G4int id) const =0
 
virtual G4int GetH2Nybins (G4int id) const =0
 
virtual G4double GetH2Ymin (G4int id) const =0
 
virtual G4double GetH2Ymax (G4int id) const =0
 
virtual G4double GetH2YWidth (G4int id) const =0
 
virtual G4bool SetH2Title (G4int id, const G4String &title)=0
 
virtual G4bool SetH2XAxisTitle (G4int id, const G4String &title)=0
 
virtual G4bool SetH2YAxisTitle (G4int id, const G4String &title)=0
 
virtual G4bool SetH2ZAxisTitle (G4int id, const G4String &title)=0
 
virtual G4String GetH2Title (G4int id) const =0
 
virtual G4String GetH2XAxisTitle (G4int id) const =0
 
virtual G4String GetH2YAxisTitle (G4int id) const =0
 
virtual G4String GetH2ZAxisTitle (G4int id) const =0
 
virtual G4bool WriteOnAscii (std::ofstream &output)=0
 

Protected Attributes

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

Private Member Functions

 G4VH2Manager (const G4VH2Manager &rhs)
 
G4VH2Manageroperator= (const G4VH2Manager &rhs)
 

Friends

class G4VAnalysisManager
 
class G4VAnalysisReader
 

Additional Inherited Members

- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseAnalysisManager ()
 
G4bool SetFirstId (G4int firstId)
 
G4int GetFirstId () const
 

Detailed Description

Definition at line 41 of file G4VH2Manager.hh.

Constructor & Destructor Documentation

G4VH2Manager::G4VH2Manager ( const G4AnalysisManagerState state)
protected

Definition at line 34 of file G4VH2Manager.cc.

References fHnManager.

G4VH2Manager::~G4VH2Manager ( )
protectedvirtual

Definition at line 42 of file G4VH2Manager.cc.

References fHnManager.

G4VH2Manager::G4VH2Manager ( const G4VH2Manager rhs)
private

Member Function Documentation

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

Implemented in G4H2ToolsManager.

Referenced by G4VAnalysisManager::CreateH2().

+ Here is the caller graph for this function:

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

virtual G4int G4VH2Manager::GetH2Nxbins ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4int G4VH2Manager::GetH2Nybins ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4String G4VH2Manager::GetH2Title ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4String G4VH2Manager::GetH2XAxisTitle ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2Xmax ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2Xmin ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2XWidth ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4String G4VH2Manager::GetH2YAxisTitle ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2Ymax ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2Ymin ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4double G4VH2Manager::GetH2YWidth ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

virtual G4String G4VH2Manager::GetH2ZAxisTitle ( G4int  id) const
protectedpure virtual

Implemented in G4H2ToolsManager.

G4VH2Manager& G4VH2Manager::operator= ( const G4VH2Manager rhs)
private
virtual G4bool G4VH2Manager::ScaleH2 ( G4int  id,
G4double  factor 
)
protectedpure virtual

Implemented in G4H2ToolsManager.

Referenced by G4VAnalysisManager::ScaleH2().

+ Here is the caller graph for this function:

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

Implemented in G4H2ToolsManager.

Referenced by G4VAnalysisManager::SetH2().

+ Here is the caller graph for this function:

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

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

Implemented in G4H2ToolsManager.

virtual G4bool G4VH2Manager::WriteOnAscii ( std::ofstream &  output)
protectedpure virtual

Implemented in G4H2ToolsManager.

Referenced by G4VAnalysisManager::WriteAscii().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4VAnalysisManager
friend

Definition at line 44 of file G4VH2Manager.hh.

friend class G4VAnalysisReader
friend

Definition at line 45 of file G4VH2Manager.hh.

Member Data Documentation


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