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 
31  virtual void write(edm::Event &e) const {};
32 
33  virtual void setHandles(const EcalUnpackerWorkerRecord & iRecord) {};
34  virtual void set(const edm::EventSetup & es) const {};
35 
36  virtual unsigned int maxElementIndex() const {return 0;};
37 
38  protected:
39 
40  mutable const edm::Event * evt;
41 
42 };
43 
44 
45 #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 update(const edm::Event &e) const
virtual void setHandles(const EcalUnpackerWorkerRecord &iRecord)
virtual void set(const edm::EventSetup &es) const