| 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(Option_t *t=""); ///< 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); |
| 70 |
// |
// |
| 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 |
// |
// |
| 119 |
// |
// |
| 120 |
// track related variables: inline methods |
// track related variables: inline methods |
| 121 |
// |
// |
| 122 |
Int_t ntrk(){return CaloTrk->GetEntries();}; ///< number of saved blocks of track-related variables |
Int_t ntrk(){return CaloTrk->GetEntries();} ///< number of saved blocks of track-related variables |
| 123 |
// |
// |
| 124 |
// METHODS |
// METHODS |
| 125 |
// |
// |
| 126 |
Float_t impx(Int_t tr); ///< the x impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit) |
Float_t impx(Int_t tr); ///< the x impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit) |
| 127 |
Float_t impy(Int_t tr); ///< the y impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit) |
Float_t impy(Int_t tr); ///< the y impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit) |
| 128 |
|
|
| 129 |
|
TClonesArray** GetPointerToTrackArray(){return &CaloTrk;}///< returns pointer to pointer to the track array |
| 130 |
|
|
| 131 |
// |
// |
| 132 |
void GetElectronEnergy(Float_t &energy, Float_t &sigma); ///< returns energy and sigma using qtot and assuming the particle being an electron |
void GetElectronEnergy(Float_t &energy, Float_t &sigma); ///< returns energy and sigma using qtot and assuming the particle being an electron |
| 133 |
// |
// |
| 134 |
CaloTrkVar *GetCaloTrkVar(Int_t notrack); ///< returns a pointer to the CaloTrkVar class containing track related variables for track number notrack |
CaloTrkVar *GetCaloTrkVar(Int_t notrack); ///< returns a pointer to the CaloTrkVar class containing track related variables for track number notrack |
| 135 |
CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number |
CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number |
| 136 |
// |
// |
| 137 |
TClonesArray *GetTrackArray(){return CaloTrk;}; ///< returns a pointer to the track related variables array |
TClonesArray *GetTrackArray(){return CaloTrk;} ///< returns a pointer to the track related variables array |
| 138 |
CaloLevel2* GetCaloLevel2(){return this;}; ///< returns pointer to this object |
CaloLevel2* GetCaloLevel2(){return this;} ///< returns pointer to this object |
| 139 |
// |
// |
| 140 |
void GetLevel2Struct(cCaloLevel2 *l2) const; |
void GetLevel2Struct(cCaloLevel2 *l2) const; |
| 141 |
// |
// |
| 147 |
// constructor |
// constructor |
| 148 |
// |
// |
| 149 |
CaloLevel2(); ///< Constructor. |
CaloLevel2(); ///< Constructor. |
| 150 |
~CaloLevel2(){Delete();}; //ELENA |
~CaloLevel2(){Delete();} //ELENA |
| 151 |
// |
// |
| 152 |
friend class CaloLevel0; |
friend class CaloLevel0; |
| 153 |
// |
// |
| 154 |
ClassDef(CaloLevel2,5); |
ClassDef(CaloLevel2,6); |
| 155 |
}; |
}; |
| 156 |
|
|
| 157 |
#endif |
#endif |