Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HnInformation Class Reference

#include <G4HnInformation.hh>

Public Member Functions

 G4HnInformation (G4String name, G4int nofDimensions)
 
 G4HnInformation ()=delete
 
void AddDimension (const G4HnDimensionInformation &hnDimensionInformation)
 
void SetDimension (G4int dimension, const G4HnDimensionInformation &hnDimensionInformation)
 
void SetIsLogAxis (G4int axis, G4bool isLog)
 
void SetActivation (G4bool activation)
 
void SetAscii (G4bool ascii)
 
void SetPlotting (G4bool plotting)
 
void SetFileName (const G4String &fileName)
 
G4String GetName () const
 
G4HnDimensionInformationGetHnDimensionInformation (G4int dimension)
 
const G4HnDimensionInformationGetHnDimensionInformation (G4int dimension) const
 
G4bool GetIsLogAxis (G4int axis) const
 
G4bool GetActivation () const
 
G4bool GetAscii () const
 
G4bool GetPlotting () const
 
G4String GetFileName () const
 

Detailed Description

Definition at line 106 of file G4HnInformation.hh.

Constructor & Destructor Documentation

◆ G4HnInformation() [1/2]

G4HnInformation::G4HnInformation ( G4String  name,
G4int  nofDimensions 
)
inline

Definition at line 109 of file G4HnInformation.hh.

110 : fName(std::move(name))
111 { fHnDimensionInformations.reserve(nofDimensions); }

◆ G4HnInformation() [2/2]

G4HnInformation::G4HnInformation ( )
delete

Member Function Documentation

◆ AddDimension()

void G4HnInformation::AddDimension ( const G4HnDimensionInformation hnDimensionInformation)
inline

Definition at line 170 of file G4HnInformation.hh.

172{ fHnDimensionInformations.push_back(hnDimensionInformation); }

◆ GetActivation()

G4bool G4HnInformation::GetActivation ( ) const
inline

Definition at line 208 of file G4HnInformation.hh.

209{ return fActivation; }

Referenced by G4HnManager::GetActivation().

◆ GetAscii()

G4bool G4HnInformation::GetAscii ( ) const
inline

Definition at line 211 of file G4HnInformation.hh.

212{ return fAscii; }

Referenced by G4HnManager::GetAscii(), and G4HnManager::SetAscii().

◆ GetFileName()

G4String G4HnInformation::GetFileName ( ) const
inline

Definition at line 217 of file G4HnInformation.hh.

218{ return fFileName; }

Referenced by G4HnManager::GetFileName().

◆ GetHnDimensionInformation() [1/2]

G4HnDimensionInformation * G4HnInformation::GetHnDimensionInformation ( G4int  dimension)
inline

Definition at line 199 of file G4HnInformation.hh.

200{ return &(fHnDimensionInformations[dimension]); }

Referenced by G4HnManager::GetHnDimensionInformation(), and SetDimension().

◆ GetHnDimensionInformation() [2/2]

const G4HnDimensionInformation & G4HnInformation::GetHnDimensionInformation ( G4int  dimension) const
inline

Definition at line 202 of file G4HnInformation.hh.

203{ return fHnDimensionInformations[dimension]; }

◆ GetIsLogAxis()

G4bool G4HnInformation::GetIsLogAxis ( G4int  axis) const
inline

Definition at line 205 of file G4HnInformation.hh.

206{ return fIsLogAxis[axis]; }

Referenced by G4HnManager::GetAxisIsLog().

◆ GetName()

G4String G4HnInformation::GetName ( ) const
inline

Definition at line 196 of file G4HnInformation.hh.

197{ return fName; }

Referenced by G4HnManager::GetName().

◆ GetPlotting()

G4bool G4HnInformation::GetPlotting ( ) const
inline

Definition at line 214 of file G4HnInformation.hh.

215{ return fPlotting; }

Referenced by G4HnManager::GetPlotting().

◆ SetActivation()

void G4HnInformation::SetActivation ( G4bool  activation)
inline

Definition at line 184 of file G4HnInformation.hh.

185{ fActivation = activation; }

◆ SetAscii()

void G4HnInformation::SetAscii ( G4bool  ascii)
inline

Definition at line 187 of file G4HnInformation.hh.

188{ fAscii = ascii; }

Referenced by G4HnManager::SetAscii().

◆ SetDimension()

void G4HnInformation::SetDimension ( G4int  dimension,
const G4HnDimensionInformation hnDimensionInformation 
)
inline

Definition at line 174 of file G4HnInformation.hh.

176{
177 auto info = GetHnDimensionInformation(dimension);
178 (*info) = hnDimensionInformation;
179}
G4HnDimensionInformation * GetHnDimensionInformation(G4int dimension)

◆ SetFileName()

void G4HnInformation::SetFileName ( const G4String fileName)
inline

Definition at line 193 of file G4HnInformation.hh.

194{ fFileName = fileName; }

◆ SetIsLogAxis()

void G4HnInformation::SetIsLogAxis ( G4int  axis,
G4bool  isLog 
)
inline

Definition at line 181 of file G4HnInformation.hh.

182{ fIsLogAxis[axis] = isLog; }

Referenced by G4HnManager::SetAxisIsLog().

◆ SetPlotting()

void G4HnInformation::SetPlotting ( G4bool  plotting)
inline

Definition at line 190 of file G4HnInformation.hh.

191{ fPlotting = plotting; }

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