Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BatemanParameters Class Reference

#include <G4BatemanParameters.hh>

Public Member Functions

 G4BatemanParameters ()
 
virtual ~G4BatemanParameters ()
 
 G4BatemanParameters (const G4BatemanParameters &)
 
G4BatemanParametersoperator= (const G4BatemanParameters &)
 
G4int operator== (const G4BatemanParameters &right) const
 
G4int 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::G4BatemanParameters ( )

Definition at line 41 of file G4BatemanParameters.cc.

42  : Z(0), A(0), E(0.0), generation(0)
43 {}
double A(double temperature)
G4BatemanParameters::~G4BatemanParameters ( )
virtual

Definition at line 70 of file G4BatemanParameters.cc.

71 {}
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 }
double A(double temperature)

Member Function Documentation

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:78
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
#define G4endl
Definition: G4ios.hh:61
G4int G4BatemanParameters::GetA ( void  ) const
inline

Definition at line 66 of file G4BatemanParameters.hh.

66 {return A;}
double A(double temperature)
std::vector<G4double> G4BatemanParameters::GetAcoefficients ( ) const
inline

Definition at line 69 of file G4BatemanParameters.hh.

70  {return Acoeffs;}
G4double G4BatemanParameters::GetE ( ) const
inline

Definition at line 67 of file G4BatemanParameters.hh.

67 {return E;}
G4int G4BatemanParameters::GetGeneration ( ) const
inline

Definition at line 68 of file G4BatemanParameters.hh.

68 {return generation;}
std::vector<G4double> G4BatemanParameters::GetTaus ( ) const
inline

Definition at line 71 of file G4BatemanParameters.hh.

71 {return taus;}
G4int G4BatemanParameters::GetZ ( void  ) const
inline

Definition at line 65 of file G4BatemanParameters.hh.

65 {return Z;}
G4int G4BatemanParameters::operator!= ( const G4BatemanParameters right) const
inline

Definition at line 60 of file G4BatemanParameters.hh.

61  {return (this != &right);};
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 }
double A(double temperature)
G4int G4BatemanParameters::operator== ( const G4BatemanParameters right) const
inline

Definition at line 58 of file G4BatemanParameters.hh.

59  {return (this == &right);};
void G4BatemanParameters::SetA ( G4int  value)
inline

Definition at line 74 of file G4BatemanParameters.hh.

74 {A = value;}
double A(double temperature)
const XML_Char int const XML_Char * value
Definition: expat.h:331
void G4BatemanParameters::SetAcoefficients ( std::vector< G4double value)
inline

Definition at line 77 of file G4BatemanParameters.hh.

78  {Acoeffs = value;}
const XML_Char int const XML_Char * value
Definition: expat.h:331
void G4BatemanParameters::SetE ( G4double  value)
inline

Definition at line 75 of file G4BatemanParameters.hh.

75 {E = value;}
const XML_Char int const XML_Char * value
Definition: expat.h:331
void G4BatemanParameters::SetGeneration ( G4int  value)
inline

Definition at line 76 of file G4BatemanParameters.hh.

76 {generation = value;}
const XML_Char int const XML_Char * value
Definition: expat.h:331
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 }
double A(double temperature)
void G4BatemanParameters::SetTaus ( std::vector< G4double value)
inline

Definition at line 79 of file G4BatemanParameters.hh.

79 {taus = value;}
const XML_Char int const XML_Char * value
Definition: expat.h:331
void G4BatemanParameters::SetZ ( G4int  value)
inline

Definition at line 73 of file G4BatemanParameters.hh.

73 {Z = value;}
const XML_Char int const XML_Char * value
Definition: expat.h:331

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