/[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.16 by mocchiut, Mon Apr 30 15:46:28 2007 UTC revision 1.19 by mocchiut, Fri Nov 23 16:42:51 2007 UTC
# Line 11  Line 11 
11  #include <TArrayF.h>  #include <TArrayF.h>
12  #include <TClonesArray.h>  #include <TClonesArray.h>
13    
14    #include <math.h> // EMILIANO
15    
16  #include <ToFStruct.h>  #include <ToFStruct.h>
17    
18    
# Line 39  class ToFPMT : public TObject { Line 41  class ToFPMT : public TObject {
41   public:   public:
42      Int_t pmt_id;     ///<the identification number of the PMT from 0 to 47      Int_t pmt_id;     ///<the identification number of the PMT from 0 to 47
43      Float_t adc;      ///<raw ADC value for this PMT      Float_t adc;      ///<raw ADC value for this PMT
44        Float_t tdc;      ///<raw TDC value for this PMT
45      Float_t tdc_tw;   ///<time-walk corrected TDC value for this PMT      Float_t tdc_tw;   ///<time-walk corrected TDC value for this PMT
46      //      //
47      ToFPMT();      ToFPMT();
48      ToFPMT(const ToFPMT&);      ToFPMT(const ToFPMT&);
49      //      //
50      ToFPMT* GetToFPMT(){return this;};      ToFPMT* GetToFPMT(){return this;};
51      void Clear();      void Clear(Option_t *t="");
52    
53    
54    
55      ClassDef(ToFPMT,1);      ClassDef(ToFPMT,2);
56  };  };
57    
58    
# Line 108  class ToFTrkVar : public TObject { Line 111  class ToFTrkVar : public TObject {
111    ToFTrkVar(const ToFTrkVar&);    ToFTrkVar(const ToFTrkVar&);
112    
113    ToFTrkVar* GetToFTrkVar(){return this;};    ToFTrkVar* GetToFTrkVar(){return this;};
114    void Clear();    void Clear(Option_t *t="");
115    
116    ClassDef(ToFTrkVar,1);    ClassDef(ToFTrkVar,1);
117    //    //
# Line 127  class ToFLevel2 : public TObject { Line 130  class ToFLevel2 : public TObject {
130    TClonesArray *PMT; ///<class needed to store PMT hit informations    TClonesArray *PMT; ///<class needed to store PMT hit informations
131    TClonesArray *ToFTrk; ///<track related variable class    TClonesArray *ToFTrk; ///<track related variable class
132    Int_t tof_j_flag[6];  ///<number of hitted paddle(s) for each ToF layer: flag = flag + 2**(paddlenumber-1)    Int_t tof_j_flag[6];  ///<number of hitted paddle(s) for each ToF layer: flag = flag + 2**(paddlenumber-1)
133      //
134    Int_t unpackError;    Int_t unpackError;///< zero if no error presente
135      Int_t default_calib; ///< one if the default calibration has been used to process the data, zero otherwise
136    //    //
137    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
138    //    //
# Line 166  class ToFLevel2 : public TObject { Line 170  class ToFLevel2 : public TObject {
170    //    //
171    ToFLevel2();    ToFLevel2();
172    ~ToFLevel2(){Delete();}; //ELENA    ~ToFLevel2(){Delete();}; //ELENA
173    void Delete(); //ELENA    void Delete(Option_t *t=""); //ELENA
174    void Set();//ELENA    void Set();//ELENA
175    //    //
176    //    //
# Line 204  class ToFLevel2 : public TObject { Line 208  class ToFLevel2 : public TObject {
208      Int_t  GetToFPlaneIndex(Int_t plane_id);      Int_t  GetToFPlaneIndex(Int_t plane_id);
209      Bool_t HitPaddle(Int_t ,Int_t);      Bool_t HitPaddle(Int_t ,Int_t);
210      Int_t  GetNHitPaddles(Int_t plane);      Int_t  GetNHitPaddles(Int_t plane);
211      void Clear();      void Clear(Option_t *t="");
212      //      //
213      ClassDef(ToFLevel2,2);      ClassDef(ToFLevel2,3);
214  };  };
215    
216  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.23