21 produces< edm::PtrVector<reco::Candidate> >();
22 produces< edm::RefToBaseVector<reco::Candidate> >();
45 std::auto_ptr< edm::RefToBaseVector<reco::Candidate> >
47 std::auto_ptr< edm::PtrVector<reco::Candidate> >
66 scIt != recoCandColl->end(); ++scIt, ++
counter){
69 elec != electrons->end(); ++elec) {
73 double dRval =
reco::deltaR((
float)eSC->eta(), (float)eSC->phi(),
74 scIt->eta(), scIt->phi());
78 outColRef->push_back( recoCandColl->refAt(counter) );
79 outColPtr->push_back( recoCandColl->ptrAt(counter) );
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
~ElectronMatchedCandidateProducer()
double deltaR(const T1 &t1, const T2 &t2)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
edm::EDGetTokenT< edm::View< reco::Candidate > > scCollectionToken_
ElectronMatchedCandidateProducer(const edm::ParameterSet &)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
static std::atomic< unsigned int > counter
edm::EDGetTokenT< edm::View< reco::GsfElectron > > electronCollectionToken_