#include <PixelCPEGeneric.h>
|
| PixelCPEGeneric (edm::ParameterSet const &conf, const MagneticField *, const TrackerGeometry &, const TrackerTopology &, const SiPixelLorentzAngle *, const SiPixelGenErrorDBObject *, const SiPixelLorentzAngle *) |
| The constructor. More...
|
|
| ~PixelCPEGeneric () |
|
ReturnType | getParameters (const SiPixelCluster &cl, const GeomDetUnit &det) const |
|
ReturnType | getParameters (const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const |
|
| PixelCPEBase (edm::ParameterSet const &conf, const MagneticField *mag, const TrackerGeometry &geom, const TrackerTopology &ttopo, const SiPixelLorentzAngle *lorentzAngle, const SiPixelGenErrorDBObject *genErrorDBObject, const SiPixelTemplateDBObject *templateDBobject, const SiPixelLorentzAngle *lorentzAngleWidth, int flag=0) |
|
unsigned int | clusterProbComputationFlag () const |
|
virtual ReturnType | getParameters (const SiPixelCluster &cl, const GeomDetUnit &det, const TrajectoryStateOnSurface &tsos) const |
|
virtual VLocalValues | localParametersV (const SiPixelCluster &cluster, const GeomDetUnit &gd) const |
|
virtual VLocalValues | localParametersV (const SiPixelCluster &cluster, const GeomDetUnit &gd, TrajectoryStateOnSurface &tsos) const |
|
| PixelClusterParameterEstimator () |
|
virtual | ~PixelClusterParameterEstimator () |
|
|
void | collect_edge_charges (ClusterParam &theClusterParam, float &Q_f_X, float &Q_l_X, float &Q_f_Y, float &Q_l_Y) const |
|
ClusterParam * | createClusterParam (const SiPixelCluster &cl) const |
|
float | err2X (bool &, int &) const |
|
float | err2Y (bool &, int &) const |
|
float | generic_position_formula (int size, float Q_f, float 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) const |
|
LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const |
|
LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const |
|
Definition at line 56 of file PixelCPEGeneric.h.
PixelCPEGeneric::~PixelCPEGeneric |
( |
| ) |
|
|
inline |
void PixelCPEGeneric::collect_edge_charges |
( |
ClusterParam & |
theClusterParamBase, |
|
|
float & |
Q_f_X, |
|
|
float & |
Q_l_X, |
|
|
float & |
Q_f_Y, |
|
|
float & |
Q_l_Y |
|
) |
| const |
|
private |
Collect the edge charges in x and y, in a single pass over the pixel vector. Calculate charge in the first and last pixel projected in x and y and the inner cluster charge, projected in x and y.
- Parameters
-
theClusterParamBase | input, the cluster |
Q_f_X | output, Q first in X |
Q_l_X | output, Q last in X |
Q_f_Y | output, Q first in Y |
Q_l_Y | output, Q last in Y |
Definition at line 575 of file PixelCPEGeneric.cc.
float PixelCPEGeneric::err2X |
( |
bool & |
, |
|
|
int & |
|
|
) |
| const |
|
private |
float PixelCPEGeneric::err2Y |
( |
bool & |
, |
|
|
int & |
|
|
) |
| const |
|
private |
float PixelCPEGeneric::generic_position_formula |
( |
int |
size, |
|
|
float |
Q_f, |
|
|
float |
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 |
|
) |
| const |
|
private |
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. The only class variable used by this method is the theThickness, since that's common for both X and Y.
- Parameters
-
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-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 450 of file PixelCPEGeneric.cc.
Hit position in the local frame (in cm). Unlike other CPE's, this one converts everything from the measurement frame (in channel numbers) into the local frame (in centimeters).
< Q of the first pixel in X
< Q of the last pixel in X
< Q of the first pixel in Y
< Q of the last pixel in Y
Implements PixelCPEBase.
Definition at line 198 of file PixelCPEGeneric.cc.
bool PixelCPEGeneric::DoCosmics_ |
|
private |
float PixelCPEGeneric::EdgeClusterErrorX_ |
|
private |
float PixelCPEGeneric::EdgeClusterErrorY_ |
|
private |
bool PixelCPEGeneric::inflate_all_errors_no_trk_angle |
|
private |
bool PixelCPEGeneric::inflate_errors |
|
private |
bool PixelCPEGeneric::IrradiationBiasCorrection_ |
|
private |
bool PixelCPEGeneric::isUpgrade_ |
|
private |
float PixelCPEGeneric::the_eff_charge_cut_highX |
|
private |
float PixelCPEGeneric::the_eff_charge_cut_highY |
|
private |
float PixelCPEGeneric::the_eff_charge_cut_lowX |
|
private |
float PixelCPEGeneric::the_eff_charge_cut_lowY |
|
private |
float PixelCPEGeneric::the_size_cutX |
|
private |
float PixelCPEGeneric::the_size_cutY |
|
private |
bool PixelCPEGeneric::TruncatePixelCharge_ |
|
private |
bool PixelCPEGeneric::UseErrorsFromTemplates_ |
|
private |
std::vector<float> PixelCPEGeneric::xerr_barrel_l1_ |
|
private |
float PixelCPEGeneric::xerr_barrel_l1_def_ |
|
private |
std::vector<float> PixelCPEGeneric::xerr_barrel_ln_ |
|
private |
float PixelCPEGeneric::xerr_barrel_ln_def_ |
|
private |
std::vector<float> PixelCPEGeneric::xerr_endcap_ |
|
private |
float PixelCPEGeneric::xerr_endcap_def_ |
|
private |
std::vector<float> PixelCPEGeneric::yerr_barrel_l1_ |
|
private |
float PixelCPEGeneric::yerr_barrel_l1_def_ |
|
private |
std::vector<float> PixelCPEGeneric::yerr_barrel_ln_ |
|
private |
float PixelCPEGeneric::yerr_barrel_ln_def_ |
|
private |
std::vector<float> PixelCPEGeneric::yerr_endcap_ |
|
private |
float PixelCPEGeneric::yerr_endcap_def_ |
|
private |