43 produces<GEMRecHitCollection>();
49 string theAlgoName = config.
getParameter<
string>(
"recAlgo");
160 event.getByLabel(theGEMDigiLabel,digis);
164 theAlgo->setES(setup);
173 for (gemdgIt = digis->begin(); gemdgIt != digis->end();
177 const GEMDetId& gemId = (*gemdgIt).first;
209 theAlgo->reconstruct(*roll, gemId, range, mask);
211 if(recHits.
size() > 0)
212 recHitCollection->put(gemId, recHits.
begin(), recHits.
end());
215 event.put(recHitCollection);
T getParameter(std::string const &) const
virtual void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
GEMRecHitProducer(const edm::ParameterSet &config)
Constructor.
virtual ~GEMRecHitProducer()
Destructor.
edm::RangeMap< GEMDetId, edm::OwnVector< GEMRecHit, edm::ClonePolicy< GEMRecHit > >, edm::ClonePolicy< GEMRecHit > > GEMRecHitCollection
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
std::pair< const_iterator, const_iterator > Range
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
T get(const Candidate &c)
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override