1 #ifndef PIXELHITMATCHER_H 2 #define PIXELHITMATCHER_H 37 #include "CLHEP/Vector/ThreeVector.h" 39 #include <unordered_map> 55 struct hash<
std::pair<const GeomDet*,GlobalPoint> > {
56 std::size_t
operator()(
const std::pair<const GeomDet*,GlobalPoint>&
g)
const {
57 auto h1 = std::hash<unsigned long long>()((
unsigned long long)g.first);
58 unsigned long long k; memcpy(&k, &g.second,
sizeof(k));
59 auto h2 = std::hash<unsigned long long>()(k);
60 return h1 ^ (h2 << 1);
75 : rh_(rh), dphi_(dphi)
78 ConstRecHitPointer
recHit()
const {
return rh_ ; }
79 float dPhi()
const {
return dphi_ ; }
85 ConstRecHitPointer
rh_ ;
102 : rh_(rh), subDet_(subDet), dRz_(dRz), dPhi_(
dPhi)
105 ConstRecHitPointer
recHit()
const {
return rh_; }
107 float dRz()
const {
return dRz_ ; }
108 float dPhi()
const {
return dPhi_ ; }
126 : seed_(seed), hitsMask_(hitsMask),
127 subDet2_(subDet2), dRz2_(dRz2), dPhi2_(dPhi2),
128 subDet1_(subDet1), dRz1_(dRz1), dPhi1_(dPhi1)
132 unsigned char hitsMask()
const {
return hitsMask_ ; }
135 float dRz2()
const {
return dRz2_ ; }
136 float dPhi2()
const {
return dPhi2_ ; }
139 float dRz1()
const {
return dRz1_ ; }
140 float dPhi1()
const {
return dPhi1_ ; }
164 typedef ROOT::Math::PositionVector3D<ROOT::Math::CylindricalEta3D<double> >
REPPoint;
167 (
float phi1min,
float phi1max,
169 float phi2minB,
float phi2maxB,
float phi2minF,
float phi2maxF,
170 float z2minB,
float z2maxB,
float r2minF,
float r2maxF,
178 std::vector<SeedWithInfo>
180 (
const std::vector<const TrajectorySeedCollection *>& seedsV,
const GlobalPoint & xmeas,
184 std::vector<std::pair<RecHitWithDist,ConstRecHitPointer> >
191 std::vector<CLHEP::Hep3Vector> predicted1Hits() ;
192 std::vector<CLHEP::Hep3Vector> predicted2Hits();
194 void set1stLayer(
float dummyphi1min,
float dummyphi1max ) ;
195 void set1stLayerZRange(
float zmin1,
float zmax1 ) ;
197 void set2ndLayer(
float dummyphi2minB,
float dummyphi2maxB,
float dummyphi2minF,
float dummyphi2maxF ) ;
200 void setUseRecoVertex(
bool val ) ;
TransientTrackingRecHit::RecHitPointer RecHitPointer
TransientTrackingRecHit::RecHitPointer RecHitPointer
BarrelMeasurementEstimator meas2ndBLayer
RecHitWithInfo(ConstRecHitPointer rh, int subDet=0, float dRz=std::numeric_limits< float >::infinity(), float dPhi=std::numeric_limits< float >::infinity())
TransientTrackingRecHit::RecHitContainer RecHitContainer
ROOT::Math::PositionVector3D< ROOT::Math::CylindricalEta3D< double > > REPPoint
BarrelMeasurementEstimator meas1stBLayer
PropagatorWithMaterial * prop1stLayer
std::vector< CLHEP::Hep3Vector > pred1Meas
unsigned char hitsMask() const
std::vector< ConstRecHitPointer > RecHitContainer
TransientTrackingRecHit::RecHitContainer RecHitContainer
SeedWithInfo(TrajectorySeed seed, unsigned char hitsMask, int subDet2, float dRz2, float dPhi2, int subDet1, float dRz1, float dPhi1)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
std::vector< GlobalPoint > hit_gp_map_
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
rMaxI
intermediate region SC in EB and 2nd hits in PXF
ConstRecHitPointer recHit() const
LayerMeasurements theLayerMeasurements
TransientTrackingRecHit::RecHitContainer RecHitContainer
const MagneticField * theMagField
const MeasurementTrackerEvent * theTrackerEvent
std::shared_ptr< TrackingRecHit const > RecHitPointer
std::size_t operator()(const std::pair< const GeomDet *, GlobalPoint > &g) const
const GeometricSearchTracker * theGeometricSearchTracker
std::vector< CLHEP::Hep3Vector > pred2Meas
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
ForwardMeasurementEstimator meas2ndFLayer
PropagatorWithMaterial * prop2ndLayer
ForwardMeasurementEstimator meas1stFLayer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
TransientTrackingRecHit::RecHitPointer RecHitPointer
const TrajectorySeed & seed() const
RecHitContainer hitsInTrack
ConstRecHitPointer recHit() const
std::unordered_map< std::pair< const GeomDet *, GlobalPoint >, TrajectoryStateOnSurface > mapTsos2_fast_
const TrackerGeometry * theTrackerGeometry
RecHitWithDist(ConstRecHitPointer rh, float &dphi)
const MeasurementTracker * theTracker