Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestParameters Class Reference

#include <TestParameters.hh>

Public Member Functions

 ~TestParameters ()
 
void SetMaxEnergy (G4double value)
 
G4double GetMaxEnergy () const
 
void SetNumberBins (G4int value)
 
G4int GetNumberBins () const
 
void SetNumberBinsCluster (G4int value)
 
G4int GetNumberBinsCluster () const
 
void SetMaxCluster (G4int value)
 
G4int GetMaxCluster () const
 
void SetEnergyPerChannel (G4double value)
 
G4double GetFactorALICE () const
 
void SetNormFactor (G4double value)
 
G4double GetNormFactor () const
 
void SetEnergySmear (G4double value)
 
G4double GetEnergySmear () const
 
void SetPositionZ (G4double val)
 
G4double GetPositionZ () const
 
void SetBeamEnergy (G4double val)
 
G4double GetBeamEnergy () const
 
void SetBeamParticle (const G4ParticleDefinition *)
 
const G4ParticleDefinitionGetBeamParticle () const
 

Static Public Member Functions

static TestParametersGetPointer ()
 

Detailed Description

Definition at line 57 of file TestParameters.hh.

Constructor & Destructor Documentation

TestParameters::~TestParameters ( )

Definition at line 85 of file TestParameters.cc.

86 {}

Member Function Documentation

G4double TestParameters::GetBeamEnergy ( ) const

Definition at line 209 of file TestParameters.cc.

210 {
211  return fBeamEnergy;
212 }
const G4ParticleDefinition * TestParameters::GetBeamParticle ( ) const

Definition at line 223 of file TestParameters.cc.

224 {
225  return fParticle;
226 }
G4double TestParameters::GetEnergySmear ( ) const

Definition at line 181 of file TestParameters.cc.

182 {
183  return fEnergySmear;
184 }

Here is the caller graph for this function:

G4double TestParameters::GetFactorALICE ( ) const

Definition at line 153 of file TestParameters.cc.

154 {
155  return fFactorALICE;
156 }

Here is the caller graph for this function:

G4int TestParameters::GetMaxCluster ( ) const

Definition at line 139 of file TestParameters.cc.

140 {
141  return fMaxCluster;
142 }
G4double TestParameters::GetMaxEnergy ( ) const

Definition at line 97 of file TestParameters.cc.

98 {
99  return fMaxEnergy;
100 }

Here is the caller graph for this function:

G4double TestParameters::GetNormFactor ( ) const

Definition at line 167 of file TestParameters.cc.

168 {
169  return fNormFactor;
170 }
G4int TestParameters::GetNumberBins ( ) const

Definition at line 111 of file TestParameters.cc.

112 {
113  return fBinsE;
114 }

Here is the caller graph for this function:

G4int TestParameters::GetNumberBinsCluster ( ) const

Definition at line 125 of file TestParameters.cc.

126 {
127  return fBinsCluster;
128 }

Here is the caller graph for this function:

TestParameters * TestParameters::GetPointer ( )
static

Definition at line 53 of file TestParameters.cc.

54 {
55  if(!fManager) {
56  fManager = new TestParameters();
57  }
58  return fManager;
59 }
G4double TestParameters::GetPositionZ ( ) const

Definition at line 195 of file TestParameters.cc.

196 {
197  return fPositionZ;
198 }
void TestParameters::SetBeamEnergy ( G4double  val)

Definition at line 202 of file TestParameters.cc.

203 {
204  fBeamEnergy = val;
205 }
void TestParameters::SetBeamParticle ( const G4ParticleDefinition ptr)

Definition at line 216 of file TestParameters.cc.

217 {
218  fParticle = ptr;
219 }
void TestParameters::SetEnergyPerChannel ( G4double  value)

Definition at line 146 of file TestParameters.cc.

147 {
148  if(value > 0.0) { fFactorALICE = 1./value; }
149 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetEnergySmear ( G4double  value)

Definition at line 174 of file TestParameters.cc.

175 {
176  fEnergySmear = value;
177 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetMaxCluster ( G4int  value)

Definition at line 132 of file TestParameters.cc.

133 {
134  fMaxCluster = value;
135 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetMaxEnergy ( G4double  value)

Definition at line 90 of file TestParameters.cc.

91 {
92  fMaxEnergy = value;
93 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetNormFactor ( G4double  value)

Definition at line 160 of file TestParameters.cc.

161 {
162  fNormFactor = value;
163 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetNumberBins ( G4int  value)

Definition at line 104 of file TestParameters.cc.

105 {
106  fBinsE = value;
107 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetNumberBinsCluster ( G4int  value)

Definition at line 118 of file TestParameters.cc.

119 {
120  fBinsCluster = value;
121 }
const XML_Char int const XML_Char * value
Definition: expat.h:331
void TestParameters::SetPositionZ ( G4double  val)

Definition at line 188 of file TestParameters.cc.

189 {
190  fPositionZ = val;
191 }

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