CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalUnpackerWorkerBase.h
Go to the documentation of this file.
1 #ifndef EcalUnpackerWorkerBase_H
2 #define EcalUnpackerWorkerBase_H
3 
9 
12 
13 
15 
17 
19  public:
20 
22 
24 
25  // the method that does it all
26  virtual std::auto_ptr<EcalRecHitCollection> work(const uint32_t & i, const FEDRawDataCollection&) const { return std::auto_ptr<EcalRecHitCollection>(0);}
27 
28  // method to set things up once per event
29  virtual void update(const edm::Event & e) const {};
30  virtual void setEvent(edm::Event const& e) const {};
31 
32  virtual void write(edm::Event &e) const {};
33 
34  virtual void setHandles(const EcalUnpackerWorkerRecord & iRecord) {};
35  virtual void set(const edm::EventSetup & es) const {};
36 
37  virtual unsigned int maxElementIndex() const {return 0;};
38 };
39 
40 #endif
int i
Definition: DBlmapReader.cc:9
virtual std::auto_ptr< EcalRecHitCollection > work(const uint32_t &i, const FEDRawDataCollection &) const
virtual unsigned int maxElementIndex() const
virtual void write(edm::Event &e) const
virtual void setEvent(edm::Event const &e) const
virtual void update(const edm::Event &e) const
virtual void setHandles(const EcalUnpackerWorkerRecord &iRecord)
virtual void set(const edm::EventSetup &es) const