CbmRoot
CbmTrdSetTracksPidModWkn.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmTrdSetTracksPidModWkn header file -----
3 // ----- Created 13/02/2007 by F. Uhlig -----
4 // -------------------------------------------------------------------------
5 
6 
27 #ifndef CBM_TRD_SET_TRACKS_PID_MOD_WKN_H
28 #define CBM_TRD_SET_TRACKS_PID_MOD_WKN_H
29 
30 #include "FairTask.h"
31 #include "TH1D.h"
32 #include <string>
33 #include <vector>
34 
35 class TClonesArray;
36 
37 class CbmTrdSetTracksPidModWkn : public FairTask {
38 
39 public:
42 
43 
49  CbmTrdSetTracksPidModWkn(const char* name, const char* title = "FairTask");
50 
51 
53  virtual ~CbmTrdSetTracksPidModWkn();
54 
55 
57  virtual InitStatus Init();
58 
59 
61  virtual void Exec(Option_t* opt);
62 
63 
65  virtual void Finish();
66 
68  void SetType(const std::string& SISType) { fSISType = SISType; }
69  void SetSIS100() { fSISType = "sis100"; }
70  void SetSIS300() { fSISType = "sis300"; }
71 
72  void SetParameters();
73 
74 private:
75  TClonesArray* fTrackArray; // Input array of TRD tracks
76  TClonesArray* fTrdHitArray; // Input array of TRD Hits
77 
78  // Parametrs
79  int fnSet; // number of the layers with TR
80  float fdegWkn, // statistics degree
82  fEmp, // energy loss transformation parameter
83  fXi, // energy loss transformation parameter
85 
86 
87  // Settings
88  // Set-up
89  // "sis100" - TRD with 10 layers
90  // "sis300" - TRD with 4 layers
91  std::string fSISType;
92 
95 
97 };
98 
99 #endif
CbmTrdSetTracksPidModWkn::fDiff
float fDiff
Definition: CbmTrdSetTracksPidModWkn.h:84
CbmTrdSetTracksPidModWkn::CbmTrdSetTracksPidModWkn
CbmTrdSetTracksPidModWkn()
Definition: CbmTrdSetTracksPidModWkn.cxx:34
CbmTrdSetTracksPidModWkn::Finish
virtual void Finish()
Definition: CbmTrdSetTracksPidModWkn.cxx:221
CbmTrdSetTracksPidModWkn::fwkn0
float fwkn0
Definition: CbmTrdSetTracksPidModWkn.h:81
CbmTrdSetTracksPidModWkn::SetSIS100
void SetSIS100()
Definition: CbmTrdSetTracksPidModWkn.h:69
CbmTrdSetTracksPidModWkn::fTrackArray
TClonesArray * fTrackArray
Definition: CbmTrdSetTracksPidModWkn.h:75
CbmTrdSetTracksPidModWkn::SetParameters
void SetParameters()
Definition: CbmTrdSetTracksPidModWkn.cxx:202
CbmTrdSetTracksPidModWkn::fk1
float fk1
Definition: CbmTrdSetTracksPidModWkn.h:81
CbmTrdSetTracksPidModWkn::fTrdHitArray
TClonesArray * fTrdHitArray
Definition: CbmTrdSetTracksPidModWkn.h:76
CbmTrdSetTracksPidModWkn::fXi
float fXi
Definition: CbmTrdSetTracksPidModWkn.h:83
CbmTrdSetTracksPidModWkn
Definition: CbmTrdSetTracksPidModWkn.h:37
CbmTrdSetTracksPidModWkn::CbmTrdSetTracksPidModWkn
CbmTrdSetTracksPidModWkn(const CbmTrdSetTracksPidModWkn &)
CbmTrdSetTracksPidModWkn::~CbmTrdSetTracksPidModWkn
virtual ~CbmTrdSetTracksPidModWkn()
Definition: CbmTrdSetTracksPidModWkn.cxx:58
CbmTrdSetTracksPidModWkn::Init
virtual InitStatus Init()
Definition: CbmTrdSetTracksPidModWkn.cxx:63
CbmTrdSetTracksPidModWkn::fWmax
float fWmax
Definition: CbmTrdSetTracksPidModWkn.h:84
CbmTrdSetTracksPidModWkn::fEmp
float fEmp
Definition: CbmTrdSetTracksPidModWkn.h:82
CbmTrdSetTracksPidModWkn::fnSet
int fnSet
Definition: CbmTrdSetTracksPidModWkn.h:79
CbmTrdSetTracksPidModWkn::SetType
void SetType(const std::string &SISType)
Definition: CbmTrdSetTracksPidModWkn.h:68
CbmTrdSetTracksPidModWkn::fdegWkn
float fdegWkn
Definition: CbmTrdSetTracksPidModWkn.h:80
CbmTrdSetTracksPidModWkn::Exec
virtual void Exec(Option_t *opt)
Definition: CbmTrdSetTracksPidModWkn.cxx:95
CbmTrdSetTracksPidModWkn::ClassDef
ClassDef(CbmTrdSetTracksPidModWkn, 1)
CbmTrdSetTracksPidModWkn::fWmin
float fWmin
Definition: CbmTrdSetTracksPidModWkn.h:84
CbmTrdSetTracksPidModWkn::fSISType
std::string fSISType
Definition: CbmTrdSetTracksPidModWkn.h:91
CbmTrdSetTracksPidModWkn::operator=
CbmTrdSetTracksPidModWkn & operator=(const CbmTrdSetTracksPidModWkn &)
CbmTrdSetTracksPidModWkn::SetSIS300
void SetSIS300()
Definition: CbmTrdSetTracksPidModWkn.h:70