--- DarthVader/ToFLevel2/inc/ToFLevel2.h 2013/11/05 14:02:11 1.31 +++ DarthVader/ToFLevel2/inc/ToFLevel2.h 2014/09/16 08:05:40 1.33 @@ -263,6 +263,7 @@ Int_t default_calib; ///< one if the default calibration has been used to process the data, zero otherwise // Float_t GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl); // gf Apr 07 + Float_t GetdEdx(ToFTrkVar *trk, Int_t plane, Int_t adcfl); // gf Apr 07 Float_t CalcBeta(Int_t notrack, Float_t resmax, Float_t qualitycut, Float_t chi2cut); // wm feb 08 @@ -288,6 +289,7 @@ // gf Apr 07 void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07 + void GetdEdxPaddle(ToFTrkVar *trk, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07 TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt); Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07 //EMXX Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane, Float_t margin); // wm jun 2008 @@ -355,8 +357,14 @@ Int_t GetNHitPaddles(Int_t plane); Int_t GetTrueNHitPaddles(Int_t plane); void Clear(Option_t *t=""); + + // + TClonesArray *GetTrackArray(){return ToFTrk;} ///< returns a pointer to the track related variables array + TClonesArray** GetPointerToTrackArray(){return &ToFTrk;}///< returns pointer to pointer to the track array + + // - ClassDef(ToFLevel2,5); + ClassDef(ToFLevel2,6); }; #endif