1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H
2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1
40 #include <unordered_map>
45 class RectangularPixelTopology;
77 return std::make_pair( lp, le );
95 return std::make_pair( lp, le );
117 return std::make_pair( lp, le );
326 typedef std::unordered_map< unsigned int, Param>
Params;
Topology::LocalTrackPred loc_trk_pred_
PixelCPEBase(edm::ParameterSet const &conf, const MagneticField *mag=0, const SiPixelLorentzAngle *lorentzAngle=0, const SiPixelCPEGenericErrorParm *genErrorParm=0, const SiPixelTemplateDBObject *templateDBobject=0)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
void computeAnglesFromDetPosition(const SiPixelCluster &cl, const GeomDetUnit &det) const
unsigned int clusterProbComputationFlag_
SiPixelRecHitQuality::QualWordType rawQualityWord() const
MeasurementError measurementError(const SiPixelCluster &, const GeomDetUnit &det) const
LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const
LocalVector driftDirectionCorrect(GlobalVector bfield) const
GeomDetType::SubDetector thePart
std::pair< LocalPoint, LocalError > LocalValues
virtual float ypos(const SiPixelCluster &) const =0
double lorentzShiftInCmY_
unsigned int clusterProbComputationFlag() const
bool hasBadPixels() const
std::unordered_map< unsigned int, Param > Params
LocalVector driftDirection_
void computeLorentzShifts() const
void computeAnglesFromTrajectory(const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const
Param const & param() const
bool hasFilledProb() const
LocalVector driftDirection(GlobalVector bfield) const
float probabilityQ() const
double lorentzShiftInCmX_
Tan< T >::type tan(const T &t)
const SiPixelTemplateDBObject * templateDBobject_
MeasurementPoint measurementPosition(const SiPixelCluster &cluster, const GeomDetUnit &det) const
const MagneticField * magfield_
float probabilityX() const
void setMagField(const MagneticField *mag) const
float probabilityY() const
virtual LocalError localError(const SiPixelCluster &cl, const GeomDetUnit &det) const =0
const RectangularPixelTopology * theRecTopol
LocalTrajectoryParameters loc_traj_param_
const SiPixelLorentzAngle * lorentzAngle_
const PixelTopology * theTopol
void setTheDet(const GeomDetUnit &det, const SiPixelCluster &cluster) const
float lorentzShiftX() const
GloballyPositioned< double > Frame
Pixel cluster – collection of neighboring pixels above threshold.
LocalVector const & getDrift() const
float probabilityXY() const
LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
bool spansTwoRocks() const
const PixelGeomDetUnit * theDet
float lorentzShiftY() const
virtual LocalPoint localPosition(const SiPixelCluster &cl, const GeomDetUnit &det) const
const SiPixelCPEGenericErrorParm * genErrorParm_
LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det, float alpha, float beta) const
virtual float xpos(const SiPixelCluster &) const =0