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

#include <G4BatemanParameters.hh>

Public Member Functions

 G4BatemanParameters ()
 
virtual ~G4BatemanParameters ()
 
 G4BatemanParameters (const G4BatemanParameters &)
 
G4BatemanParametersoperator= (const G4BatemanParameters &)
 
G4bool operator== (const G4BatemanParameters &right) const
 
G4bool operator!= (const G4BatemanParameters &right) const
 
void DumpInfo ()
 
G4int GetZ () const
 
G4int GetA () const
 
G4double GetE () const
 
G4int GetGeneration () const
 
std::vector< G4doubleGetAcoefficients () const
 
std::vector< G4doubleGetTaus () const
 
void SetZ (G4int value)
 
void SetA (G4int value)
 
void SetE (G4double value)
 
void SetGeneration (G4int value)
 
void SetAcoefficients (std::vector< G4double > value)
 
void SetTaus (std::vector< G4double > value)
 
void SetParameters (G4int, G4int, G4double, G4int, std::vector< G4double >, std::vector< G4double >)
 

Detailed Description

Definition at line 45 of file G4BatemanParameters.hh.

Constructor & Destructor Documentation

◆ G4BatemanParameters() [1/2]

G4BatemanParameters::G4BatemanParameters ( )

Definition at line 41 of file G4BatemanParameters.cc.

42 : Z(0), A(0), E(0.0), generation(0)
43{}

◆ ~G4BatemanParameters()

G4BatemanParameters::~G4BatemanParameters ( )
virtual

Definition at line 70 of file G4BatemanParameters.cc.

71{}

◆ G4BatemanParameters() [2/2]

G4BatemanParameters::G4BatemanParameters ( const G4BatemanParameters right)

Definition at line 46 of file G4BatemanParameters.cc.

47{
48 Z = right.Z;
49 A = right.A;
50 E = right.E;
51 generation = right.generation;
52 Acoeffs = right.Acoeffs;
53 taus = right.taus;
54}

Member Function Documentation

◆ DumpInfo()

void G4BatemanParameters::DumpInfo ( )

Definition at line 88 of file G4BatemanParameters.cc.

89{
90 G4cout << " Z: " << Z << " A: " << A << " E: " << E << " Generation: "
91 << generation << G4endl;
92
93 G4cout << " A coefficients: ";
94 for (G4int i = 0; i < G4int(Acoeffs.size()); i++) G4cout << Acoeffs[i];
95 G4cout << G4endl;
96
97 G4cout << " Mean lifes (tau): ";
98 for (G4int i = 0; i < G4int(taus.size()); i++) G4cout << taus[i];
99 G4cout << G4endl;
100}
int G4int
Definition: G4Types.hh:85
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ GetA()

G4int G4BatemanParameters::GetA ( ) const
inline

Definition at line 66 of file G4BatemanParameters.hh.

66{return A;}

◆ GetAcoefficients()

std::vector< G4double > G4BatemanParameters::GetAcoefficients ( ) const
inline

Definition at line 69 of file G4BatemanParameters.hh.

70 {return Acoeffs;}

◆ GetE()

G4double G4BatemanParameters::GetE ( ) const
inline

Definition at line 67 of file G4BatemanParameters.hh.

67{return E;}

◆ GetGeneration()

G4int G4BatemanParameters::GetGeneration ( ) const
inline

Definition at line 68 of file G4BatemanParameters.hh.

68{return generation;}

◆ GetTaus()

std::vector< G4double > G4BatemanParameters::GetTaus ( ) const
inline

Definition at line 71 of file G4BatemanParameters.hh.

71{return taus;}

◆ GetZ()

G4int G4BatemanParameters::GetZ ( ) const
inline

Definition at line 65 of file G4BatemanParameters.hh.

65{return Z;}

◆ operator!=()

G4bool G4BatemanParameters::operator!= ( const G4BatemanParameters right) const
inline

Definition at line 60 of file G4BatemanParameters.hh.

61 {return (this != &right);};

◆ operator=()

G4BatemanParameters & G4BatemanParameters::operator= ( const G4BatemanParameters right)

Definition at line 56 of file G4BatemanParameters.cc.

57{
58 if (this != &right) {
59 Z = right.Z;
60 A = right.A;
61 E = right.E;
62 generation = right.generation;
63 Acoeffs = right.Acoeffs;
64 taus = right.taus;
65 }
66 return *this;
67}

◆ operator==()

G4bool G4BatemanParameters::operator== ( const G4BatemanParameters right) const
inline

Definition at line 58 of file G4BatemanParameters.hh.

59 {return (this == &right);};

◆ SetA()

void G4BatemanParameters::SetA ( G4int  value)
inline

Definition at line 74 of file G4BatemanParameters.hh.

74{A = value;}

◆ SetAcoefficients()

void G4BatemanParameters::SetAcoefficients ( std::vector< G4double value)
inline

Definition at line 77 of file G4BatemanParameters.hh.

78 {Acoeffs = value;}

◆ SetE()

void G4BatemanParameters::SetE ( G4double  value)
inline

Definition at line 75 of file G4BatemanParameters.hh.

75{E = value;}

◆ SetGeneration()

void G4BatemanParameters::SetGeneration ( G4int  value)
inline

Definition at line 76 of file G4BatemanParameters.hh.

76{generation = value;}

◆ SetParameters()

void G4BatemanParameters::SetParameters ( G4int  aZ,
G4int  anA,
G4double  anE,
G4int  aG,
std::vector< G4double theCoeffs,
std::vector< G4double theTaus 
)

Definition at line 75 of file G4BatemanParameters.cc.

78{
79 Z = aZ;
80 A = anA;
81 E = anE;
82 generation = aG;
83 Acoeffs = theCoeffs;
84 taus = theTaus;
85}

◆ SetTaus()

void G4BatemanParameters::SetTaus ( std::vector< G4double value)
inline

Definition at line 79 of file G4BatemanParameters.hh.

79{taus = value;}

◆ SetZ()

void G4BatemanParameters::SetZ ( G4int  value)
inline

Definition at line 73 of file G4BatemanParameters.hh.

73{Z = value;}

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