Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TestParameters.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
28 //
29 // $Id: HistoManager.hh 78549 2014-01-07 09:42:35Z gcosmo $
30 //
31 //---------------------------------------------------------------------------
32 //
33 // ClassName: HistoManager
34 //
35 // Description: Singleton class to make analysis and build histograms.
36 // User cannot access to the constructor.
37 // The pointer of the only existing object can be got via
38 // HistoManager::GetPointer() static method.
39 // The first invokation of this static method makes
40 // the singleton object.
41 //
42 // Author: V.Ivanchenko 01.09.2010
43 //
44 //----------------------------------------------------------------------------
45 //
46 
47 #ifndef TestParameters_h
48 #define TestParameters_h 1
49 
50 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
51 
52 #include "globals.hh"
53 #include "G4ParticleDefinition.hh"
54 
55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
56 
58 {
59 
60 public:
61  // With description
62 
63  static TestParameters* GetPointer();
64 
65 private:
66 
68 
69 public: // Without description
70 
72 
74 
75  G4double GetMaxEnergy() const;
76 
77  void SetNumberBins(G4int value);
78 
79  G4int GetNumberBins() const;
80 
81  void SetNumberBinsCluster(G4int value);
82 
84 
85  void SetMaxCluster(G4int value);
86 
87  G4int GetMaxCluster() const;
88 
89  void SetEnergyPerChannel(G4double value);
90 
91  G4double GetFactorALICE() const;
92 
93  void SetNormFactor(G4double value);
94 
95  G4double GetNormFactor() const;
96 
97  void SetEnergySmear(G4double value);
98 
99  G4double GetEnergySmear() const;
100 
101  void SetPositionZ(G4double val);
102 
103  G4double GetPositionZ() const;
104 
105  void SetBeamEnergy(G4double val);
106 
107  G4double GetBeamEnergy() const;
108 
110 
111  const G4ParticleDefinition* GetBeamParticle() const;
112 
113 private:
114 
115  static TestParameters* fManager;
116 
117  G4double fMaxEnergy;
118  G4double fFactorALICE;
119  G4double fNormFactor;
120  G4double fEnergySmear;
121  G4double fPositionZ;
122  G4double fBeamEnergy;
123 
124  G4int fBinsE;
125  G4int fBinsCluster;
126  G4int fMaxCluster;
127 
128  const G4ParticleDefinition* fParticle;
129 };
130 
131 #endif
G4double GetMaxEnergy() const
G4int GetNumberBins() const
G4int GetNumberBinsCluster() const
void SetNumberBinsCluster(G4int value)
G4double GetFactorALICE() const
const G4ParticleDefinition * GetBeamParticle() const
void SetEnergyPerChannel(G4double value)
void SetPositionZ(G4double val)
void SetMaxCluster(G4int value)
int G4int
Definition: G4Types.hh:78
void SetNormFactor(G4double value)
G4double GetPositionZ() const
void SetEnergySmear(G4double value)
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4int GetMaxCluster() const
void SetNumberBins(G4int value)
G4double GetEnergySmear() const
G4double GetNormFactor() const
G4double GetBeamEnergy() const
void SetBeamParticle(const G4ParticleDefinition *)
void SetMaxEnergy(G4double value)
static TestParameters * GetPointer()
double G4double
Definition: G4Types.hh:76
void SetBeamEnergy(G4double val)