| 5 |
#include <TArrayI.h> |
#include <TArrayI.h> |
| 6 |
#include <TArrayF.h> |
#include <TArrayF.h> |
| 7 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 8 |
|
|
| 9 |
|
#include <ToFStruct.h> |
| 10 |
// |
// |
| 11 |
// class which contains track related variables |
// class which contains track related variables |
| 12 |
// |
// |
| 33 |
ToFPMT* GetToFPMT(){return this;}; |
ToFPMT* GetToFPMT(){return this;}; |
| 34 |
void Clear(); |
void Clear(); |
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
ClassDef(ToFPMT,1); |
ClassDef(ToFPMT,1); |
| 39 |
}; |
}; |
| 40 |
|
|
| 49 |
// |
// |
| 50 |
Int_t npmttdc; |
Int_t npmttdc; |
| 51 |
TArrayI pmttdc; |
TArrayI pmttdc; |
| 52 |
|
TArrayI tdcflag; // gf: 30 Nov 2006 |
| 53 |
Float_t beta[13]; |
Float_t beta[13]; |
| 54 |
// |
// |
| 55 |
Int_t npmtadc; |
Int_t npmtadc; |
| 56 |
TArrayI pmtadc; |
TArrayI pmtadc; |
| 57 |
|
TArrayI adcflag; // gf: 30 Nov 2006 |
| 58 |
TArrayF dedx; |
TArrayF dedx; |
| 59 |
// |
// |
| 60 |
Float_t xtofpos[3]; |
Float_t xtofpos[3]; |
| 78 |
TClonesArray *PMT; // class needed to store PMT hit informations |
TClonesArray *PMT; // class needed to store PMT hit informations |
| 79 |
TClonesArray *ToFTrk; // track related variable class |
TClonesArray *ToFTrk; // track related variable class |
| 80 |
Int_t tof_j_flag[6]; |
Int_t tof_j_flag[6]; |
| 81 |
|
Int_t unpackError; |
| 82 |
// |
// |
| 83 |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
| 84 |
// |
// |
| 88 |
Int_t npmt(){return PMT->GetEntries();}; |
Int_t npmt(){return PMT->GetEntries();}; |
| 89 |
|
|
| 90 |
// |
// |
| 91 |
|
void GetLevel2Struct(cToFLevel2 *) const; |
| 92 |
|
// |
| 93 |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
| 94 |
ToFPMT *GetToFPMT(Int_t nohit); |
ToFPMT *GetToFPMT(Int_t nohit); |
| 95 |
Int_t GetPMTid(Int_t gg, Int_t hh); |
Int_t GetPMTid(Int_t gg, Int_t hh); |
| 96 |
TString GetPMTName(Int_t ind); |
TString GetPMTName(Int_t ind); |
| 97 |
Int_t GetPlaneIndex(Int_t pmt_id); |
Int_t GetPlaneIndex(Int_t pmt_id); |
| 98 |
void GetMatrix(Int_t notrack, Float_t adc[4][12], Float_t tdc[4][12]); |
void GetMatrix(Int_t notrack, Float_t adc[4][12], Float_t tdc[4][12]); |
| 99 |
void GetPMTIndex(Int_t pmt_id, Int_t gg, Int_t hh); |
void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh); |
| 100 |
// |
// |
| 101 |
// constructor |
// constructor |
| 102 |
// |
// |
| 103 |
ToFLevel2(); |
ToFLevel2(); |
| 104 |
|
~ToFLevel2(){Delete();}; //ELENA |
| 105 |
|
void Delete(); //ELENA |
| 106 |
|
void Set();//ELENA |
| 107 |
// |
// |
| 108 |
// |
// |
| 109 |
ToFLevel2* GetToFLevel2(){return this;}; |
ToFLevel2* GetToFLevel2(){return this;}; |
| 137 |
Int_t GetNHitPaddles(Int_t plane); |
Int_t GetNHitPaddles(Int_t plane); |
| 138 |
void Clear(); |
void Clear(); |
| 139 |
// |
// |
| 140 |
ClassDef(ToFLevel2,1); |
ClassDef(ToFLevel2,2); |
| 141 |
}; |
}; |
| 142 |
|
|
| 143 |
#endif |
#endif |