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 |
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) |
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 |
|
|