/[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.7 by mocchiut, Mon Aug 17 08:36:27 2009 UTC revision 1.8 by mocchiut, Mon Aug 17 15:00:53 2009 UTC
# Line 105  class CaloEnergy : public TObject { Line 105  class CaloEnergy : public TObject {
105      Float_t ye5; ///< position of strip 65 section YE      Float_t ye5; ///< position of strip 65 section YE
106      Float_t ye6; ///< position of strip 96 section YE      Float_t ye6; ///< position of strip 96 section YE
107      //    Float_t z4;      //    Float_t z4;
108        Float_t  track_coordx[22][2];
109        Float_t  track_coordy[22][2];
110        //
111      Float_t trk_z[22][2]; ///< Z position of calorimeter planes      Float_t trk_z[22][2]; ///< Z position of calorimeter planes
112      Float_t en; ///< energy [mip] for decodeestrip      Float_t en; ///< energy [mip] for decodeestrip
113      Int_t view; ///< view for decodeestrip      Int_t view; ///< view for decodeestrip
# Line 194  class CaloEnergy : public TObject { Line 197  class CaloEnergy : public TObject {
197      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.
198      void UseMeasuredEnergyUpToMax(){ fLong = false;}; ///< use the measured energy to determine the maximum (default)      void UseMeasuredEnergyUpToMax(){ fLong = false;}; ///< use the measured energy to determine the maximum (default)
199      //      //
200      void SetMargin(Float_t margin){fM = margin + 0.096; fM1 = margin - 0.122 + 0.096; if ( fM1 < 0. ) fM1 = 0.;}; ///< set the margin from the border of the silicon sensor (not from the first strip), set the same margin for both the directions      void SetMargin(Float_t margin){fM = margin ; fM1 = margin - 0.122 - 0.096 + 0.096; if ( fM1 < 0. ) fM1 = 0.;}; ///< set the margin from the border of the silicon sensor (not from the first strip), set the same margin for both the directions
201      void SetMarginStripDirection(Float_t margin){fM = margin + 0.096;}; ///< set the margin from the border of the silicon sensor (not from the first strip) in the strip direction      void SetMarginStripDirection(Float_t margin){fM = margin ;}; ///< set the margin from the border of the silicon sensor (not from the first strip) in the strip direction
202      void SetMarginStripReading(Float_t margin){fM1 = margin -0.122 + 0.096;};  ///< set the margin from the border of the silicon sensor (not from the first strip) in the strip reading direction      void SetMarginStripReading(Float_t margin){fM1 = margin -0.122 - 0.096 + 0.096;};  ///< set the margin from the border of the silicon sensor (not from the first strip) in the strip reading direction
203      void SetRadius(Int_t strip){fRad = strip;}; ///< set the radius of the cylinder      void SetRadius(Int_t strip){fRad = strip;}; ///< set the radius of the cylinder
204      void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;}; ///< set the number of dE/dx measurements to be used after the maximum      void SetMaxPlaneOffset(Int_t noplanes){fPl = noplanes;}; ///< set the number of dE/dx measurements to be used after the maximum
205      void SetX0max(Float_t xm){ x0max = xm;}; ///< set the plane of maximum from external source X0 (test purpose only)      void SetX0max(Float_t xm){ x0max = xm;}; ///< set the plane of maximum from external source X0 (test purpose only)
# Line 216  class CaloEnergy : public TObject { Line 219  class CaloEnergy : public TObject {
219      void UseCaloPreSampler(); ///< use pre-sampler routine to refit the track (level2 default fitting could be wrong, in this case we force "shower fitting" in the DV library).      void UseCaloPreSampler(); ///< use pre-sampler routine to refit the track (level2 default fitting could be wrong, in this case we force "shower fitting" in the DV library).
220      CaloPreSampler* GetCaloPreSampler(){return cp;}; ///< Get pre-sampler object.      CaloPreSampler* GetCaloPreSampler(){return cp;}; ///< Get pre-sampler object.
221      //      //
222        Float_t  Get_track_coordx(Int_t i, Int_t j){ return track_coordx[i][j];};
223        Float_t  Get_track_coordy(Int_t i, Int_t j){ return track_coordy[i][j];};
224        //
225      ClassDef(CaloEnergy,1);      ClassDef(CaloEnergy,1);
226  };  };
227    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23