CbmRoot
CbmLitCheckEnergyLossMuons.h
Go to the documentation of this file.
1 #ifndef CBMLITCHECKENERGYLOSSMUONS_H_
2 #define CBMLITCHECKENERGYLOSSMUONS_H_
3 
4 #include "FairTask.h"
5 
6 #include <string>
7 using std::string;
8 
9 class TGraph;
10 
11 class CbmLitCheckEnergyLossMuons : public FairTask {
12 public:
15 
16  virtual void Check();
17 
18  void FillTableIron();
19  void FillTableTungsten();
20  void FillTableCarbon();
21  void CreateGraphs();
22  void CalcEloss();
23  void DrawGraphs();
24 
25  void SetMaterial(const std::string& material) { fMat = material; }
26 
27 private:
28  Double_t fMom[26];
29  TGraph* fTable[4];
30  TGraph* fCalc[4];
31  std::string fMat;
32 
33  string fOutputDir;
34 
37 
39 };
40 
41 #endif /* CBMLITCHECKENERGYLOSSMUONS_H_ */
CbmLitCheckEnergyLossMuons::operator=
CbmLitCheckEnergyLossMuons & operator=(const CbmLitCheckEnergyLossMuons &)
CbmLitCheckEnergyLossMuons::~CbmLitCheckEnergyLossMuons
virtual ~CbmLitCheckEnergyLossMuons()
Definition: CbmLitCheckEnergyLossMuons.cxx:49
CbmLitCheckEnergyLossMuons::ClassDef
ClassDef(CbmLitCheckEnergyLossMuons, 1)
CbmLitCheckEnergyLossMuons::fTable
TGraph * fTable[4]
Definition: CbmLitCheckEnergyLossMuons.h:29
CbmLitCheckEnergyLossMuons::FillTableCarbon
void FillTableCarbon()
Definition: CbmLitCheckEnergyLossMuons.cxx:195
CbmLitCheckEnergyLossMuons::SetMaterial
void SetMaterial(const std::string &material)
Definition: CbmLitCheckEnergyLossMuons.h:25
CbmLitCheckEnergyLossMuons
Definition: CbmLitCheckEnergyLossMuons.h:11
CbmLitCheckEnergyLossMuons::CreateGraphs
void CreateGraphs()
Definition: CbmLitCheckEnergyLossMuons.cxx:126
CbmLitCheckEnergyLossMuons::CbmLitCheckEnergyLossMuons
CbmLitCheckEnergyLossMuons()
Definition: CbmLitCheckEnergyLossMuons.cxx:19
CbmLitCheckEnergyLossMuons::DrawGraphs
void DrawGraphs()
Definition: CbmLitCheckEnergyLossMuons.cxx:69
CbmLitCheckEnergyLossMuons::FillTableTungsten
void FillTableTungsten()
Definition: CbmLitCheckEnergyLossMuons.cxx:166
CbmLitCheckEnergyLossMuons::Check
virtual void Check()
Definition: CbmLitCheckEnergyLossMuons.cxx:51
CbmLitCheckEnergyLossMuons::fMom
Double_t fMom[26]
Definition: CbmLitCheckEnergyLossMuons.h:28
CbmLitCheckEnergyLossMuons::fMat
std::string fMat
Definition: CbmLitCheckEnergyLossMuons.h:31
CbmLitCheckEnergyLossMuons::fCalc
TGraph * fCalc[4]
Definition: CbmLitCheckEnergyLossMuons.h:30
CbmLitCheckEnergyLossMuons::FillTableIron
void FillTableIron()
Definition: CbmLitCheckEnergyLossMuons.cxx:137
CbmLitCheckEnergyLossMuons::CalcEloss
void CalcEloss()
Definition: CbmLitCheckEnergyLossMuons.cxx:94
CbmLitCheckEnergyLossMuons::CbmLitCheckEnergyLossMuons
CbmLitCheckEnergyLossMuons(const CbmLitCheckEnergyLossMuons &)
CbmLitCheckEnergyLossMuons::fOutputDir
string fOutputDir
Definition: CbmLitCheckEnergyLossMuons.h:33