1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1 45 #include <unordered_map> 108 bool hasBadPixels_ =
false;
110 bool hasFilledProb_ =
false;
113 bool filled_from_2d =
false;
151 setTheClu(theDetParam, *theClusterParam);
158 auto tuple = std::make_tuple(lp, le, rqw);
159 delete theClusterParam;
178 setTheClu(theDetParam, *theClusterParam);
185 auto tuple = std::make_tuple(lp, le, rqw);
186 delete theClusterParam;
223 mutable std::atomic<int> nRecHitsTotal_;
224 mutable std::atomic<int> nRecHitsUsedEdge_;
const SiPixelLorentzAngle * lorentzAngleWidth_
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
const SiPixelCluster * theCluster
ClusterParam(const SiPixelCluster &cl)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const PixelGeomDetUnit * theDet
GeomDetType::SubDetector thePart
const RectangularPixelTopology * theRecTopol
bool useLAWidthFromConfig_
const PixelTopology * theTopol
bool LoadTemplatesFromDB_
void computeAnglesFromTrajectory(DetParam const &theDetParam, ClusterParam &theClusterParam, const LocalTrajectoryParameters <p) const
virtual ClusterParam * createClusterParam(const SiPixelCluster &cl) const =0
void computeLorentzShifts(DetParam &) const
const SiPixelTemplateDBObject * templateDBobject_
const MagneticField * magfield_
void computeAnglesFromDetPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const
SiPixelRecHitQuality::QualWordType rawQualityWord(ClusterParam &theClusterParam) const
Topology::LocalTrackPred loc_trk_pred
std::vector< DetParam > DetParams
const TrackerTopology & ttopo_
const SiPixelLorentzAngle * lorentzAngle_
const SiPixelGenErrorDBObject * genErrorDBObject_
void setTheClu(DetParam const &, ClusterParam &theClusterParam) const
bool useLAOffsetFromConfig_
GloballyPositioned< double > Frame
Pixel cluster – collection of neighboring pixels above threshold.
const TrackerGeometry & geom_
unsigned int QualWordType
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)
LocalVector driftDirection
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const override
virtual LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const =0
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType
virtual LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const =0
DetParam const & detParam(const GeomDetUnit &det) const