15 outCollection_(ps.getParameter<
std::
string>(
"outColl"))
24 auto outColl = std::make_unique<EcalTrigPrimCompactColl>();
31 trigPrim != trigPrims->
end(); ++trigPrim){
32 outColl->setValue(trigPrim->id().ieta(), trigPrim->id().iphi(), trigPrim->sample(trigPrim->sampleOfInterest()).raw());
T getParameter(std::string const &) const
void produce(edm::Event &evt, const edm::EventSetup &es) override
edm::EDGetTokenT< EcalTrigPrimDigiCollection > inCollectionToken_
std::vector< EcalTriggerPrimitiveDigi >::const_iterator const_iterator
std::string outCollection_
const_iterator end() const
const_iterator begin() const
EcalCompactTrigPrimProducer(const edm::ParameterSet &ps)