CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalRawToRecHitLazyUnpacker.h
Go to the documentation of this file.
1 #ifndef EcalRawToRecHitLazyUnpacker_H
2 #define EcalRawToRecHitLazyUnpacker_H
3 
9 
11 
12 class EcalRawToRecHitLazyUnpacker : public edm::LazyUnpacker<EcalRecHit> {
13  public:
14 
17 
19  const EcalUnpackerWorkerBase & worker,
20  const FEDRawDataCollection& fedcollection);
21 
23 
24  // mandatory for actual unpacking stuff
25  virtual void fill(const uint32_t&, record_type &);
26 
27  private:
28 
29  // This a temporary fix for the bug caused by the
30  // bad design in EcalUnpackerWorker. It should be
31  // removed as soon as no longer necessary.
32  virtual void setEvent(edm::Event const& e) const { worker_->setEvent(e); }
33 
35 
37 
39 
40 };
41 
42 
43 #endif
const EcalRegionCabling * cabling_
virtual void fill(const uint32_t &, record_type &)
std::vector< EcalRecHit > record_type
Definition: LazyGetter.h:219
edm::LazyUnpacker< EcalRecHit > Base
const FEDRawDataCollection * raw_
virtual void setEvent(edm::Event const &e) const
virtual void setEvent(edm::Event const &e) const
EcalRawToRecHitLazyUnpacker(const EcalRegionCabling &cable, const EcalUnpackerWorkerBase &worker, const FEDRawDataCollection &fedcollection)
const EcalUnpackerWorkerBase * worker_