22 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
25 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i) {
26 event.getByLabel(
mixLabel_, pSimHitCollections->second[
i], cfPSimHits);
27 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
34 std::map<uint32_t, std::vector<int>> theDetIdList;
39 std::vector<std::pair<const PSimHit *, int>> psimhits(
SimHitSelectorFromDB().getSimHit(pSimHits, theDetIdList));
42 for (std::size_t
i = 0;
i < psimhits.size(); ++
i)
43 selection.push_back(*(const_cast<PSimHit *>(psimhits[
i].first)));
void addConnected(std::map< uint32_t, std::vector< int >> &) const
T const * product() const
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > cableToken_
std::vector< PSimHit > PSimHitCollection
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
PSimHitCollectionMap pSimHitCollectionMap_