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 | generic_position_formula_y_bricked (int size, int q_f, int q_l, int q_f_b, int q_l_b, 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().
float SiPixelUtils::generic_position_formula_y_bricked | ( | int | size, |
int | q_f, | ||
int | q_l, | ||
int | q_f_b, | ||
int | q_l_b, | ||
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 | ||
) |
size | Size of this projection. |
q_f | Charge in the first pixel. |
q_l | Charge in the last pixel. |
q_f_b | Charge in pixels that are "dented" compared to the lowest pixel of the cluster. |
q_l_b | Charge in pixels that are "dented" compared to the highest pixel of the cluster. |
upper_edge_first_pix | As the name says. |
lower_edge_last_pix | As the name says. |
lorentz_shift | L-width |
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 (in pix) &&& |
eff_charge_cut_high | Use edge if < W_eff (in pix) &&& |
size_cut | Use edge when size == cuts |
Definition at line 82 of file SiPixelUtils.cc.
References funct::abs(), f, and findQualityFiles::size.