Geant4  10.02.p02
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 "G4DataVector.hh"
54 #include "G4StatDouble.hh"
55 
56 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
57 
58 //class RunAction;
59 //class G4Step;
60 
62 {
63 
64 public:
65  // With description
66 
67  static TestParameters* GetPointer();
68 
69 private:
70 
72 
73 public: // Without description
74 
76 
77  void SetMaxEnergy(G4double value);
78 
79  G4double GetMaxEnergy() const;
80 
81  void SetNumberBins(G4int value);
82 
83  G4int GetNumberBins() const;
84 
85  void SetNumberBinsCluster(G4int value);
86 
88 
89  void SetMaxCluster(G4int value);
90 
91  G4int GetMaxCluster() const;
92 
93  void SetEnergyPerChannel(G4double value);
94 
95  G4double GetFactorALICE() const;
96 
97  void SetNormFactor(G4double value);
98 
99  G4double GetNormFactor() const;
100 
101  void SetEnergySmear(G4double value);
102 
103  G4double GetEnergySmear() const;
104 
105  void SetPositionZ(G4double val);
106 
107  G4double GetPositionZ() const;
108 
109 private:
110 
111  // MEMBERS
113 
119 
123 };
124 
125 #endif
G4double GetMaxEnergy() const
G4int GetNumberBins() const
G4int GetNumberBinsCluster() const
void SetNumberBinsCluster(G4int value)
G4double GetFactorALICE() const
static TestParameters * fManager
void SetEnergyPerChannel(G4double value)
void SetPositionZ(G4double val)
void SetMaxCluster(G4int value)
int G4int
Definition: G4Types.hh:78
void SetNormFactor(G4double value)
G4double fEnergySmear
G4double GetPositionZ() const
void SetEnergySmear(G4double value)
G4int GetMaxCluster() const
void SetNumberBins(G4int value)
G4double fNormFactor
G4double GetEnergySmear() const
G4double GetNormFactor() const
void SetMaxEnergy(G4double value)
static TestParameters * GetPointer()
G4double fFactorALICE
double G4double
Definition: G4Types.hh:76