25 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
28 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i)
30 event.getByLabel(
"mix", pSimHitCollections->second[
i], cfPSimHits);
31 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
49 selection.push_back(*pSimHit);
52 selection.push_back(*pSimHit);
def setup(process, global_tag, zero_tesla=False)
bool isInBadChamber(IndexType ichamber) const
Is the chamber with index 'ichamber' flagged as bad?
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< PSimHit > PSimHitCollection
T const * product() const
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
PSimHitCollectionMap pSimHitCollectionMap_
constexpr Detector det() const
get the detector field from this detid