1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1 45 #include <unordered_map> 110 bool hasBadPixels_ =
false;
112 bool hasFilledProb_ =
false;
147 setTheClu( theDetParam, *theClusterParam );
154 auto tuple = std::make_tuple(lp, le , rqw);
155 delete theClusterParam;
175 setTheClu( theDetParam, *theClusterParam );
182 auto tuple = std::make_tuple(lp, le , rqw);
183 delete theClusterParam;
222 mutable std::atomic<int> nRecHitsTotal_ ;
223 mutable std::atomic<int> nRecHitsUsedEdge_ ;
const SiPixelLorentzAngle * lorentzAngleWidth_
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
const SiPixelCluster * theCluster
ClusterParam(const SiPixelCluster &cl)
bool isFlipped(DetParam const &theDetParam) const
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
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) 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
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType
virtual LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const =0
virtual LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) const =0
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
DetParam const & detParam(const GeomDetUnit &det) const