27 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
30 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i) {
31 event.getByLabel(
mixLabel_, pSimHitCollections->second[
i], cfPSimHits);
32 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
39 std::map<uint32_t, std::vector<int>> theDetIdList;
45 std::vector<std::pair<const PSimHit *, int>> psimhits(
SimHitSelectorFromDB().getSimHit(pSimHits, theDetIdList));
48 for (std::size_t
i = 0;
i < psimhits.size(); ++
i)
49 selection.push_back(*(const_cast<PSimHit *>(psimhits[
i].first)));
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
std::vector< PSimHit > PSimHitCollection
T const * product() const
PSimHitCollectionMap pSimHitCollectionMap_
void addConnected(std::map< uint32_t, std::vector< int >> &) const