CMS 3D CMS Logo

EcalUncalibRecHitWorkerRunOneDigiBase.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerRunOneDigiBase_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerRunOneDigiBase_hh
3 
5 
9 
11 public:
17 
18  virtual bool run(const edm::Event& evt,
21 
22  void run(const edm::Event& evt, const EcalDigiCollection& digis, EcalUncalibratedRecHitCollection& result) override {
23  result.reserve(result.size() + digis.size());
24  for (auto it = digis.begin(); it != digis.end(); ++it)
25  run(evt, it, result);
26  }
27 };
28 
29 #endif
const_iterator begin() const
void run(const edm::Event &evt, const EcalDigiCollection &digis, EcalUncalibratedRecHitCollection &result) override
EcalUncalibRecHitWorkerRunOneDigiBase(const edm::ParameterSet &p, edm::ConsumesCollector &c)
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
const_iterator end() const
size_type size() const
void reserve(size_type n)