CbmRoot
CbmTrdGas.h
Go to the documentation of this file.
1 
6 #ifndef CBMTRDGAS_H_
7 #define CBMTRDGAS_H_
8 
9 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
10 #include <RtypesCore.h> // for Double_t, Int_t
11 #include <TObject.h> // for TObject
12 #include <TString.h> // for TString
13 
14 class CbmTrdGas : public TObject {
15 public:
16  CbmTrdGas();
17  virtual ~CbmTrdGas();
18 
19  void Init();
20  TString GetFileName(TString method) const;
21 
22  Int_t GetDetType() const { return fDetType; }
23  Double_t GetGasThick() const { return fGasThick; }
24  Double_t GetNobleGas() const { return fPercentNobleGas; }
25  Double_t GetCO2() const { return fPercentCO2; }
26  Int_t GetNobleGasType() const { return fNobleGasType; }
27 
28  // static access method
29  static CbmTrdGas* Instance() { return fgInstance; }
30 
31 
32 private:
35 
36  Int_t fDetType;
37  Double_t fGasThick;
38  Double_t fPercentNobleGas;
39  Double_t fPercentCO2;
40  Int_t fNobleGasType;
42  TString fFileNameLike;
43  TString fFileNameANN;
44  void SetFileName();
45 
46 
47  ClassDef(CbmTrdGas, 1)
48 };
49 
50 
51 #endif //CBM_TRD_GAS_H
CbmTrdGas::GetDetType
Int_t GetDetType() const
Definition: CbmTrdGas.h:22
CbmTrdGas::GetFileName
TString GetFileName(TString method) const
Definition: CbmTrdGas.cxx:161
CbmTrdGas::fFileNameLike
TString fFileNameLike
Definition: CbmTrdGas.h:42
CbmTrdGas::fgInstance
static CbmTrdGas * fgInstance
Definition: CbmTrdGas.h:41
CbmTrdGas::SetFileName
void SetFileName()
/‍** File name of input for ANN method *‍/
Definition: CbmTrdGas.cxx:175
CbmTrdGas::~CbmTrdGas
virtual ~CbmTrdGas()
Definition: CbmTrdGas.cxx:38
CbmTrdGas::CbmTrdGas
CbmTrdGas()
Definition: CbmTrdGas.cxx:23
CbmTrdGas::GetNobleGas
Double_t GetNobleGas() const
Definition: CbmTrdGas.h:24
CbmTrdGas::fFileNameANN
TString fFileNameANN
/‍** File name of input for likelihood method *‍/
Definition: CbmTrdGas.h:43
CbmTrdGas::GetNobleGasType
Int_t GetNobleGasType() const
Definition: CbmTrdGas.h:26
CbmTrdGas::GetCO2
Double_t GetCO2() const
Definition: CbmTrdGas.h:25
CbmTrdGas::GetGasThick
Double_t GetGasThick() const
Definition: CbmTrdGas.h:23
CbmTrdGas::fNobleGasType
Int_t fNobleGasType
Definition: CbmTrdGas.h:40
CbmTrdGas::fGasThick
Double_t fGasThick
Definition: CbmTrdGas.h:37
CbmTrdGas::CbmTrdGas
CbmTrdGas(const CbmTrdGas &)
CbmTrdGas::fDetType
Int_t fDetType
Definition: CbmTrdGas.h:36
CbmTrdGas::Instance
static CbmTrdGas * Instance()
Definition: CbmTrdGas.h:29
CbmTrdGas::fPercentCO2
Double_t fPercentCO2
Definition: CbmTrdGas.h:39
CbmTrdGas
Definition: CbmTrdGas.h:14
CbmTrdGas::Init
void Init()
Definition: CbmTrdGas.cxx:40
CbmTrdGas::fPercentNobleGas
Double_t fPercentNobleGas
Definition: CbmTrdGas.h:38
CbmTrdGas::operator=
CbmTrdGas & operator=(const CbmTrdGas &)