CbmRoot
Loading...
Searching...
No Matches
CbmTrdGas.h
Go to the documentation of this file.
1/* Copyright (C) 2007-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev, Florian Uhlig [committer] */
4
10#ifndef CBMTRDGAS_H_
11#define CBMTRDGAS_H_
12
13#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
14#include <RtypesCore.h> // for Double_t, Int_t
15#include <TObject.h> // for TObject
16#include <TString.h> // for TString
17
18class CbmTrdGas : public TObject {
19public:
20 CbmTrdGas();
21 virtual ~CbmTrdGas();
22
23 void Init();
24 TString GetFileName(TString method) const;
25
26 Int_t GetDetType() const { return fDetType; }
27 Double_t GetGasThick() const { return fGasThick; }
28 Double_t GetNobleGas() const { return fPercentNobleGas; }
29 Double_t GetCO2() const { return fPercentCO2; }
30 Int_t GetNobleGasType() const { return fNobleGasType; }
31
32 // static access method
33 static CbmTrdGas* Instance() { return fgInstance; }
34
35
36private:
39
40 Int_t fDetType;
41 Double_t fGasThick;
43 Double_t fPercentCO2;
46 TString fFileNameLike;
47 TString fFileNameANN;
48 void SetFileName();
49
50
51 ClassDef(CbmTrdGas, 1)
52};
53
54
55#endif //CBM_TRD_GAS_H
void SetFileName()
/‍** File name of input for ANN method *‍/
TString fFileNameANN
/‍** File name of input for likelihood method *‍/
Definition CbmTrdGas.h:47
Double_t GetNobleGas() const
Definition CbmTrdGas.h:28
Int_t GetNobleGasType() const
Definition CbmTrdGas.h:30
CbmTrdGas & operator=(const CbmTrdGas &)
CbmTrdGas(const CbmTrdGas &)
TString fFileNameLike
Definition CbmTrdGas.h:46
virtual ~CbmTrdGas()
Definition CbmTrdGas.cxx:41
Int_t fDetType
Definition CbmTrdGas.h:40
Double_t GetGasThick() const
Definition CbmTrdGas.h:27
static CbmTrdGas * fgInstance
Definition CbmTrdGas.h:45
Int_t fNobleGasType
Definition CbmTrdGas.h:44
TString GetFileName(TString method) const
Int_t GetDetType() const
Definition CbmTrdGas.h:26
Double_t fGasThick
Definition CbmTrdGas.h:41
void Init()
Definition CbmTrdGas.cxx:43
Double_t fPercentNobleGas
Definition CbmTrdGas.h:42
Double_t fPercentCO2
Definition CbmTrdGas.h:43
static CbmTrdGas * Instance()
Definition CbmTrdGas.h:33
Double_t GetCO2() const
Definition CbmTrdGas.h:29