/[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.32 by mocchiut, Thu Aug 7 16:04:09 2014 UTC revision 1.36 by mocchiut, Thu Mar 26 14:55:40 2015 UTC
# Line 240  class ToFTrkVar : public TObject { Line 240  class ToFTrkVar : public TObject {
240    ToFTrkVar* GetToFTrkVar(){return this;};    ToFTrkVar* GetToFTrkVar(){return this;};
241    void Clear(Option_t *t="");    void Clear(Option_t *t="");
242    
243    ClassDef(ToFTrkVar,1);    Float_t CalcBeta(Float_t resmax, Float_t qualitycut, Float_t chi2cut);  //  Elena 2015
244    
245      ClassDef(ToFTrkVar,2);
246    //    //
247  };  };
248    
# Line 279  class ToFLevel2 : public TObject { Line 281  class ToFLevel2 : public TObject {
281    void GetLevel2Struct(cToFLevel2 *) const;    void GetLevel2Struct(cToFLevel2 *) const;
282    //    //
283    ToFTrkVar *GetToFTrkVar(Int_t notrack);    ToFTrkVar *GetToFTrkVar(Int_t notrack);
284      ToFTrkVar* GetToFStoredTrack(Int_t seqno);///< returns pointer to the track set related to the seqno number
285    ToFPMT *GetToFPMT(Int_t nohit);    ToFPMT *GetToFPMT(Int_t nohit);
286    Int_t GetPMTid(Int_t gg, Int_t hh);    static Int_t GetPMTid(Int_t gg, Int_t hh);
287    TString GetPMTName(Int_t ind);    static TString GetPMTName(Int_t ind);
288        
289    Int_t GetPlaneIndex(Int_t pmt_id);    static Int_t GetPlaneIndex(Int_t pmt_id);
290    void GetMatrix(Int_t notrack, Float_t adc[4][12], Float_t tdc[4][12]);    void GetMatrix(Int_t notrack, Float_t adc[4][12], Float_t tdc[4][12]);
291    void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh);    static void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh);
292    
293    // gf Apr 07    // gf Apr 07
294    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
295    void GetdEdxPaddle(ToFTrkVar *trk, 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
296    TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt);    static TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt);
297    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); // gf Apr 07 //EMXX
298    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
299    void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07    static void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07
300    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
301    void GetPaddleGeometry(Int_t plane, Int_t paddle, Float_t &xleft, Float_t &xright, Float_t &yleft, Float_t &yright); // gf Apr 07    void GetPaddleGeometry(Int_t plane, Int_t paddle, Float_t &xleft, Float_t &xright, Float_t &yleft, Float_t &yright); // gf Apr 07
302    Int_t GetPaddleid(Int_t plane, Int_t paddle);    Int_t GetPaddleid(Int_t plane, Int_t paddle);
# Line 357  class ToFLevel2 : public TObject { Line 360  class ToFLevel2 : public TObject {
360      Int_t  GetNHitPaddles(Int_t plane);      Int_t  GetNHitPaddles(Int_t plane);
361      Int_t  GetTrueNHitPaddles(Int_t plane);      Int_t  GetTrueNHitPaddles(Int_t plane);
362      void Clear(Option_t *t="");      void Clear(Option_t *t="");
363    
364        //
365        TClonesArray *GetTrackArray(){return ToFTrk;} ///< returns a pointer to the track related variables array
366        TClonesArray** GetPointerToTrackArray(){return &ToFTrk;}///< returns pointer to pointer to the track array
367        void SetTrackArray(TClonesArray *track);///<set pointer to the track array
368    
369    
370      //      //
371      ClassDef(ToFLevel2,6);      ClassDef(ToFLevel2,7);
372  };  };
373    
374  #endif  #endif

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.23