|
|
Go to the documentation of this file.
28 theClusterShapeCacheToken(
54 theFilter = std::make_unique<TripletFilter>(es);
71 const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) {
88 int size = thirdLayers.size();
92 for (
int il = 0; il <
size; il++)
99 for (OrderedHitPairs::const_iterator ip = pairs.begin(); ip != pairs.end(); ip++) {
101 vector<const TrackingRecHit*>
recHits(3);
102 vector<GlobalPoint>
points(3);
104 recHits[0] = (*ip).inner()->hit();
105 recHits[1] = (*ip).outer()->hit();
111 for (
int i = 0;
i < 2;
i++)
119 for (
int il = 0; il <
size; il++) {
120 const DetLayer* layer = thirdLayers[il].detLayer();
135 vector<Hit> thirdHits = thirdHitMap[il]->
hits(phiRange.
min(), phiRange.
max());
136 typedef vector<Hit>::const_iterator IH;
138 for (IH th = thirdHits.begin(), eh = thirdHits.end(); th < eh; ++th) {
148 vector<GlobalVector> globalDirs;
151 cerr <<
" not compatible: multiple scattering" << endl;
175 cerr <<
" not compatible: cluster shape" << endl;
186 delete[] thirdHitMap;
195 const std::vector<const DetLayer*>& thirdLayerDetLayer,
196 const int nThirdLayers) {
197 throw cms::Exception(
"Error") <<
"PixelTripletLowPtGenerator::hitTriplets is not implemented \n";
const TrackerGeomDet * idToDet(DetId) const override
T const * product() const
bool isCompatibleWithMultipleScattering(GlobalPoint g3, const std::vector< const TrackingRecHit * > &h, std::vector< GlobalVector > &localDirs, const edm::EventSetup &es)
virtual SubDetector subDetector() const =0
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel,...
std::unique_ptr< TripletFilter > theFilter
bool checkMultipleScattering
virtual Location location() const =0
Which part of the detector (barrel, endcap)
PixelTripletLowPtGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
~PixelTripletLowPtGenerator() override
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
double nSigMultipleScattering
BaseTrackerRecHit const * Hit
void getRanges(const DetLayer *layer, float phi[], float rz[])
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
edm::EDGetTokenT< SiPixelClusterShapeCache > theClusterShapeCacheToken
void getTracker(const edm::EventSetup &es)
void hitTriplets(const TrackingRegion ®ion, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayerSet &pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers) override
LayerCacheType * theLayerCache
std::vector< Hit > hits(float phiMin, float phiMax) const
const TrackerGeometry * theTracker
SeedingHitSet::ConstRecHitPointer Hit
GlobalPoint getGlobalPosition(const TrackingRecHit *recHit)
static std::string getInfo(const DetId &id, const TrackerTopology *tTopo)