/[PAMELA software]/calo/flight/CaloProfile/inc/CaloProfile.h
ViewVC logotype

Diff of /calo/flight/CaloProfile/inc/CaloProfile.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by mocchiut, Mon Sep 14 13:56:48 2009 UTC revision 1.16 by mocchiut, Thu May 13 13:55:32 2010 UTC
# Line 59  class CaloLat : public TObject { Line 59  class CaloLat : public TObject {
59      //      //
60      Float_t estrip[2][22][96];      Float_t estrip[2][22][96];
61      TString suf;      TString suf;
62        Bool_t usepl18x;
63      //      //
64    
65   public:   public:
# Line 82  class CaloLat : public TObject { Line 83  class CaloLat : public TObject {
83      void Print();      void Print();
84      void Print(Option_t *option){Print();};      void Print(Option_t *option){Print();};
85      //      //
86        
87        void UsePlane18X(Bool_t use){usepl18x = use;};
88        //
89        //
90      void SetSuffix(TString suffix){ suf = suffix;};      void SetSuffix(TString suffix){ suf = suffix;};
91      //      //
92      ClassDef(CaloLat,2);      ClassDef(CaloLat,3);
93  };  };
94    
95  /**  /**
# Line 111  class CaloLong : public TObject { Line 116  class CaloLong : public TObject {
116      Bool_t sel;      Bool_t sel;
117      Bool_t cont;      Bool_t cont;
118      Int_t mask18b;      Int_t mask18b;
119        Bool_t usepl18x;
120      //      //
121      Float_t chi2;      Float_t chi2;
122      Float_t ndf;      Float_t ndf;
# Line 155  class CaloLong : public TObject { Line 161  class CaloLong : public TObject {
161      //      //
162      void Fit();      void Fit();
163      void Fit(Bool_t draw);      void Fit(Bool_t draw);
164        TF1 *GetFit();
165      //      //
166      //    Double_t ccurve(Double_t *t, Double_t *par);      //    Double_t ccurve(Double_t *t, Double_t *par);
167      //      //
# Line 188  class CaloLong : public TObject { Line 195  class CaloLong : public TObject {
195      ~CaloLong(){ Delete(); };      ~CaloLong(){ Delete(); };
196      //      //
197      void SetDebug(Bool_t d){ debug=d; };      void SetDebug(Bool_t d){ debug=d; };
198      void UsePlane18X(){ no18x=false; };      //    void UsePlane18X(){ no18x=false; };
199        
200        void UsePlane18X(Bool_t use="false"){usepl18x = use; no18x=!use;};
201        //
202      //      //
203      void UseAverage(){ xyaverage = true;};      void UseAverage(){ xyaverage = true;};
204      void UseAllMeas(){ xyaverage = false;};      void UseAllMeas(){ xyaverage = false;};
# Line 228  class CaloLong : public TObject { Line 238  class CaloLong : public TObject {
238      void Print();      void Print();
239      void Print(Option_t *option){Print();};      void Print(Option_t *option){Print();};
240      //      //
241      ClassDef(CaloLong,3);      ClassDef(CaloLong,4);
242  };  };
243    
244  /**  /**
# Line 250  class Calo2D : public TObject { Line 260  class Calo2D : public TObject {
260      Float_t estrip[23][96][96];      Float_t estrip[23][96][96];
261      Int_t smax[23];      Int_t smax[23];
262      Int_t smay[23];      Int_t smay[23];
263        Bool_t usepl18x;
264      //      //
265      TString suf;      TString suf;
266    
# Line 271  class Calo2D : public TObject { Line 282  class Calo2D : public TObject {
282      void Delete(Option_t *option){Delete();};      void Delete(Option_t *option){Delete();};
283      //      //
284      void SetSuffix(TString suffix){ suf = suffix;};      void SetSuffix(TString suffix){ suf = suffix;};
285        
286        void UsePlane18X(Bool_t use){usepl18x = use;};
287        //
288      //      //
289      void Process(); ///< Process data      void Process(); ///< Process data
290      void Print();      void Print();
291      void Print(Option_t *option){Print();};      void Print(Option_t *option){Print();};
292      //      //
293      ClassDef(Calo2D,2);      ClassDef(Calo2D,3);
294  };  };
295    
296  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.23