Functions | |
float | generic_position_formula (int size, int q_f, int q_l, float upper_edge_first_pix, float lower_edge_last_pix, float lorentz_shift, float theThickness, float cot_angle, float pitch, bool first_is_big, bool last_is_big, float eff_charge_cut_low, float eff_charge_cut_high, float size_cut) |
float siPixelUtils::generic_position_formula | ( | int | size, |
int | q_f, | ||
int | q_l, | ||
float | upper_edge_first_pix, | ||
float | lower_edge_last_pix, | ||
float | lorentz_shift, | ||
float | theThickness, | ||
float | cot_angle, | ||
float | pitch, | ||
bool | first_is_big, | ||
bool | last_is_big, | ||
float | eff_charge_cut_low, | ||
float | eff_charge_cut_high, | ||
float | size_cut | ||
) |
A generic version of the position formula. Since it works for both X and Y, in the interest of the simplicity of the code, all parameters are passed by the caller.
size | Size of this projection. |
q_f | Charge in the first pixel. |
q_l | Charge in the last pixel. |
upper_edge_first_pix | As the name says. |
lower_edge_last_pix | As the name says. |
lorentz_shift | L-shift at half thickness |
cot_angle | cot of alpha_ or beta_ |
pitch | thePitchX or thePitchY |
first_is_big | true if the first is big |
last_is_big | true if the last is big |
eff_charge_cut_low | Use edge if > w_eff &&& |
eff_charge_cut_high | Use edge if < w_eff &&& |
size_cut | Use edge when size == cuts |
Definition at line 16 of file SiPixelUtils.cc.
References funct::abs(), and findQualityFiles::size.
Referenced by PixelCPEGeneric::localPosition().