Geant4 10.7.0
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 ()
 
 G4HnDimensionInformation (const G4String &unitName, const G4String &fcnName, G4double unit, G4Fcn fcn, G4BinScheme binScheme)
 
 G4HnDimensionInformation (const G4HnDimensionInformation &rhs)
 
G4HnDimensionInformationoperator= (const G4HnDimensionInformation &rhs)
 

Public Attributes

G4String fUnitName
 
G4String fFcnName
 
G4double fUnit
 
G4Fcn fFcn
 
G4BinScheme fBinScheme
 

Detailed Description

Definition at line 41 of file G4HnInformation.hh.

Constructor & Destructor Documentation

◆ G4HnDimensionInformation() [1/3]

G4HnDimensionInformation::G4HnDimensionInformation ( )
inline

Definition at line 43 of file G4HnInformation.hh.

44 : fUnitName(),
45 fFcnName(),
46 fUnit(),
47 fFcn(nullptr),
48 fBinScheme(G4BinScheme::kLinear)
49 {}

◆ G4HnDimensionInformation() [2/3]

G4HnDimensionInformation::G4HnDimensionInformation ( const G4String unitName,
const G4String fcnName,
G4double  unit,
G4Fcn  fcn,
G4BinScheme  binScheme 
)
inline

Definition at line 51 of file G4HnInformation.hh.

57 : fUnitName(unitName),
58 fFcnName(fcnName),
59 fUnit(unit),
60 fFcn(fcn),
61 fBinScheme(binScheme)
62 {}

◆ G4HnDimensionInformation() [3/3]

G4HnDimensionInformation::G4HnDimensionInformation ( const G4HnDimensionInformation rhs)
inline

Definition at line 64 of file G4HnInformation.hh.

65 : fUnitName(rhs.fUnitName),
66 fFcnName(rhs.fFcnName),
67 fUnit(rhs.fUnit),
68 fFcn(rhs.fFcn),
70 {}

Member Function Documentation

◆ operator=()

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

Definition at line 72 of file G4HnInformation.hh.

73 {
74 // check assignment to self
75 if (this == &rhs) return *this;
76
77 fUnitName = rhs.fUnitName;
78 fFcnName = rhs.fFcnName;
79 fUnit = rhs.fUnit;
80 fFcn = rhs.fFcn;
82
83 return *this;
84 }

Member Data Documentation

◆ fBinScheme

G4BinScheme G4HnDimensionInformation::fBinScheme

Definition at line 91 of file G4HnInformation.hh.

Referenced by operator=().

◆ fFcn

G4Fcn G4HnDimensionInformation::fFcn

◆ fFcnName

G4String G4HnDimensionInformation::fFcnName

Definition at line 88 of file G4HnInformation.hh.

Referenced by operator=().

◆ fUnit

G4double G4HnDimensionInformation::fUnit

◆ fUnitName

G4String G4HnDimensionInformation::fUnitName

Definition at line 87 of file G4HnInformation.hh.

Referenced by operator=().


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