/[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.6 by mocchiut, Tue Aug 11 13:28:27 2009 UTC revision 1.9 by mocchiut, Tue Aug 18 09:24:50 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 121  class CaloEnergy : public TObject { Line 124  class CaloEnergy : public TObject {
124      Float_t en_xop[11]; ///< detected energy [MIP] for each plane of section XO      Float_t en_xop[11]; ///< detected energy [MIP] for each plane of section XO
125      Float_t en_yep[11]; ///< detected energy [MIP] for each plane of section YE      Float_t en_yep[11]; ///< detected energy [MIP] for each plane of section YE
126      Float_t enstrip[2][22][96]; ///< detected energy [MIP] for each strip of calorimeter      Float_t enstrip[2][22][96]; ///< detected energy [MIP] for each strip of calorimeter
127        //
128        Float_t encol[2][3];
129        Int_t fColumn;
130      //      //
131      Float_t x0max; ///< plane of maximum given externally (only test purpose)      Float_t x0max; ///< plane of maximum given externally (only test purpose)
132      //      //
# Line 194  class CaloEnergy : public TObject { Line 200  class CaloEnergy : public TObject {
200      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.
201      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)
202      //      //
203      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
204      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
205      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
206      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
207      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
208      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 222  class CaloEnergy : public TObject {
222      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).
223      CaloPreSampler* GetCaloPreSampler(){return cp;}; ///< Get pre-sampler object.      CaloPreSampler* GetCaloPreSampler(){return cp;}; ///< Get pre-sampler object.
224      //      //
225        Float_t *Get_track_coordx(){ return *track_coordx;}; ///< X position of the track for all the planes and views
226        Float_t *Get_track_coordy(){ return *track_coordy;}; ///< Y position of the track for all the planes and views
227        //
228        Float_t  Get_track_coordx(Int_t i, Int_t j){ return track_coordx[i][j];}; ///< X position of the track for plane i and view j
229        Float_t  Get_track_coordy(Int_t i, Int_t j){ return track_coordy[i][j];}; ///< X position of the track for plane i and view j
230        //
231        Float_t *Get_encol(){ return *encol;}; ///< integrated energy over columns [MIP]
232        Float_t Get_encol(Int_t i, Int_t j){ return encol[i][j];}; ///< integrated energy over view i and column j [MIP]
233        //
234        Int_t Get_column(){return fColumn;}; ///< number of column which contains the track
235        //
236      ClassDef(CaloEnergy,1);      ClassDef(CaloEnergy,1);
237  };  };
238    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23