22 produces< edm::PtrVector<reco::Candidate> >();
23 produces< edm::RefToBaseVector<reco::Candidate> >();
46 std::auto_ptr< edm::RefToBaseVector<reco::Candidate> >
48 std::auto_ptr< edm::PtrVector<reco::Candidate> >
65 unsigned int counter=0;
69 scIt != recoCandColl->end(); ++scIt, ++counter){
72 elec != electrons->end(); ++elec) {
76 double dRval =
reco::deltaR((
float)eSC->eta(), (float)eSC->phi(),
77 scIt->eta(), scIt->phi());
81 outColRef->push_back( refs[counter] );
82 outColPtr->push_back( ptrVect[counter] );
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
#define DEFINE_FWK_MODULE(type)
~ElectronMatchedCandidateProducer()
double deltaR(double eta1, double phi1, double eta2, double phi2)
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::InputTag electronCollection_
ElectronMatchedCandidateProducer(const edm::ParameterSet &)
edm::InputTag scCollection_
virtual void produce(edm::Event &, const edm::EventSetup &)