24 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
27 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i) {
28 event.getByLabel(
"mix", pSimHitCollections->second[
i], cfPSimHits);
29 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
40 std::vector<SiPixelQuality::disabledModuleType> badModules(siPixelBadModule->
getBadComponentList());
45 if (!pixelQuality.IsModuleBad(pSimHit->detUnitId()))
46 selection.push_back(*pSimHit);
def setup(process, global_tag, zero_tesla=False)
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
const std::vector< disabledModuleType > getBadComponentList() const
std::vector< PSimHit > PSimHitCollection
T const * product() const
PSimHitCollectionMap pSimHitCollectionMap_