Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VH1Manager Class Referenceabstract

#include <G4VH1Manager.hh>

+ Inheritance diagram for G4VH1Manager:

Public Member Functions

 G4VH1Manager ()
 
virtual ~G4VH1Manager ()
 
 G4VH1Manager (const G4VH1Manager &rhs)=delete
 
G4VH1Manageroperator= (const G4VH1Manager &rhs)=delete
 

Protected Member Functions

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
 
virtual std::shared_ptr< G4HnManagerGetHnManager ()=0
 

Friends

class G4VAnalysisManager
 
class G4VAnalysisReader
 

Detailed Description

Definition at line 41 of file G4VH1Manager.hh.

Constructor & Destructor Documentation

◆ G4VH1Manager() [1/2]

G4VH1Manager::G4VH1Manager ( )
inline

Definition at line 48 of file G4VH1Manager.hh.

48{}

◆ ~G4VH1Manager()

virtual G4VH1Manager::~G4VH1Manager ( )
inlinevirtual

Definition at line 49 of file G4VH1Manager.hh.

49{}

◆ G4VH1Manager() [2/2]

G4VH1Manager::G4VH1Manager ( const G4VH1Manager rhs)
delete

Member Function Documentation

◆ CreateH1() [1/2]

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.

◆ CreateH1() [2/2]

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.

◆ FillH1()

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

Implemented in G4H1ToolsManager.

◆ GetH1Id()

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

Implemented in G4H1ToolsManager.

◆ GetH1Nbins()

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

Implemented in G4H1ToolsManager.

◆ GetH1Title()

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

Implemented in G4H1ToolsManager.

◆ GetH1Width()

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

Implemented in G4H1ToolsManager.

◆ GetH1XAxisTitle()

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

Implemented in G4H1ToolsManager.

◆ GetH1Xmax()

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

Implemented in G4H1ToolsManager.

◆ GetH1Xmin()

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

Implemented in G4H1ToolsManager.

◆ GetH1YAxisTitle()

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

Implemented in G4H1ToolsManager.

◆ GetHnManager()

virtual std::shared_ptr< G4HnManager > G4VH1Manager::GetHnManager ( )
protectedpure virtual

Implemented in G4H1ToolsManager.

Referenced by G4VAnalysisManager::SetH1Manager().

◆ operator=()

G4VH1Manager & G4VH1Manager::operator= ( const G4VH1Manager rhs)
delete

◆ ScaleH1()

virtual G4bool G4VH1Manager::ScaleH1 ( G4int  id,
G4double  factor 
)
protectedpure virtual

Implemented in G4H1ToolsManager.

◆ SetH1() [1/2]

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

Implemented in G4H1ToolsManager.

◆ SetH1() [2/2]

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.

◆ SetH1Title()

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

Implemented in G4H1ToolsManager.

◆ SetH1XAxisTitle()

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

Implemented in G4H1ToolsManager.

◆ SetH1YAxisTitle()

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

Implemented in G4H1ToolsManager.

◆ WriteOnAscii()

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

Implemented in G4H1ToolsManager.

Friends And Related Function Documentation

◆ G4VAnalysisManager

friend class G4VAnalysisManager
friend

Definition at line 44 of file G4VH1Manager.hh.

◆ G4VAnalysisReader

friend class G4VAnalysisReader
friend

Definition at line 45 of file G4VH1Manager.hh.


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