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

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

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

revision 1.1 by mocchiut, Mon Jun 29 09:42:10 2009 UTC revision 1.2 by mocchiut, Fri Jul 10 09:54:32 2009 UTC
# Line 44  class CaloEnergy : public TObject { Line 44  class CaloEnergy : public TObject {
44      //      //
45      Float_t fM;      Float_t fM;
46      Float_t fM1;      Float_t fM1;
47      Float_t fPl;      Int_t fPl;
48      Float_t fConv_r;      Float_t fConv_rxe;
49        Float_t fConv_rxo;
50        Float_t fConv_rye;
51        Float_t fConv_ryo;
52      Bool_t fLong;      Bool_t fLong;
53      //      //
54        Float_t fEnergyxe;
55        Float_t fEnergyxo;
56        Float_t fEnergyye;
57        Float_t fEnergyyo;
58      Float_t fEnergy;      Float_t fEnergy;
59      Float_t fCount;      Float_t fCount;
60      Int_t fMax_plane;      Int_t fMax_planexe;
61        Int_t fMax_planexo;
62        Int_t fMax_planeyo;
63        Int_t fMax_planeye;
64        Float_t fMax_plane;
65      //      //
66      Float_t xe1;      Float_t xe1;
67      Float_t xe2;      Float_t xe2;
# Line 85  class CaloEnergy : public TObject { Line 96  class CaloEnergy : public TObject {
96      Int_t view;      Int_t view;
97      Int_t plane;      Int_t plane;
98      Int_t strip;      Int_t strip;
99        Int_t fRad;
100      Float_t energyxe;      Float_t energyxe;
101      Float_t energyyo;      Float_t energyyo;
102      Float_t energyxo;      Float_t energyxo;
# Line 139  class CaloEnergy : public TObject { Line 151  class CaloEnergy : public TObject {
151      Float_t GetEnergy(TString section){ Process(section); return fEnergy;};      Float_t GetEnergy(TString section){ Process(section); return fEnergy;};
152      Float_t GetCount(){ return fCount;};      Float_t GetCount(){ return fCount;};
153      //      //
154        Float_t GetMaxplane(){ return fMax_plane;};
155        Float_t GetMaxEnergy(TString section){ return(this->GetEnergy(section)*this->GetConversionFactor(section));};
156        Int_t GetMaxplane(TString section);
157        //
158      void UseLongitudinalFitEnergy(){ fPl = 0; fLong = true;};      void UseLongitudinalFitEnergy(){ fPl = 0; fLong = true;};
159      void UseMeasuredEnergyUpToMax(){ fLong = false;};      void UseMeasuredEnergyUpToMax(){ fLong = false;};
160      void SetMargin(Float_t margin){fM = margin; fM1 = fM - 0.122 -0.096; if ( fM1 < 0. ) fM1 = 0.;};      void SetMargin(Float_t margin){fM = margin + 0.096; fM1 = margin - 0.122 - 0.096; if ( fM1 < 0. ) fM1 = 0.;};
161        void SetMarginStripDirection(Float_t margin){fM = margin + 0.096;};
162        void SetMarginStripReading(Float_t margin){fM1 = margin -0.122 - 0.096;};
163        void SetRadius(Int_t strip){fRad = strip;};
164      void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;};      void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;};
165      //      //
166      void SetConversionFactor(Float_t conv_r){ fConv_r = conv_r;};      void SetConversionFactor(TString section, Float_t conv_r);
167        Float_t GetConversionFactor(TString section);
168      //      //
169      ClassDef(CaloEnergy,1);      ClassDef(CaloEnergy,1);
170  };  };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23