CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESUnpackerWorker.h
Go to the documentation of this file.
1 #ifndef ESUnpackerWorker_H
2 #define ESUnpackerWorker_H
3 
9 
12 
14 
17 
20 
21 //forward declaration. just to be friend
23 
25  public:
26 
28 
30 
31  // the method that does it all
32  std::auto_ptr<EcalRecHitCollection> work(const uint32_t & i, const FEDRawDataCollection&) const;
33 
34  // method to set things up once per event
35  void update(const edm::Event & e) const;
36 
37  void write(edm::Event &e) const;
38 
39  void setHandles(const EcalUnpackerWorkerRecord & iRecord);
40  void set(const edm::EventSetup & es) const;
41 
42  unsigned int maxElementIndex() const { return EcalRegionCabling::maxESElementIndex();}
43 
44  private:
45 
48 
49 };
50 
51 
52 #endif
int i
Definition: DBlmapReader.cc:9
void setHandles(const EcalUnpackerWorkerRecord &iRecord)
std::auto_ptr< EcalRecHitCollection > work(const uint32_t &i, const FEDRawDataCollection &) const
void write(edm::Event &e) const
unsigned int maxElementIndex() const
ESUnpackerWorker(const edm::ParameterSet &conf)
ESUnpacker * ESUnpacker_
tuple conf
Definition: dbtoconf.py:185
void update(const edm::Event &e) const
static uint32_t maxESElementIndex()
ESRecHitWorkerBaseClass * RHWorker_
void set(const edm::EventSetup &es) const