1 #ifndef RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H
2 #define RecoLocalTracker_SiPixelRecHits_PixelCPEBase_H 1
31 #include "Geometry/CommonDetAlgo/interface/MeasurementPoint.h"
32 #include "Geometry/CommonDetAlgo/interface/MeasurementError.h"
33 #include "Geometry/Surface/interface/GloballyPositioned.h"
46 #include <ext/hash_map>
76 return std::make_pair( lp, le );
94 return std::make_pair( lp, le );
116 return std::make_pair( lp, le );
306 void xCharge(
const std::vector<SiPixelCluster::Pixel>&,
307 const int&,
const int&,
float&
q1,
float&
q2)
const;
308 void yCharge(
const std::vector<SiPixelCluster::Pixel>&,
309 const int&,
const int&,
float&
q1,
float&
q2)
const;
353 typedef __gnu_cxx::hash_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
void xCharge(const std::vector< SiPixelCluster::Pixel > &, const int &, const int &, float &q1, float &q2) const
unsigned int clusterProbComputationFlag_
SiPixelRecHitQuality::QualWordType rawQualityWord() const
void yCharge(const std::vector< SiPixelCluster::Pixel > &, const int &, const int &, float &q1, float &q2) 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
LocalVector driftDirection_
void computeLorentzShifts() const
void computeAnglesFromTrajectory(const SiPixelCluster &cl, const GeomDetUnit &det, const LocalTrajectoryParameters <p) const
bool hasFilledProb() const
LocalVector driftDirection(GlobalVector bfield) const
float probabilityQ() const
double lorentzShiftInCmX_
Tan< T >::type tan(const T &t)
const SiPixelTemplateDBObject * templateDBobject_
__gnu_cxx::hash_map< unsigned int, Param > Params
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
LocalTrajectoryParameters loc_traj_param_
const SiPixelLorentzAngle * lorentzAngle_
const PixelTopology * theTopol
MeasurementPoint measurementPosition(const SiPixelCluster &, const GeomDetUnit &det) const
void setTheDet(const GeomDetUnit &det, const SiPixelCluster &cluster) const
virtual float lorentzShiftX() const
GloballyPositioned< double > Frame
Pixel cluster – collection of neighboring pixels above threshold.
float probabilityXY() const
LocalValues localParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const
bool spansTwoRocks() const
const PixelGeomDetUnit * theDet
PixelTopology const * topology
virtual 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