Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
EcalRawToDigi
interface
EcalUnpackerWorkerBase.h
Go to the documentation of this file.
1
#ifndef EcalUnpackerWorkerBase_H
2
#define EcalUnpackerWorkerBase_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
6
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
#include "
EventFilter/EcalRawToDigi/interface/EcalUnpackerWorkerRecord.h
"
11
#include "
EventFilter/EcalRawToDigi/interface/EcalRegionCabling.h
"
12
13
14
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
15
16
#include "
EventFilter/EcalRawToDigi/interface/MyWatcher.h
"
17
18
class
EcalUnpackerWorkerBase
{
19
public
:
20
21
EcalUnpackerWorkerBase
(){}
22
23
virtual
~EcalUnpackerWorkerBase
(){}
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
i
int i
Definition:
DBlmapReader.cc:9
MessageLogger.h
EcalUnpackerWorkerBase
Definition:
EcalUnpackerWorkerBase.h:18
EcalUnpackerWorkerBase::work
virtual std::auto_ptr< EcalRecHitCollection > work(const uint32_t &i, const FEDRawDataCollection &) const
Definition:
EcalUnpackerWorkerBase.h:26
EcalUnpackerWorkerBase::maxElementIndex
virtual unsigned int maxElementIndex() const
Definition:
EcalUnpackerWorkerBase.h:36
Event.h
EcalRecHitCollections.h
FEDRawDataCollection.h
ParameterSet.h
MyWatcher.h
EcalUnpackerWorkerBase::evt
const edm::Event * evt
Definition:
EcalUnpackerWorkerBase.h:36
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:44
EcalUnpackerWorkerRecord
Definition:
EcalUnpackerWorkerRecord.h:20
EcalUnpackerWorkerBase::~EcalUnpackerWorkerBase
virtual ~EcalUnpackerWorkerBase()
Definition:
EcalUnpackerWorkerBase.h:23
EcalUnpackerWorkerRecord.h
EcalUnpackerWorkerBase::write
virtual void write(edm::Event &e) const
Definition:
EcalUnpackerWorkerBase.h:31
EcalUnpackerWorkerBase::update
virtual void update(const edm::Event &e) const
Definition:
EcalUnpackerWorkerBase.h:29
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:21
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
EcalUnpackerWorkerBase::setHandles
virtual void setHandles(const EcalUnpackerWorkerRecord &iRecord)
Definition:
EcalUnpackerWorkerBase.h:33
EcalRegionCabling.h
edm::Event
Definition:
Event.h:50
EcalUnpackerWorkerBase::set
virtual void set(const edm::EventSetup &es) const
Definition:
EcalUnpackerWorkerBase.h:34
EcalUnpackerWorkerBase::EcalUnpackerWorkerBase
EcalUnpackerWorkerBase()
Definition:
EcalUnpackerWorkerBase.h:21
Generated for CMSSW Reference Manual by
1.8.5