10 using namespace ctfseeding;
20 theIdLayer(idLayer) {}
42 LogDebug(
"HitExtractorPIX") <<
"getting : " << result.size() <<
" pixel hits.";
46 unsigned int skipped = 0;
47 for (
unsigned int iH = 0; iH != result.size(); ++iH) {
50 assert(pixelClusterMask->refProd().
id() == concrete.cluster().id());
51 if (pixelClusterMask->mask(concrete.cluster().key())) {
58 LogDebug(
"HitExtractorPIX") <<
"skipped :" << skipped <<
" pixel clusters";
61 auto last = std::remove_if(result.begin(), result.end(), [](
HitPointer const&
p) {
return p.empty(); });
62 result.resize(
last - result.begin());
65 LogDebug(
"HitExtractorPIX") <<
"giving :" << result.size() <<
" rechits out";
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void range2SeedingHits(DSTV const &dstv, HitExtractor::Hits &v, std::pair< A, B > const &sel)
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
std::pair< DetId, SameLayerComparator > pxfDetIdDiskComparator(uint32_t side, uint32_t disk) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool getData(T &iHolder) const
std::pair< DetId, SameLayerComparator > pxbDetIdLayerComparator(uint32_t layer) const