Geant4-11
Public Member Functions | Private Attributes
G4BatemanParameters Class Reference

#include <G4BatemanParameters.hh>

Public Member Functions

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

Private Attributes

G4int A
 
std::vector< G4doubleAcoeffs
 
G4double E
 
G4int generation
 
std::vector< G4doubletaus
 
G4int Z
 

Detailed Description

Definition at line 45 of file G4BatemanParameters.hh.

Constructor & Destructor Documentation

◆ G4BatemanParameters() [1/2]

G4BatemanParameters::G4BatemanParameters ( )

◆ ~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}
std::vector< G4double > taus
std::vector< G4double > Acoeffs

References A, Acoeffs, E, generation, taus, and Z.

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

References A, Acoeffs, E, G4cout, G4endl, generation, taus, and Z.

◆ GetA()

G4int G4BatemanParameters::GetA ( void  ) const
inline

Definition at line 66 of file G4BatemanParameters.hh.

66{return A;}

References A.

◆ GetAcoefficients()

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

Definition at line 69 of file G4BatemanParameters.hh.

70 {return Acoeffs;}

References Acoeffs.

◆ GetE()

G4double G4BatemanParameters::GetE ( ) const
inline

Definition at line 67 of file G4BatemanParameters.hh.

67{return E;}

References E.

◆ GetGeneration()

G4int G4BatemanParameters::GetGeneration ( ) const
inline

Definition at line 68 of file G4BatemanParameters.hh.

68{return generation;}

References generation.

◆ GetTaus()

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

Definition at line 71 of file G4BatemanParameters.hh.

71{return taus;}

References taus.

◆ GetZ()

G4int G4BatemanParameters::GetZ ( void  ) const
inline

Definition at line 65 of file G4BatemanParameters.hh.

65{return Z;}

References 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}

References A, Acoeffs, E, generation, taus, and Z.

◆ 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;}

References A.

◆ SetAcoefficients()

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

Definition at line 77 of file G4BatemanParameters.hh.

78 {Acoeffs = value;}

References Acoeffs.

◆ SetE()

void G4BatemanParameters::SetE ( G4double  value)
inline

Definition at line 75 of file G4BatemanParameters.hh.

75{E = value;}

References E.

◆ SetGeneration()

void G4BatemanParameters::SetGeneration ( G4int  value)
inline

Definition at line 76 of file G4BatemanParameters.hh.

76{generation = value;}

References generation.

◆ 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}

References A, Acoeffs, E, generation, taus, and Z.

◆ SetTaus()

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

Definition at line 79 of file G4BatemanParameters.hh.

79{taus = value;}

References taus.

◆ SetZ()

void G4BatemanParameters::SetZ ( G4int  value)
inline

Definition at line 73 of file G4BatemanParameters.hh.

73{Z = value;}

References Z.

Field Documentation

◆ A

G4int G4BatemanParameters::A
private

◆ Acoeffs

std::vector<G4double> G4BatemanParameters::Acoeffs
private

◆ E

G4double G4BatemanParameters::E
private

◆ generation

G4int G4BatemanParameters::generation
private

◆ taus

std::vector<G4double> G4BatemanParameters::taus
private

◆ Z

G4int G4BatemanParameters::Z
private

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