1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H
2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1
44 #include <unordered_map>
51 class RectangularPixelTopology;
148 setTheClu( theDetParam, *theClusterParam );
155 auto tuple = std::make_tuple(lp, le , rqw);
156 delete theClusterParam;
176 setTheClu( theDetParam, *theClusterParam );
183 auto tuple = std::make_tuple(lp, le , rqw);
184 delete theClusterParam;
199 virtual LocalError localError (DetParam
const & theDetParam, ClusterParam & theClusterParam)
const = 0;
223 mutable std::atomic<int> nRecHitsTotal_ ;
224 mutable std::atomic<int> nRecHitsUsedEdge_ ;
const SiPixelLorentzAngle * lorentzAngleWidth_
LocalVector driftDirection(DetParam &theDetParam, GlobalVector bfield) const
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_
virtual ClusterParam * createClusterParam(const SiPixelCluster &cl) const =0
const PixelTopology * theTopol
bool LoadTemplatesFromDB_
void computeAnglesFromTrajectory(DetParam const &theDetParam, ClusterParam &theClusterParam, const LocalTrajectoryParameters <p) const
virtual LocalPoint localPosition(DetParam const &theDetParam, ClusterParam &theClusterParam) 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 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_
PixelCPEBase(edm::ParameterSet const &conf, const MagneticField *mag, const TrackerGeometry &geom, const SiPixelLorentzAngle *lorentzAngle, const SiPixelGenErrorDBObject *genErrorDBObject, const SiPixelTemplateDBObject *templateDBobject, const SiPixelLorentzAngle *lorentzAngleWidth, int flag=0)
GloballyPositioned< double > Frame
Pixel cluster – collection of neighboring pixels above threshold.
const TrackerGeometry & geom_
unsigned int QualWordType
virtual LocalError localError(DetParam const &theDetParam, ClusterParam &theClusterParam) const =0
LocalVector driftDirection
volatile std::atomic< bool > shutdown_flag false
std::tuple< LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType > ReturnType
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
DetParam const & detParam(const GeomDetUnit &det) const