/[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.25 by mocchiut, Wed Dec 2 22:41:01 2009 UTC revision 1.29 by mocchiut, Tue Dec 20 14:16:35 2011 UTC
# Line 35  extern "C" int tofl2com(); Line 35  extern "C" int tofl2com();
35  #define toftrk toftrk_  #define toftrk toftrk_
36  extern "C" int toftrk();  extern "C" int toftrk();
37  #define rdtofcal rdtofcal_  #define rdtofcal rdtofcal_
38  extern "C" int rdtofcal(char [], int *);  //extern "C" int rdtofcal(char [], int *);
39    extern "C" int rdtofcal(const char *, int *);
40    
41  //  //
42  // class which contains track related variables  // class which contains track related variables
# Line 115  class ToFdEdx : public TObject { Line 116  class ToFdEdx : public TObject {
116      ToFGeom  eGeom;  // ToF geometry      ToFGeom  eGeom;  // ToF geometry
117      //      //
118      Float_t  adc_he;      Float_t  adc_he;
119      TArrayF eDEDXpmt;  // 0-47  pmt dEdx      TArrayF *eDEDXpmt;  // 0-47  pmt dEdx
120      // parameters:      // parameters:
121      TArrayF PMTsat;  // 0-47  saturation parameters      TArrayF PMTsat;  // 0-47  saturation parameters
122      Float_t adc[48];      Float_t adc[48];
# Line 146  class ToFdEdx : public TObject { Line 147  class ToFdEdx : public TObject {
147            
148   public:   public:
149      ToFdEdx();   // class constructor      ToFdEdx();   // class constructor
150      ~ToFdEdx(){ Delete(); };  // class distructor      ~ToFdEdx();  // class distructor
151      //      //
152      void Clear(Option_t *option="");      void Clear(Option_t *option="");
153      void Delete(Option_t *option="") { Clear(); }      void Delete(Option_t *option="");
154    
155      void Init(pamela::tof::TofEvent *tofl0 );  // init parameters      void Init(pamela::tof::TofEvent *tofl0 );  // init parameters
156      void Init(Int_t i, Int_t j, Float_t adce);      void Init(Int_t i, Int_t j, Float_t adce);
# Line 163  class ToFdEdx : public TObject { Line 164  class ToFdEdx : public TObject {
164    
165      void CheckConnectors(UInt_t atime, GL_PARAM *glparam, TSQLServer *dbc);      void CheckConnectors(UInt_t atime, GL_PARAM *glparam, TSQLServer *dbc);
166    
167      void Process( UInt_t atime, Float_t betamean, Float_t *xtr_tof, Float_t *ytr_tof); //      void Process( UInt_t atime, Float_t betamean, Float_t *xtr_tof, Float_t *ytr_tof, Int_t exitat=-1); //
168      void Print(Option_t *option="");      void Print(Option_t *option="");
169    
170      Float_t GetdEdx_pmt(Int_t ipmt) { return eDEDXpmt[ipmt]; }  // 0-47 dEdx for each PMT for tracked events      //    Float_t GetdEdx_pmt(Int_t ipmt) { return (Float_t)eDEDXpmt[ipmt]; }  // 0-47 dEdx for each PMT for tracked events
171        Float_t GetdEdx_pmt(Int_t ipmt) { return eDEDXpmt->At(ipmt); }  // 0-47 dEdx for each PMT for tracked events
172      //      //
173      ToFdEdx* GetToFdEdx(){return this;};      ToFdEdx* GetToFdEdx(){return this;};
174      ClassDef(ToFdEdx,2);      ClassDef(ToFdEdx,3);
175  };  };
176    
177    

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.23