/[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.12 by mocchiut, Thu Sep 10 12:53:56 2009 UTC revision 1.17 by mocchiut, Tue May 18 04:03:16 2010 UTC
# Line 30  Line 30 
30  #include <TSQLServer.h>  #include <TSQLServer.h>
31  #include <TF1.h>  #include <TF1.h>
32  #include <TGraphErrors.h>  #include <TGraphErrors.h>
33    #include <TMinuit.h>
34    
35  #include <PamLevel2.h>  #include <PamLevel2.h>
36    
# Line 58  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 81  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 110  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 148  class CaloLong : public TObject { Line 155  class CaloLong : public TObject {
155      Float_t Evaluate(TString s, Float_t tmax, Float_t X0pl ); // expression must be of the form "tmax+2.*X0pl", "5*tmax"."tmax+10","tmax-(4*tmax)+3.*X0pl"...      Float_t Evaluate(TString s, Float_t tmax, Float_t X0pl ); // expression must be of the form "tmax+2.*X0pl", "5*tmax"."tmax+10","tmax-(4*tmax)+3.*X0pl"...
156      //      //
157      TString suf;      TString suf;
158        TF1 *lfit;
159    
160   public:   public:
161      //      //
162      //      //
163      void Fit();      void Fit();
164      void Fit(Bool_t draw);      void Fit(Bool_t draw);
165        TF1 *GetFit();
166      //      //
167      //    Double_t ccurve(Double_t *t, Double_t *par);      //    Double_t ccurve(Double_t *t, Double_t *par);
168      //      //
# Line 187  class CaloLong : public TObject { Line 196  class CaloLong : public TObject {
196      ~CaloLong(){ Delete(); };      ~CaloLong(){ Delete(); };
197      //      //
198      void SetDebug(Bool_t d){ debug=d; };      void SetDebug(Bool_t d){ debug=d; };
199      void UsePlane18X(){ no18x=false; };      //    void UsePlane18X(){ no18x=false; };
200        
201        void UsePlane18X(Bool_t use="false"){usepl18x = use; no18x=!use;};
202        //
203      //      //
204      void UseAverage(){ xyaverage = true;};      void UseAverage(){ xyaverage = true;};
205      void UseAllMeas(){ xyaverage = false;};      void UseAllMeas(){ xyaverage = false;};
# Line 227  class CaloLong : public TObject { Line 239  class CaloLong : public TObject {
239      void Print();      void Print();
240      void Print(Option_t *option){Print();};      void Print(Option_t *option){Print();};
241      //      //
242      ClassDef(CaloLong,3);      ClassDef(CaloLong,4);
243  };  };
244    
245  /**  /**
# Line 249  class Calo2D : public TObject { Line 261  class Calo2D : public TObject {
261      Float_t estrip[23][96][96];      Float_t estrip[23][96][96];
262      Int_t smax[23];      Int_t smax[23];
263      Int_t smay[23];      Int_t smay[23];
264        Bool_t usepl18x;
265      //      //
266      TString suf;      TString suf;
267    
# Line 270  class Calo2D : public TObject { Line 283  class Calo2D : public TObject {
283      void Delete(Option_t *option){Delete();};      void Delete(Option_t *option){Delete();};
284      //      //
285      void SetSuffix(TString suffix){ suf = suffix;};      void SetSuffix(TString suffix){ suf = suffix;};
286        
287        void UsePlane18X(Bool_t use){usepl18x = use;};
288        //
289      //      //
290      void Process(); ///< Process data      void Process(); ///< Process data
291      void Print();      void Print();
292      void Print(Option_t *option){Print();};      void Print(Option_t *option){Print();};
293      //      //
294      ClassDef(Calo2D,2);      ClassDef(Calo2D,3);
295  };  };
296    
297  #endif  #endif

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23