27 std::vector<const CrossingFrame<PSimHit> *> cfPSimHitProductPointers;
34 for (std::size_t
i = 0;
i < pSimHitCollections->second.size(); ++
i) {
35 event.getByLabel(
mixLabel_, pSimHitCollections->second[
i], cfPSimHits);
36 cfPSimHitProductPointers.push_back(cfPSimHits.
product());
40 if (cfPSimHitProductPointers.empty())
T getParameter(std::string const &) const
T const * product() const
PSimHitSelector(edm::ParameterSet const &, edm::ConsumesCollector &)
Constructor by pset.
std::vector< PSimHit > PSimHitCollection
PSimHitCollectionMap pSimHitCollectionMap_
virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const
Select the psimhit add them to a PSimHitCollection.
std::vector< std::string > getParameterNames() const