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