#include <PixelCPEGeneric.h>
Classes | |
struct | ClusterParamGeneric |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Member Functions | |
void | collect_edge_charges (ClusterParam &theClusterParam, int &q_f_X, int &q_l_X, int &q_f_Y, int &q_l_Y) const |
std::unique_ptr< ClusterParam > | createClusterParam (const SiPixelCluster &cl) const override |
float | err2X (bool &, int &) const |
float | err2Y (bool &, int &) const |
LocalError | localError (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
LocalPoint | localPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const override |
Private Attributes | |
bool | DoCosmics_ |
float | EdgeClusterErrorX_ |
float | EdgeClusterErrorY_ |
bool | inflate_all_errors_no_trk_angle |
bool | inflate_errors |
bool | IrradiationBiasCorrection_ |
bool | isUpgrade_ |
bool | NoTemplateErrorsWhenNoTrkAngles_ |
float | the_eff_charge_cut_highX |
float | the_eff_charge_cut_highY |
float | the_eff_charge_cut_lowX |
float | the_eff_charge_cut_lowY |
float | the_size_cutX |
float | the_size_cutY |
std::vector< SiPixelGenErrorStore > | thePixelGenError_ |
bool | TruncatePixelCharge_ |
bool | UseErrorsFromTemplates_ |
std::vector< float > | xerr_barrel_l1_ |
float | xerr_barrel_l1_def_ |
std::vector< float > | xerr_barrel_ln_ |
float | xerr_barrel_ln_def_ |
std::vector< float > | xerr_endcap_ |
float | xerr_endcap_def_ |
std::vector< float > | yerr_barrel_l1_ |
float | yerr_barrel_l1_def_ |
std::vector< float > | yerr_barrel_ln_ |
float | yerr_barrel_ln_def_ |
std::vector< float > | yerr_endcap_ |
float | yerr_endcap_def_ |
Definition at line 52 of file PixelCPEGeneric.h.
PixelCPEGeneric::PixelCPEGeneric | ( | edm::ParameterSet const & | conf, |
const MagneticField * | mag, | ||
const TrackerGeometry & | geom, | ||
const TrackerTopology & | ttopo, | ||
const SiPixelLorentzAngle * | lorentzAngle, | ||
const SiPixelGenErrorDBObject * | genErrorDBObject, | ||
const SiPixelLorentzAngle * | lorentzAngleWidth = nullptr |
||
) |
The constructor.
Definition at line 30 of file PixelCPEGeneric.cc.
References gather_cfg::cout, DoCosmics_, EdgeClusterErrorX_, EdgeClusterErrorY_, Exception, PixelCPEBase::genErrorDBObject_, edm::ParameterSet::getParameter(), inflate_all_errors_no_trk_angle, inflate_errors, createfilelist::int, IrradiationBiasCorrection_, isUpgrade_, PixelCPEBase::LoadTemplatesFromDB_, LogDebug, NoTemplateErrorsWhenNoTrkAngles_, SiPixelGenError::pushfile(), the_eff_charge_cut_highX, the_eff_charge_cut_highY, the_eff_charge_cut_lowX, the_eff_charge_cut_lowY, the_size_cutX, the_size_cutY, thePixelGenError_, PixelCPEBase::theVerboseLevel, TruncatePixelCharge_, UseErrorsFromTemplates_, xerr_barrel_l1_, xerr_barrel_l1_def_, xerr_barrel_ln_, xerr_barrel_ln_def_, xerr_endcap_, xerr_endcap_def_, yerr_barrel_l1_, yerr_barrel_l1_def_, yerr_barrel_ln_, yerr_barrel_ln_def_, yerr_endcap_, and yerr_endcap_def_.
|
inlineoverride |
Definition at line 87 of file PixelCPEGeneric.h.
|
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.
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 400 of file PixelCPEGeneric.cc.
References mps_fire::i, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), min(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), muonClassificationByHits_cfi::pixel, SiPixelCluster::pixel(), PixelCPEGeneric::ClusterParamGeneric::pixmx, SiPixelCluster::size(), PixelCPEBase::ClusterParam::theCluster, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 146 of file PixelCPEGeneric.cc.
References GetRecoTauVFromDQM_MC_cff::cl.
|
private |
|
private |
|
static |
Definition at line 628 of file PixelCPEGeneric.cc.
References submitPVResolutionJobs::desc.
Referenced by PixelCPEGenericESProducer::fillDescriptions().
|
overrideprivatevirtual |
Implements PixelCPEBase.
Definition at line 449 of file PixelCPEGeneric.cc.
References RectangularPixelTopology::containsBigPixelInX(), RectangularPixelTopology::containsBigPixelInY(), gather_cfg::cout, Exception, f, dqmMemoryStats::float, GeomDet::geographicalId(), HLTSiStripMonitoring_cff::inflate_errors, GeomDetEnumerators::isBarrel(), RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), RectangularPixelTopology::isItEdgePixelInX(), RectangularPixelTopology::isItEdgePixelInY(), GeomDetEnumerators::isTrackerPixel(), phase1PixelTopology::layer, LIKELY, SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelCPEBase::ClusterParam::qBin_, PixelCPEGeneric::ClusterParamGeneric::sigmax, PixelCPEGeneric::ClusterParamGeneric::sigmay, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), mathSSE::sqrt(), PixelCPEGeneric::ClusterParamGeneric::sx1, PixelCPEGeneric::ClusterParamGeneric::sx2, PixelCPEGeneric::ClusterParamGeneric::sy1, PixelCPEGeneric::ClusterParamGeneric::sy2, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::theDet, PixelCPEBase::DetParam::thePart, PixelCPEBase::DetParam::thePitchX, PixelCPEBase::DetParam::thePitchY, PixelCPEBase::DetParam::theRecTopol, and PixelCPEBase::ClusterParam::with_track_angle.
|
overrideprivatevirtual |
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 155 of file PixelCPEGeneric.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, SiPixelCluster::charge(), PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, gather_cfg::cout, PixelCPEGeneric::ClusterParamGeneric::deltax, PixelCPEGeneric::ClusterParamGeneric::deltay, PixelCPEBase::DetParam::detTemplateId, PixelCPEGeneric::ClusterParamGeneric::dx1, PixelCPEGeneric::ClusterParamGeneric::dx2, PixelCPEGeneric::ClusterParamGeneric::dy1, PixelCPEGeneric::ClusterParamGeneric::dy2, SiPixelUtils::generic_position_formula(), RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), PixelCPEBase::ClusterParam::loc_trk_pred, Topology::localPosition(), PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, SiPixelGenError::lorxwidth(), SiPixelGenError::lorywidth(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelCPEGeneric::ClusterParamGeneric::pixmx, SiPixelGenError::qbin(), PixelCPEBase::ClusterParam::qBin_, PixelCPEGeneric::ClusterParamGeneric::sigmax, PixelCPEGeneric::ClusterParamGeneric::sigmay, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEGeneric::ClusterParamGeneric::sx1, PixelCPEGeneric::ClusterParamGeneric::sx2, PixelCPEGeneric::ClusterParamGeneric::sy1, PixelCPEGeneric::ClusterParamGeneric::sy2, PixelCPEBase::ClusterParam::theCluster, PixelCPEBase::DetParam::thePitchX, PixelCPEBase::DetParam::thePitchY, PixelCPEBase::DetParam::theRecTopol, PixelCPEBase::DetParam::theThickness, PixelCPEBase::DetParam::theTopol, theVerboseLevel, PixelCPEBase::DetParam::widthLAFractionX, PixelCPEBase::DetParam::widthLAFractionY, PixelCPEBase::ClusterParam::with_track_angle, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), SiPixelCluster::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and SiPixelCluster::y().
|
private |
Definition at line 123 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 129 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 130 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 120 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 119 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 125 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 126 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 127 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 114 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 115 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 112 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 113 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 116 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 117 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 138 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 124 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 122 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 132 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 134 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 132 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 134 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 133 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 135 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 132 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 134 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 133 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 135 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 133 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
private |
Definition at line 135 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().