23 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
26 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i) {
27 event.getByLabel(
"mix", pSimHitCollections->second[
i], cfPSimHits);
28 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
42 if (!cscBadChambers->isInBadChamber(
CSCDetId(dId)))
43 selection.push_back(*pSimHit);
45 selection.push_back(*pSimHit);
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
const edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > cscBadToken_
std::vector< PSimHit > PSimHitCollection
T const * product() const
PSimHitCollectionMap pSimHitCollectionMap_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
constexpr Detector det() const
get the detector field from this detid