| 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 |
// |
// |
| 47 |
// |
// |
| 48 |
Int_t npmttdc; |
Int_t npmttdc; |
| 49 |
TArrayI pmttdc; |
TArrayI pmttdc; |
| 50 |
|
TArrayI tdcflag; // gf: 30 Nov 2006 |
| 51 |
Float_t beta[13]; |
Float_t beta[13]; |
| 52 |
// |
// |
| 53 |
Int_t npmtadc; |
Int_t npmtadc; |
| 54 |
TArrayI pmtadc; |
TArrayI pmtadc; |
| 55 |
|
TArrayI adcflag; // gf: 30 Nov 2006 |
| 56 |
TArrayF dedx; |
TArrayF dedx; |
| 57 |
// |
// |
| 58 |
Float_t xtofpos[3]; |
Float_t xtofpos[3]; |
| 76 |
TClonesArray *PMT; // class needed to store PMT hit informations |
TClonesArray *PMT; // class needed to store PMT hit informations |
| 77 |
TClonesArray *ToFTrk; // track related variable class |
TClonesArray *ToFTrk; // track related variable class |
| 78 |
Int_t tof_j_flag[6]; |
Int_t tof_j_flag[6]; |
| 79 |
|
Int_t unpackError; |
| 80 |
// |
// |
| 81 |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
| 82 |
// |
// |
| 86 |
Int_t npmt(){return PMT->GetEntries();}; |
Int_t npmt(){return PMT->GetEntries();}; |
| 87 |
|
|
| 88 |
// |
// |
| 89 |
|
void GetLevel2Struct(cToFLevel2 *) const; |
| 90 |
|
// |
| 91 |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
| 92 |
ToFPMT *GetToFPMT(Int_t nohit); |
ToFPMT *GetToFPMT(Int_t nohit); |
| 93 |
Int_t GetPMTid(Int_t gg, Int_t hh); |
Int_t GetPMTid(Int_t gg, Int_t hh); |
| 132 |
Int_t GetNHitPaddles(Int_t plane); |
Int_t GetNHitPaddles(Int_t plane); |
| 133 |
void Clear(); |
void Clear(); |
| 134 |
// |
// |
| 135 |
ClassDef(ToFLevel2,1); |
ClassDef(ToFLevel2,2); |
| 136 |
}; |
}; |
| 137 |
|
|
| 138 |
#endif |
#endif |