| 9 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 10 |
#include <TArrayI.h> |
#include <TArrayI.h> |
| 11 |
// |
// |
| 12 |
|
#include <math.h> |
| 13 |
|
// |
| 14 |
#include <CaloStruct.h> |
#include <CaloStruct.h> |
| 15 |
// |
// |
| 16 |
|
|
| 63 |
*/ |
*/ |
| 64 |
CaloTrkVar(const CaloTrkVar &trkvar); ///< copy values from trkvar to this |
CaloTrkVar(const CaloTrkVar &trkvar); ///< copy values from trkvar to this |
| 65 |
// |
// |
| 66 |
void Clear(); ///< clear variables |
void Clear(Option_t *t=""); ///< clear variables |
| 67 |
CaloTrkVar* GetCaloTrkVar(){return this;}; ///< returns pointer to this object |
CaloTrkVar* GetCaloTrkVar(){return this;}; ///< returns pointer to this object |
| 68 |
// |
// |
| 69 |
ClassDef(CaloTrkVar,2); |
ClassDef(CaloTrkVar,2); |
| 88 |
Int_t perr[4]; ///< processing errors (one for each calorimeter section) |
Int_t perr[4]; ///< processing errors (one for each calorimeter section) |
| 89 |
Int_t swerr[4];///< DSP status word |
Int_t swerr[4];///< DSP status word |
| 90 |
Int_t crc[4]; ///< CRC errors on data |
Int_t crc[4]; ///< CRC errors on data |
| 91 |
Int_t selftrigger;///< self-trigger flag (1 selftrigger event, 0 normal event) |
Int_t selftrigger;///< self-trigger flag: 0 tof trigger, 2 selftrigger event, 3 selftrigger + tof trigger, 102 selftrigger event not stored in the selfdelay array NB: selftrigger == S4 trigger || no trigger || calo trigger in the triggerconf array |
| 92 |
// |
// |
| 93 |
// common variables (not related to tracks) |
// common variables (not related to tracks) |
| 94 |
// |
// |
| 95 |
Int_t nstrip; ///< total number of strip hit |
Int_t nstrip; ///< total number of strip hit |
| 96 |
|
Int_t nsatstrip; ///< total number of strip hit with saturated signal |
| 97 |
Int_t nx22; ///< number of strip hit in the last silicon plane of the calorimeter (x view number 22) |
Int_t nx22; ///< number of strip hit in the last silicon plane of the calorimeter (x view number 22) |
| 98 |
Int_t planemax[2]; ///< plane of maximum energy release (x and y) |
Int_t planemax[2]; ///< plane of maximum energy release (x and y) |
| 99 |
Int_t selfdelay[4][7]; ///< Delay of the selftrigger planes + coincidence for every section |
Int_t selfdelay[4][7]; ///< Delay of the selftrigger planes + coincidence for every section |
| 137 |
// |
// |
| 138 |
void GetLevel2Struct(cCaloLevel2 *l2) const; |
void GetLevel2Struct(cCaloLevel2 *l2) const; |
| 139 |
// |
// |
| 140 |
void Clear(); |
void Clear(Option_t *t=""); |
| 141 |
void Delete(); //ELENA |
void Delete(Option_t *t=""); //ELENA |
| 142 |
void Set(); //ELENA |
void Set(); //ELENA |
| 143 |
|
Bool_t IsGood(Bool_t strict = false); // method to check if the event is good or not |
| 144 |
// |
// |
| 145 |
// constructor |
// constructor |
| 146 |
// |
// |
| 149 |
// |
// |
| 150 |
friend class CaloLevel0; |
friend class CaloLevel0; |
| 151 |
// |
// |
| 152 |
ClassDef(CaloLevel2,4); |
ClassDef(CaloLevel2,6); |
| 153 |
}; |
}; |
| 154 |
|
|
| 155 |
#endif |
#endif |