/[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.27 by mocchiut, Mon Oct 25 13:22:10 2010 UTC revision 1.28 by mocchiut, Wed Nov 23 21:19:36 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 149  class ToFdEdx : public TObject { Line 150  class ToFdEdx : public TObject {
150      ~ToFdEdx(){ Delete(); };  // class distructor      ~ToFdEdx(){ Delete(); };  // 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="") { delete eDEDXpmt; Clear(); }
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 166  class ToFdEdx : public TObject { Line 167  class ToFdEdx : public TObject {
167      void Process( UInt_t atime, Float_t betamean, Float_t *xtr_tof, Float_t *ytr_tof, Int_t exitat=-1); //      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      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,3);      ClassDef(ToFdEdx,3);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.23