Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HnDimensionInformation Struct Reference

#include <G4HnInformation.hh>

Public Member Functions

 G4HnDimensionInformation (G4String unitName, G4String fcnName, G4String binSchemeName="linear")
 
 G4HnDimensionInformation ()
 
 G4HnDimensionInformation (const G4HnDimensionInformation &rhs)=default
 
G4HnDimensionInformationoperator= (const G4HnDimensionInformation &rhs)=default
 
void Print () const
 

Public Attributes

G4String fUnitName
 
G4String fFcnName
 
G4String fBinSchemeName
 
G4double fUnit
 
G4Fcn fFcn
 
G4BinScheme fBinScheme
 

Detailed Description

Definition at line 76 of file G4HnInformation.hh.

Constructor & Destructor Documentation

◆ G4HnDimensionInformation() [1/3]

G4HnDimensionInformation::G4HnDimensionInformation ( G4String unitName,
G4String fcnName,
G4String binSchemeName = "linear" )
inline

Definition at line 78 of file G4HnInformation.hh.

82 : fUnitName(std::move(unitName)),
83 fFcnName(std::move(fcnName)),
84 fBinSchemeName(std::move(binSchemeName)),
88 {}
G4BinScheme GetBinScheme(const G4String &binSchemeName)
G4double GetUnitValue(const G4String &unit)
G4Fcn GetFunction(const G4String &fcnName)
Definition G4Fcn.cc:36

◆ G4HnDimensionInformation() [2/3]

G4HnDimensionInformation::G4HnDimensionInformation ( )
inline

Definition at line 90 of file G4HnInformation.hh.

91 : G4HnDimensionInformation("none", "none", "linear") {}

◆ G4HnDimensionInformation() [3/3]

G4HnDimensionInformation::G4HnDimensionInformation ( const G4HnDimensionInformation & rhs)
default

Member Function Documentation

◆ operator=()

G4HnDimensionInformation & G4HnDimensionInformation::operator= ( const G4HnDimensionInformation & rhs)
default

◆ Print()

void G4HnDimensionInformation::Print ( ) const

Definition at line 46 of file G4HnInformation.cc.

47{
48 G4cout
49 << "Unit name: " << fUnitName << " Fcn Name: " << fFcnName << " BinSchemeName: "
50 << fBinSchemeName << " Unit: " << fUnit << " BinScheme: " << static_cast<int>(fBinScheme)
51 << G4endl;
52}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout

Member Data Documentation

◆ fBinScheme

G4BinScheme G4HnDimensionInformation::fBinScheme

Definition at line 102 of file G4HnInformation.hh.

Referenced by G4Analysis::CheckDimension(), Print(), and G4Analysis::Update().

◆ fBinSchemeName

G4String G4HnDimensionInformation::fBinSchemeName

Definition at line 99 of file G4HnInformation.hh.

Referenced by Print().

◆ fFcn

G4Fcn G4HnDimensionInformation::fFcn

◆ fFcnName

G4String G4HnDimensionInformation::fFcnName

Definition at line 98 of file G4HnInformation.hh.

Referenced by G4Analysis::CheckDimension(), Print(), and G4Analysis::UpdateTitle().

◆ fUnit

G4double G4HnDimensionInformation::fUnit

◆ fUnitName

G4String G4HnDimensionInformation::fUnitName

Definition at line 97 of file G4HnInformation.hh.

Referenced by Print(), and G4Analysis::UpdateTitle().


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