CbmRoot
Loading...
Searching...
No Matches
CbmLitCheckBrem.h
Go to the documentation of this file.
1/* Copyright (C) 2009-2013 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer] */
4
5#ifndef CBMLITCHECKBREM_H_
6#define CBMLITCHECKBREM_H_
7
8#include "TObject.h"
9
10#include <string>
11#include <vector>
12class TGraph;
13
15 public:
16 CbmLitSimpleMaterial() : fZ(0.), fA(0.), fRho(0.), fX0(0.), fPHIRAD() { ; }
17 Double_t fZ;
18 Double_t fA;
19 Double_t fRho;
20 Double_t fX0;
21 std::vector<Double_t> fPHIRAD;
22};
23
24class CbmLitCheckBrem : public TObject {
25 public:
27 virtual ~CbmLitCheckBrem();
28
29 virtual void Check();
30
31 void CreateGraphs();
32 void FillGraphs();
33 void DrawGraphs();
34
35 void SetMaterial(const std::string& material) { fMat = material; }
36
37 private:
38 Int_t fNofMom;
39 std::vector<double> fMom;
41 std::vector<TGraph*> fTable;
42 std::vector<TGraph*> fCalc;
43 std::vector<CbmLitSimpleMaterial> fMaterials;
44 std::string fMat;
45
47};
48#endif /* CBMLITCHECKBREM_H_ */
virtual void Check()
std::vector< TGraph * > fCalc
std::vector< double > fMom
void SetMaterial(const std::string &material)
std::vector< TGraph * > fTable
ClassDef(CbmLitCheckBrem, 1)
std::vector< CbmLitSimpleMaterial > fMaterials
std::vector< Double_t > fPHIRAD