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