15 using namespace ctfseeding;
20 : theSide(side), theIdLayer(idLayer), theHitProducer(hitProducer)
37 LogDebug(
"HitExtractorPIX")<<
"getting : "<<result.size()<<
" pixel hits.";
41 std::vector<bool>
keep(result.size(),
true);
43 unsigned int skipped=0;
44 if (result.empty())
return result;
45 newHits.reserve(result.size());
46 for (
unsigned int iH=0;iH!=result.size();++iH){
47 if (result[iH]->
hit()->isValid()){
49 assert(pixelClusterMask->refProd().
id() == concrete->cluster().id());
50 if(pixelClusterMask->mask(concrete->cluster().key())) {
56 newHits.push_back(result[iH]);
59 LogDebug(
"HitExtractorPIX")<<
"skipped :"<<skipped<<
" pixel clusters";
61 LogDebug(
"HitExtractorPIX")<<
"giving :"<<result.size()<<
" rechits out";
std::pair< DetId, DetIdPXFSameDiskComparator > pixelForwardDisk(int side, int disk)
void range2SeedingHits(DSTV const &dstv, HitExtractor::Hits &v, std::pair< A, B > const &sel, const SeedingLayer &sl, const edm::EventSetup &es)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::pair< DetId, DetIdPXBSameLayerComparator > pixelBarrelLayer(int layer)