| 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 |
// |
// |
| 74 |
TClonesArray *PMT; // class needed to store PMT hit informations |
TClonesArray *PMT; // class needed to store PMT hit informations |
| 75 |
TClonesArray *ToFTrk; // track related variable class |
TClonesArray *ToFTrk; // track related variable class |
| 76 |
Int_t tof_j_flag[6]; |
Int_t tof_j_flag[6]; |
| 77 |
|
Int_t unpackError; |
| 78 |
// |
// |
| 79 |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
Float_t GetdEdx(Int_t notrack, Int_t plane); |
| 80 |
// |
// |
| 84 |
Int_t npmt(){return PMT->GetEntries();}; |
Int_t npmt(){return PMT->GetEntries();}; |
| 85 |
|
|
| 86 |
// |
// |
| 87 |
|
void GetLevel2Struct(cToFLevel2 *) const; |
| 88 |
|
// |
| 89 |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
ToFTrkVar *GetToFTrkVar(Int_t notrack); |
| 90 |
ToFPMT *GetToFPMT(Int_t nohit); |
ToFPMT *GetToFPMT(Int_t nohit); |
| 91 |
Int_t GetPMTid(Int_t gg, Int_t hh); |
Int_t GetPMTid(Int_t gg, Int_t hh); |
| 92 |
TString GetPMTName(Int_t ind); |
TString GetPMTName(Int_t ind); |
| 93 |
Int_t GetPlaneIndex(Int_t pmt_id); |
Int_t GetPlaneIndex(Int_t pmt_id); |
| 94 |
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]); |
| 95 |
void GetPMTIndex(Int_t pmt_id, Int_t gg, Int_t hh); |
void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh); |
| 96 |
// |
// |
| 97 |
// constructor |
// constructor |
| 98 |
// |
// |
| 130 |
Int_t GetNHitPaddles(Int_t plane); |
Int_t GetNHitPaddles(Int_t plane); |
| 131 |
void Clear(); |
void Clear(); |
| 132 |
// |
// |
| 133 |
ClassDef(ToFLevel2,1); |
ClassDef(ToFLevel2,2); |
| 134 |
}; |
}; |
| 135 |
|
|
| 136 |
#endif |
#endif |