--- DarthVader/CalorimeterLevel2/inc/CaloLevel2.h 2007/03/18 20:22:52 1.14 +++ DarthVader/CalorimeterLevel2/inc/CaloLevel2.h 2008/12/04 13:50:40 1.20 @@ -9,6 +9,8 @@ #include #include // +#include +// #include // @@ -61,7 +63,7 @@ */ CaloTrkVar(const CaloTrkVar &trkvar); ///< copy values from trkvar to this // - void Clear(); ///< clear variables + void Clear(Option_t *t=""); ///< clear variables CaloTrkVar* GetCaloTrkVar(){return this;}; ///< returns pointer to this object // ClassDef(CaloTrkVar,2); @@ -91,8 +93,10 @@ // common variables (not related to tracks) // Int_t nstrip; ///< total number of strip hit + Int_t nsatstrip; ///< total number of strip hit with saturated signal Int_t nx22; ///< number of strip hit in the last silicon plane of the calorimeter (x view number 22) Int_t planemax[2]; ///< plane of maximum energy release (x and y) + Int_t selfdelay[4][7]; ///< Delay of the selftrigger planes + coincidence for every section Float_t qtot; ///< total energy detected (MIP) Float_t qx22; ///< energy detected in the last silicon plane of the calorimeter (x view number 22) Float_t qmax; ///< the maximum energy detected in a strip @@ -126,15 +130,17 @@ void GetElectronEnergy(Float_t &energy, Float_t &sigma); ///< returns energy and sigma using qtot and assuming the particle being an electron // CaloTrkVar *GetCaloTrkVar(Int_t notrack); ///< returns a pointer to the CaloTrkVar class containing track related variables for track number notrack + CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number // TClonesArray *GetTrackArray(){return CaloTrk;}; ///< returns a pointer to the track related variables array CaloLevel2* GetCaloLevel2(){return this;}; ///< returns pointer to this object // void GetLevel2Struct(cCaloLevel2 *l2) const; // - void Clear(); - void Delete(); //ELENA + void Clear(Option_t *t=""); + void Delete(Option_t *t=""); //ELENA void Set(); //ELENA + Bool_t IsGood(Bool_t strict = false); // method to check if the event is good or not // // constructor // @@ -143,7 +149,7 @@ // friend class CaloLevel0; // - ClassDef(CaloLevel2,4); + ClassDef(CaloLevel2,5); }; #endif