AMSDST
myTrdK.h
Go to the documentation of this file.
1 // Authors: M.Duranti - INFN di Perugia
2 #ifndef myTrdK_h
3 #define myTrdK_h
4 
5 #include "myTrdTrackBase.h"
6 
7 #ifdef _WITHGBATCH_
8 // TRD KOUNINE CALIB
9 const float trdkADCth=15;
10 #endif //#ifdef _WITHGBATCH_
11 
12 class myTrdK: public myTrdTrackBase {
13  public:
15  myTrdK();
17  ~myTrdK();
18 
21  Bool_t LHRValid;
22  Bool_t LHRValidCorr;
23  Double32_t LHR[3];
24  Double32_t LHRCorr[3];
25  Double32_t LH[3];
26  Double32_t LHCorr[3];
30  Float_t OffTrackAmps;
31 
34  Double32_t LHRrefit[3],
35  LHrefit[3],
36  LHRrefitCorr[3],
37  LHrefitCorr[3];
38 
39  Double32_t TRDCharge;
40  Double32_t TRDChargeError;
42 
43  virtual void Clear(Option_t* option="");
44  private:
45  virtual void init();
46 
47  public:
48  ClassDef(myTrdK,7);
49 };
50 
51 #ifdef _WITHGBATCH_
52 
53 template<class SeedType>
54 class myTrdKFiller: public myTrdK {
55  public:
57  myTrdKFiller();
59  ~myTrdKFiller();
60 
61  void Fill(short int i_track, SeedType* track=0, float Energy=0, float kDef=0);
62 
63  virtual void Clear(Option_t* option="");
64  private:
65  virtual void init();
66 
67 // public:
68 // ClassDef(myTrdKFiller,1);
69 };
70 class TrTrackR;
71 class TrdTrackR;
72 typedef myTrdKFiller<TrTrackR> myTrdKFromTrTrackFiller;
73 typedef myTrdKFiller<TrdTrackR> myTrdKFromTrdTrackFiller;
74 
75 #endif //#ifdef _WITHGBATCH_
76 
77 #endif