#include <PixelCPEGeneric.h>
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEGenericBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from PixelCPEBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Protected Member Functions | |
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 |
Protected Member Functions inherited from PixelCPEGenericBase | |
std::unique_ptr< ClusterParam > | createClusterParam (const SiPixelCluster &cl) const override |
void | initializeLocalErrorVariables (float &xerr, float &yerr, bool &edgex, bool &edgey, bool &bigInX, bool &bigInY, int &maxPixelCol, int &maxPixelRow, int &minPixelCol, int &minPixelRow, uint &sizex, uint &sizey, DetParam const &theDetParam, ClusterParamGeneric const &theClusterParam) const |
void | setXYErrors (float &xerr, float &yerr, const bool edgex, const bool edgey, const unsigned int sizex, const unsigned int sizey, const bool bigInX, const bool bigInY, const bool useTemplateErrors, DetParam const &theDetParam, ClusterParamGeneric const &theClusterParam) const |
Protected Member Functions inherited from PixelCPEBase | |
void | computeAnglesFromDetPosition (DetParam const &theDetParam, ClusterParam &theClusterParam) const |
void | computeAnglesFromTrajectory (DetParam const &theDetParam, ClusterParam &theClusterParam, const LocalTrajectoryParameters <p) const |
void | computeLorentzShifts (DetParam &) const |
DetParam const & | detParam (const GeomDetUnit &det) const |
LocalVector | driftDirection (DetParam &theDetParam, GlobalVector bfield) const |
LocalVector | driftDirection (DetParam &theDetParam, LocalVector bfield) const |
void | setTheClu (DetParam const &, ClusterParam &theClusterParam) const |
Additional Inherited Members | |
Public Types inherited from PixelClusterParameterEstimator | |
typedef std::pair< LocalPoint, LocalError > | LocalValues |
using | ReturnType = std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > |
typedef std::vector< LocalValues > | VLocalValues |
Protected Types inherited from PixelCPEBase | |
using | DetParams = std::vector< DetParam > |
typedef GloballyPositioned < double > | Frame |
Static Protected Member Functions inherited from PixelCPEGenericBase | |
static void | collect_edge_charges (ClusterParam &theClusterParam, int &q_f_X, int &q_l_X, int &q_f_Y, int &q_l_Y, bool truncate) |
Static Protected Attributes inherited from PixelCPEBase | |
static constexpr float | bothEdgeXError_ = 31.0f |
static constexpr float | bothEdgeYError_ = 90.0f |
static constexpr float | clusterSplitMaxError_ = 7777.7f |
static constexpr float | xEdgeXError_ = 23.0f |
static constexpr float | xEdgeYError_ = 39.0f |
static constexpr float | yEdgeXError_ = 24.0f |
static constexpr float | yEdgeYError_ = 96.0f |
Definition at line 51 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 29 of file PixelCPEGeneric.cc.
References gather_cfg::cout, DoCosmics_, Exception, PixelCPEBase::genErrorDBObject_, edm::ParameterSet::getParameter(), inflate_all_errors_no_trk_angle, inflate_errors, 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, PixelCPEGenericBase::truncatePixelCharge_, and PixelCPEGenericBase::useErrorsFromTemplates_.
|
overridedefault |
|
protected |
|
protected |
|
static |
Definition at line 436 of file PixelCPEGeneric.cc.
References edm::ParameterSetDescription::add(), and PixelCPEGenericBase::fillPSetDescription().
Referenced by PixelCPEGenericESProducer::fillDescriptions().
|
overrideprotectedvirtual |
Implements PixelCPEBase.
Definition at line 350 of file PixelCPEGeneric.cc.
References Exception, validate-o2o-wbm::f, HLT_FULL_cff::inflate_errors, RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), LogDebug, PixelCPEBase::ClusterParam::qBin_, mathSSE::sqrt(), PixelCPEBase::DetParam::thePitchX, PixelCPEBase::DetParam::thePitchY, PixelCPEBase::DetParam::theRecTopol, parallelization::uint(), and PixelCPEBase::ClusterParam::with_track_angle.
|
overrideprotectedvirtual |
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.
Reimplemented in PixelCPEGenericForBricked.
Definition at line 107 of file PixelCPEGeneric.cc.
References PixelCPEBase::DetParam::bx, PixelCPEBase::DetParam::bz, SiPixelCluster::charge(), PixelCPEBase::ClusterParam::cotalpha, PixelCPEBase::ClusterParam::cotbeta, gather_cfg::cout, PixelCPEGenericBase::ClusterParamGeneric::deltax, PixelCPEGenericBase::ClusterParamGeneric::deltay, PixelCPEBase::DetParam::detTemplateId, PixelCPEGenericBase::ClusterParamGeneric::dx1, PixelCPEGenericBase::ClusterParamGeneric::dx2, PixelCPEGenericBase::ClusterParamGeneric::dy1, PixelCPEGenericBase::ClusterParamGeneric::dy2, SiPixelUtils::generic_position_formula(), RectangularPixelTopology::isItBigPixelInX(), RectangularPixelTopology::isItBigPixelInY(), PixelCPEBase::ClusterParam::loc_trk_pred, Topology::localPosition(), LogDebug, PixelCPEBase::DetParam::lorentzShiftInCmX, PixelCPEBase::DetParam::lorentzShiftInCmY, SiPixelGenError::lorxwidth(), SiPixelGenError::lorywidth(), SiPixelCluster::maxPixelCol(), SiPixelCluster::maxPixelRow(), SiPixelCluster::minPixelCol(), SiPixelCluster::minPixelRow(), PixelCPEGenericBase::ClusterParamGeneric::pixmx, SiPixelGenError::qbin(), PixelCPEBase::ClusterParam::qBin_, PixelCPEGenericBase::ClusterParamGeneric::sigmax, PixelCPEGenericBase::ClusterParamGeneric::sigmay, SiPixelCluster::sizeX(), SiPixelCluster::sizeY(), PixelCPEGenericBase::ClusterParamGeneric::sx1, PixelCPEGenericBase::ClusterParamGeneric::sx2, PixelCPEGenericBase::ClusterParamGeneric::sy1, PixelCPEGenericBase::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().
|
protected |
Definition at line 88 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric(), and PixelCPEGenericForBricked::PixelCPEGenericForBricked().
|
protected |
Definition at line 86 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
protected |
Definition at line 85 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
protected |
Definition at line 89 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), PixelCPEGeneric(), and PixelCPEGenericForBricked::PixelCPEGenericForBricked().
|
protected |
Definition at line 90 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
protected |
Definition at line 91 of file PixelCPEGeneric.h.
Referenced by PixelCPEGeneric().
|
protected |
Definition at line 80 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 81 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 78 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 79 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 82 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 83 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().
|
protected |
Definition at line 94 of file PixelCPEGeneric.h.
Referenced by PixelCPEGenericForBricked::localPosition(), and PixelCPEGeneric().