CbmRoot
CbmLitCheckBrem.h
Go to the documentation of this file.
1 #ifndef CBMLITCHECKBREM_H_
2 #define CBMLITCHECKBREM_H_
3 
4 #include "TObject.h"
5 #include <string>
6 #include <vector>
7 class TGraph;
8 
10 public:
11  CbmLitSimpleMaterial() : fZ(0.), fA(0.), fRho(0.), fX0(0.), fPHIRAD() { ; }
12  Double_t fZ;
13  Double_t fA;
14  Double_t fRho;
15  Double_t fX0;
16  std::vector<Double_t> fPHIRAD;
17 };
18 
19 class CbmLitCheckBrem : public TObject {
20 public:
22  virtual ~CbmLitCheckBrem();
23 
24  virtual void Check();
25 
26  void CreateGraphs();
27  void FillGraphs();
28  void DrawGraphs();
29 
30  void SetMaterial(const std::string& material) { fMat = material; }
31 
32 private:
33  Int_t fNofMom;
34  std::vector<double> fMom;
36  std::vector<TGraph*> fTable;
37  std::vector<TGraph*> fCalc;
38  std::vector<CbmLitSimpleMaterial> fMaterials;
39  std::string fMat;
40 
42 };
43 #endif /* CBMLITCHECKBREM_H_ */
CbmLitCheckBrem
Definition: CbmLitCheckBrem.h:19
CbmLitCheckBrem::fNofMaterials
Int_t fNofMaterials
Definition: CbmLitCheckBrem.h:35
CbmLitCheckBrem::fMaterials
std::vector< CbmLitSimpleMaterial > fMaterials
Definition: CbmLitCheckBrem.h:38
CbmLitSimpleMaterial::fZ
Double_t fZ
Definition: CbmLitCheckBrem.h:12
CbmLitCheckBrem::fCalc
std::vector< TGraph * > fCalc
Definition: CbmLitCheckBrem.h:37
CbmLitCheckBrem::CbmLitCheckBrem
CbmLitCheckBrem()
Definition: CbmLitCheckBrem.cxx:18
CbmLitCheckBrem::SetMaterial
void SetMaterial(const std::string &material)
Definition: CbmLitCheckBrem.h:30
CbmLitCheckBrem::CreateGraphs
void CreateGraphs()
Definition: CbmLitCheckBrem.cxx:191
CbmLitSimpleMaterial::fX0
Double_t fX0
Definition: CbmLitCheckBrem.h:15
CbmLitCheckBrem::fTable
std::vector< TGraph * > fTable
Definition: CbmLitCheckBrem.h:36
CbmLitCheckBrem::~CbmLitCheckBrem
virtual ~CbmLitCheckBrem()
Definition: CbmLitCheckBrem.cxx:95
CbmLitSimpleMaterial::fRho
Double_t fRho
Definition: CbmLitCheckBrem.h:14
CbmLitCheckBrem::fNofMom
Int_t fNofMom
Definition: CbmLitCheckBrem.h:33
CbmLitSimpleMaterial::fPHIRAD
std::vector< Double_t > fPHIRAD
Definition: CbmLitCheckBrem.h:16
CbmLitCheckBrem::FillGraphs
void FillGraphs()
Definition: CbmLitCheckBrem.cxx:169
CbmLitSimpleMaterial::CbmLitSimpleMaterial
CbmLitSimpleMaterial()
Definition: CbmLitCheckBrem.h:11
CbmLitSimpleMaterial::fA
Double_t fA
Definition: CbmLitCheckBrem.h:13
CbmLitCheckBrem::fMat
std::string fMat
Definition: CbmLitCheckBrem.h:39
CbmLitCheckBrem::Check
virtual void Check()
Definition: CbmLitCheckBrem.cxx:97
CbmLitSimpleMaterial
Definition: CbmLitCheckBrem.h:9
CbmLitCheckBrem::fMom
std::vector< double > fMom
Definition: CbmLitCheckBrem.h:34
CbmLitCheckBrem::ClassDef
ClassDef(CbmLitCheckBrem, 1)
CbmLitCheckBrem::DrawGraphs
void DrawGraphs()
Definition: CbmLitCheckBrem.cxx:110