44 iConfig.existsAs<
std::
string>(
"objectSelection") ? iConfig.getParameter<
std::
string>(
"objectSelection") :
"",
46 produces<edm::ValueMap<float>>();
59 iEvent.getByToken(probesToken_, probes);
65 for (
object =
objects->begin();
object != endobjects; ++
object) {
66 if (!(objCut_(*
object)))
75 auto valMap = std::make_unique<ValueMap<float>>();
StringCutObjectSelector< T, true > objCut_
edm::EDGetTokenT< edm::View< reco::Candidate > > probesToken_
ObjectMultiplicityCounter< reco::Vertex > VertexMultiplicityCounter
Matcher of number of reconstructed objects in the event to probe.
edm::EDGetTokenT< edm::View< T > > objectsToken_
#define DEFINE_FWK_MODULE(type)
ObjectMultiplicityCounter< reco::Candidate > CandMultiplicityCounter
~ObjectMultiplicityCounter() override
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
ObjectMultiplicityCounter< reco::Track > TrackMultiplicityCounter
ObjectMultiplicityCounter(const edm::ParameterSet &iConfig)