/[PAMELA software]/DarthVader/ToFLevel2/inc/ToFLevel2.h
ViewVC logotype

Diff of /DarthVader/ToFLevel2/inc/ToFLevel2.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by mocchiut, Thu Apr 12 12:27:07 2012 UTC revision 1.34 by pam-fi, Fri Oct 17 07:54:17 2014 UTC
# Line 263  class ToFLevel2 : public TObject { Line 263  class ToFLevel2 : public TObject {
263    Int_t default_calib; ///< one if the default calibration has been used to process the data, zero otherwise    Int_t default_calib; ///< one if the default calibration has been used to process the data, zero otherwise
264    //    //
265    Float_t GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl); // gf Apr 07    Float_t GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl); // gf Apr 07
266      Float_t GetdEdx(ToFTrkVar *trk, Int_t plane, Int_t adcfl); // gf Apr 07
267    
268    Float_t CalcBeta(Int_t notrack, Float_t resmax, Float_t qualitycut, Float_t chi2cut);  //  wm feb 08    Float_t CalcBeta(Int_t notrack, Float_t resmax, Float_t qualitycut, Float_t chi2cut);  //  wm feb 08
269    
# Line 278  class ToFLevel2 : public TObject { Line 279  class ToFLevel2 : public TObject {
279    void GetLevel2Struct(cToFLevel2 *) const;    void GetLevel2Struct(cToFLevel2 *) const;
280    //    //
281    ToFTrkVar *GetToFTrkVar(Int_t notrack);    ToFTrkVar *GetToFTrkVar(Int_t notrack);
282      ToFTrkVar* GetToFStoredTrack(Int_t seqno);///< returns pointer to the track set related to the seqno number
283    ToFPMT *GetToFPMT(Int_t nohit);    ToFPMT *GetToFPMT(Int_t nohit);
284    Int_t GetPMTid(Int_t gg, Int_t hh);    Int_t GetPMTid(Int_t gg, Int_t hh);
285    TString GetPMTName(Int_t ind);    TString GetPMTName(Int_t ind);
# Line 288  class ToFLevel2 : public TObject { Line 290  class ToFLevel2 : public TObject {
290    
291    // gf Apr 07    // gf Apr 07
292    void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07    void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07
293      void GetdEdxPaddle(ToFTrkVar *trk, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07
294    TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt);    TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt);
295    Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07    Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07 //EMXX
296    Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane, Float_t margin); // wm jun 2008    Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane, Float_t margin); // wm jun 2008
297    void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07    void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07
298    void GetPaddlePMT(Int_t paddle, Int_t &pmtleft, Int_t &pmtright); // gf Apr 07    void GetPaddlePMT(Int_t paddle, Int_t &pmtleft, Int_t &pmtright); // gf Apr 07
# Line 351  class ToFLevel2 : public TObject { Line 354  class ToFLevel2 : public TObject {
354    
355      Int_t  GetToFPlaneID(Int_t ip);      Int_t  GetToFPlaneID(Int_t ip);
356      Int_t  GetToFPlaneIndex(Int_t plane_id);      Int_t  GetToFPlaneIndex(Int_t plane_id);
357      Bool_t HitPaddle(Int_t ,Int_t);      Bool_t HitPaddle(Int_t ,Int_t); // EMXX
358      Int_t  GetNHitPaddles(Int_t plane);      Int_t  GetNHitPaddles(Int_t plane);
359      Int_t  GetTrueNHitPaddles(Int_t plane);      Int_t  GetTrueNHitPaddles(Int_t plane);
360      void Clear(Option_t *t="");      void Clear(Option_t *t="");
361    
362        //
363        TClonesArray *GetTrackArray(){return ToFTrk;} ///< returns a pointer to the track related variables array
364        TClonesArray** GetPointerToTrackArray(){return &ToFTrk;}///< returns pointer to pointer to the track array
365        void SetTrackArray(TClonesArray *track);///<set pointer to the track array
366    
367    
368      //      //
369      ClassDef(ToFLevel2,5);      ClassDef(ToFLevel2,6);
370  };  };
371    
372  #endif  #endif

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.23