88 if (pairs.
size() == 0)
return;
94 for(
int il=0; il<
size; il++)
101 for(OrderedHitPairs::const_iterator ip = pairs.begin();
102 ip!= pairs.end(); ip++)
105 vector<const TrackingRecHit*> recHits(3);
106 vector<GlobalPoint> points(3);
108 recHits[0] = (*ip).inner()->hit();
109 recHits[1] = (*ip).outer()->hit();
116 for(
int i=0;
i<2;
i++)
121 thePrediction(region,
122 points[0],points[1], es,
126 for(
int il=0; il<
size; il++)
132 <<
" " << layer->
location() << endl;
137 thePrediction.getRanges(layer, phi,rz);
144 vector<Hit> thirdHits = thirdHitMap[il]->
hits(phiRange.min(),phiRange.max());
145 typedef vector<Hit>::const_iterator IH;
147 for (IH th=thirdHits.begin(), eh=thirdHits.end(); th < eh; ++th)
150 recHits[2] = (*th)->hit();
158 vector<GlobalVector> globalDirs;
159 if(thePrediction.isCompatibleWithMultipleScattering
160 (points[2], recHits, globalDirs, es) ==
false)
163 cerr <<
" not compatible: multiple scattering" << endl;
188 cerr <<
" not compatible: cluster shape" << endl;
199 delete [] thirdHitMap;
std::vector< Hit > hits(float phiMin, float phiMax) const
void getTracker(const edm::EventSetup &es)
virtual Location location() const =0
Which part of the detector (barrel, endcap)
virtual SubDetector subDetector() const =0
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
TripletFilter * theFilter
HitPairGenerator * thePairGenerator
virtual unsigned int size() const
std::vector< SeedingLayerSetsHits::SeedingLayer > theLayers
virtual void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &es)
bool checkMultipleScattering
LayerCacheType * theLayerCache
T const * product() const
TransientTrackingRecHit::ConstRecHitPointer Hit
bool checkTrack(const std::vector< const TrackingRecHit * > &recHits, const std::vector< LocalVector > &localDirs, const TrackerTopology *tTopo)
GlobalPoint getGlobalPosition(const TrackingRecHit *recHit)
static std::string getInfo(const DetId &id, const TrackerTopology *tTopo)
double nSigMultipleScattering
tuple size
Write out results.