1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H
2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1
45 #include <unordered_map>
149 setTheClu( theDetParam, *theClusterParam );
156 auto tuple = std::make_tuple(lp, le , rqw);
157 delete theClusterParam;
177 setTheClu( theDetParam, *theClusterParam );
184 auto tuple = std::make_tuple(lp, le , rqw);
185 delete theClusterParam;
200 virtual LocalError localError (DetParam
const & theDetParam, ClusterParam & theClusterParam)
const = 0;
224 mutable std::atomic<int> nRecHitsTotal_ ;
225 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 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)
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