|
|
Go to the documentation of this file.
25 theClusterShapeCacheToken(
48 theFilter = std::make_unique<TripletFilter>(es);
65 const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) {
80 int size = thirdLayers.size();
84 for (
int il = 0; il <
size; il++)
91 for (OrderedHitPairs::const_iterator ip = pairs.begin(); ip != pairs.end(); ip++) {
93 vector<const TrackingRecHit*>
recHits(3);
94 vector<GlobalPoint>
points(3);
96 recHits[0] = (*ip).inner()->hit();
97 recHits[1] = (*ip).outer()->hit();
103 for (
int i = 0;
i < 2;
i++)
111 for (
int il = 0; il <
size; il++) {
115 cerr <<
" check layer " <<
layer->subDetector() <<
" " <<
layer->location() << endl;
127 vector<Hit> thirdHits = thirdHitMap[il]->
hits(phiRange.
min(), phiRange.
max());
128 typedef vector<Hit>::const_iterator IH;
130 for (IH th = thirdHits.begin(), eh = thirdHits.end(); th < eh; ++th) {
140 vector<GlobalVector> globalDirs;
143 cerr <<
" not compatible: multiple scattering" << endl;
167 cerr <<
" not compatible: cluster shape" << endl;
178 delete[] thirdHitMap;
187 const std::vector<const DetLayer*>& thirdLayerDetLayer,
188 const int nThirdLayers) {
189 throw cms::Exception(
"Error") <<
"PixelTripletLowPtGenerator::hitTriplets is not implemented \n";
const TrackerGeomDet * idToDet(DetId) const override
bool isCompatibleWithMultipleScattering(GlobalPoint g3, const std::vector< const TrackingRecHit * > &h, std::vector< GlobalVector > &localDirs, const edm::EventSetup &es)
std::unique_ptr< TripletFilter > theFilter
bool checkMultipleScattering
PixelTripletLowPtGenerator(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
~PixelTripletLowPtGenerator() override
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > m_topoToken
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
double nSigMultipleScattering
BaseTrackerRecHit const * Hit
void getRanges(const DetLayer *layer, float phi[], float rz[])
constexpr std::array< uint8_t, layerIndexSize > layer
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
bool getData(T &iHolder) const
LayerCacheType * theLayerCache
std::vector< Hit > hits(float phiMin, float phiMax) const
const TrackerGeometry * theTracker
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > m_geomToken
SeedingHitSet::ConstRecHitPointer Hit
GlobalPoint getGlobalPosition(const TrackingRecHit *recHit)
static std::string getInfo(const DetId &id, const TrackerTopology *tTopo)