Geant4  10.01.p02
G4VH1Manager Class Referenceabstract

#include <G4VH1Manager.hh>

+ Inheritance diagram for G4VH1Manager:
+ Collaboration diagram for G4VH1Manager:

Protected Member Functions

 G4VH1Manager (const G4AnalysisManagerState &state)
 
virtual ~G4VH1Manager ()
 
virtual 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")=0
 
virtual G4int CreateH1 (const G4String &name, const G4String &title, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0
 
virtual G4bool SetH1 (G4int id, G4int nbins, G4double xmin, G4double xmax, const G4String &unitName="none", const G4String &fcnName="none", const G4String &binSchemeName="linear")=0
 
virtual G4bool SetH1 (G4int id, const std::vector< G4double > &edges, const G4String &unitName="none", const G4String &fcnName="none")=0
 
virtual G4bool ScaleH1 (G4int id, G4double factor)=0
 
virtual G4bool FillH1 (G4int id, G4double value, G4double weight=1.0)=0
 
virtual G4int GetH1Id (const G4String &name, G4bool warn=true) const =0
 
virtual G4int GetH1Nbins (G4int id) const =0
 
virtual G4double GetH1Xmin (G4int id) const =0
 
virtual G4double GetH1Xmax (G4int id) const =0
 
virtual G4double GetH1Width (G4int id) const =0
 
virtual G4bool SetH1Title (G4int id, const G4String &title)=0
 
virtual G4bool SetH1XAxisTitle (G4int id, const G4String &title)=0
 
virtual G4bool SetH1YAxisTitle (G4int id, const G4String &title)=0
 
virtual G4String GetH1Title (G4int id) const =0
 
virtual G4String GetH1XAxisTitle (G4int id) const =0
 
virtual G4String GetH1YAxisTitle (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

 G4VH1Manager (const G4VH1Manager &rhs)
 
G4VH1Manageroperator= (const G4VH1Manager &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 43 of file G4VH1Manager.hh.

Constructor & Destructor Documentation

G4VH1Manager::G4VH1Manager ( const G4AnalysisManagerState state)
protected

Definition at line 34 of file G4VH1Manager.cc.

References fHnManager.

G4VH1Manager::~G4VH1Manager ( )
protectedvirtual

Definition at line 42 of file G4VH1Manager.cc.

References fHnManager.

G4VH1Manager::G4VH1Manager ( const G4VH1Manager rhs)
private

Member Function Documentation

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

Implemented in G4H1ToolsManager.

Referenced by G4VAnalysisManager::CreateH1().

+ Here is the caller graph for this function:

virtual G4int G4VH1Manager::CreateH1 ( const G4String name,
const G4String title,
const std::vector< G4double > &  edges,
const G4String unitName = "none",
const G4String fcnName = "none" 
)
protectedpure virtual

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

virtual G4int G4VH1Manager::GetH1Nbins ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4String G4VH1Manager::GetH1Title ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4double G4VH1Manager::GetH1Width ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4String G4VH1Manager::GetH1XAxisTitle ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4double G4VH1Manager::GetH1Xmax ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4double G4VH1Manager::GetH1Xmin ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

virtual G4String G4VH1Manager::GetH1YAxisTitle ( G4int  id) const
protectedpure virtual

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

Referenced by G4VAnalysisManager::ScaleH1().

+ Here is the caller graph for this function:

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

Implemented in G4H1ToolsManager.

Referenced by G4VAnalysisManager::SetH1().

+ Here is the caller graph for this function:

virtual G4bool G4VH1Manager::SetH1 ( G4int  id,
const std::vector< G4double > &  edges,
const G4String unitName = "none",
const G4String fcnName = "none" 
)
protectedpure virtual

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

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

Implemented in G4H1ToolsManager.

Referenced by G4VAnalysisManager::WriteAscii().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4VAnalysisManager
friend

Definition at line 46 of file G4VH1Manager.hh.

friend class G4VAnalysisReader
friend

Definition at line 47 of file G4VH1Manager.hh.

Member Data Documentation


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