13 produces<ME0RecHitCollection>();
46 event.getByToken(
m_token,digis);
59 for (me0dgIt = digis->begin(); me0dgIt != digis->end();
63 const ME0DetId& me0Id = (*me0dgIt).first;
74 if(recHits.
size() > 0)
75 recHitCollection->put(me0Id, recHits.
begin(), recHits.
end());
78 event.put(recHitCollection);
T getParameter(std::string const &) const
edm::RangeMap< ME0DetId, edm::OwnVector< ME0RecHit, edm::ClonePolicy< ME0RecHit > >, edm::ClonePolicy< ME0RecHit > > ME0RecHitCollection
virtual void setES(const edm::EventSetup &setup)=0
Pass the Event Setup to the algo at each event.
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
virtual void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
ME0RecHitBaseAlgo * theAlgo
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
virtual edm::OwnVector< ME0RecHit > reconstruct(const ME0DetId &me0Id, const ME0DigiPreRecoCollection::Range &digiRange)
Build all hits in the range associated to the me0Id, at the 1st step.
std::pair< const_iterator, const_iterator > Range
ME0RecHitProducer(const edm::ParameterSet &config)
Constructor.
virtual ~ME0RecHitProducer()
Destructor.
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
T get(const Candidate &c)