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());
T const * product() const
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
constexpr Detector det() const
get the detector field from this detid
const edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > cscBadToken_
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< PSimHit > PSimHitCollection
bool isInBadChamber(IndexType ichamber) const
Is the chamber with index 'ichamber' flagged as bad?
PSimHitCollectionMap pSimHitCollectionMap_