ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtGas.h
Go to the documentation of this file.
1 #ifndef AtGAS_H
2 #define AtGAS_H
3 
4 #include <Rtypes.h>
5 // ROOT classes
6 #include <TString.h>
7 
8 class TBuffer;
9 class TClass;
10 class TMemberInspector;
11 
12 class AtGas {
13 public:
14  // Constructor and Destructor
15  AtGas(TString);
16  ~AtGas() = default;
17 
18  // Why do we speefiy a assignment operator with a non-standard signature?
19  void operator=(const AtGas &GasToCopy);
20 
21  // Getter
22  Double_t GetEIonize();
23  Double_t GetDriftVelocity();
24  Double_t GetCoefAttachment();
25  Double_t GetCoefDiffusionLong();
26  Double_t GetCoefDiffusionTrans();
27  Int_t GetGain();
28  UInt_t GetRandomCS();
29 
30 private:
31  TString fGasFileName;
32  void InitializeParameters();
33 
34  Double_t fEIonize{};
35  Double_t fDriftVelocity{};
36  Double_t fCoefAttachment{};
37  Double_t fCoefDiffusionLong{};
38  Double_t fCoefDiffusionTrans{};
39  Double_t fGain{};
40 
41  ClassDef(AtGas, 1)
42 };
43 
44 #endif
AtGas::GetGain
Int_t GetGain()
Definition: AtGas.cxx:90
AtGas::AtGas
AtGas(TString)
AtGas::GetCoefAttachment
Double_t GetCoefAttachment()
Definition: AtGas.cxx:78
AtGas::GetDriftVelocity
Double_t GetDriftVelocity()
Definition: AtGas.cxx:74
AtGas::GetCoefDiffusionTrans
Double_t GetCoefDiffusionTrans()
Definition: AtGas.cxx:86
AtGas::GetRandomCS
UInt_t GetRandomCS()
Definition: AtGas.cxx:94
AtGas::operator=
void operator=(const AtGas &GasToCopy)
Definition: AtGas.cxx:60
AtGas
Definition: AtGas.h:12
AtGas::GetCoefDiffusionLong
Double_t GetCoefDiffusionLong()
Definition: AtGas.cxx:82
AtGas::GetEIonize
Double_t GetEIonize()
Definition: AtGas.cxx:70
AtGas::~AtGas
~AtGas()=default