/[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.15 by pam-de, Wed Apr 4 07:22:51 2007 UTC revision 1.16 by mocchiut, Mon Apr 30 15:46:28 2007 UTC
# Line 100  class ToFTrkVar : public TObject { Line 100  class ToFTrkVar : public TObject {
100    //    //
101    Float_t xtofpos[3];  ///<x-measurement using the TDC values and the calibration from S12, S21, S32    Float_t xtofpos[3];  ///<x-measurement using the TDC values and the calibration from S12, S21, S32
102    Float_t ytofpos[3];  ///<x-measurement using the TDC values and the calibration from S11, S22, S31    Float_t ytofpos[3];  ///<x-measurement using the TDC values and the calibration from S11, S22, S31
103      //
104      Float_t xtr_tof[6];  ///<x-measurement in the ToF layers from tracker
105      Float_t ytr_tof[6];  ///<x-measurement in the ToF layers from tracker
106    //    //
107    ToFTrkVar();    ToFTrkVar();
108    ToFTrkVar(const ToFTrkVar&);    ToFTrkVar(const ToFTrkVar&);
# Line 128  class ToFLevel2 : public TObject { Line 130  class ToFLevel2 : public TObject {
130    
131    Int_t unpackError;    Int_t unpackError;
132    //    //
133    Float_t GetdEdx(Int_t notrack, Int_t plane);    Float_t GetdEdx(Int_t notrack, Int_t plane, Int_t adcfl); // gf Apr 07
134    //    //
135    // methods to make life simplier during the analysis, returns a pointer to the ToFTrkVar class containing track related variables    // methods to make life simplier during the analysis, returns a pointer to the ToFTrkVar class containing track related variables
136    //    //
# Line 142  class ToFLevel2 : public TObject { Line 144  class ToFLevel2 : public TObject {
144    ToFPMT *GetToFPMT(Int_t nohit);    ToFPMT *GetToFPMT(Int_t nohit);
145    Int_t GetPMTid(Int_t gg, Int_t hh);    Int_t GetPMTid(Int_t gg, Int_t hh);
146    TString GetPMTName(Int_t ind);    TString GetPMTName(Int_t ind);
147      
148    Int_t GetPlaneIndex(Int_t pmt_id);    Int_t GetPlaneIndex(Int_t pmt_id);
149    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]);
150    void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh);    void GetPMTIndex(Int_t pmt_id, Int_t &gg, Int_t &hh);
151    
152      // gf Apr 07
153      void GetdEdxPaddle(Int_t notrack, Int_t paddleid, Int_t adcfl, Float_t &PadEdx, Int_t &SatWarning); // gf Apr 07
154      TString GetPMTName(Int_t ind, Int_t &iplane, Int_t &ipaddle,Int_t &ipmt);
155      Int_t GetPaddleIdOfTrack(Float_t xtr, Float_t ytr, Int_t plane); // gf Apr 07
156      void GetPMTPaddle(Int_t pmt_id, Int_t &plane, Int_t &paddle); // gf Apr 07
157      void GetPaddlePMT(Int_t paddle, Int_t &pmtleft, Int_t &pmtright); // gf Apr 07
158      void GetPaddleGeometry(Int_t plane, Int_t paddle, Float_t &xleft, Float_t &xright, Float_t &yleft, Float_t &yright); // gf Apr 07
159      Int_t GetPaddleid(Int_t plane, Int_t paddle);
160      void GetPaddlePlane(Int_t padid, Int_t &plane, Int_t &paddle);
161      Int_t GetNPaddle(Int_t plane);
162      //
163      
164    //    //
165    // constructor    // constructor
166    //    //

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.23