Main Page
Namespaces
Classes
Package Documentation
EventFilter
RPCRawToDigi
interface
RPCPackingModule.h
Go to the documentation of this file.
1
#ifndef RPCRawToDigi_RPCPackingModule_H
2
#define RPCRawToDigi_RPCPackingModule_H
3
8
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
9
#include "
EventFilter/RPCRawToDigi/interface/EventRecords.h
"
10
#include "
FWCore/Utilities/interface/InputTag.h
"
11
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
12
13
#include "
CondFormats/DataRecord/interface/RPCEMapRcd.h
"
14
#include "
FWCore/Framework/interface/ESWatcher.h
"
15
16
#include <vector>
17
18
namespace
edm
{
class
ParameterSet
;}
19
namespace
edm
{
class
EventSetup
; }
20
namespace
edm
{
class
Event
; }
21
22
class
FEDRawData
;
23
class
RPCRecordFormatter
;
24
class
RPCReadOutMapping
;
25
26
class
RPCPackingModule
:
public
edm::stream::EDProducer
<> {
27
public
:
28
30
explicit
RPCPackingModule
(
const
edm::ParameterSet
& );
31
33
~
RPCPackingModule
()
override
;
34
36
void
produce(
edm::Event
&,
const
edm::EventSetup
& )
override
;
37
38
static
std::vector<rpcrawtodigi::EventRecords> eventRecords(
39
int
fedId
,
int
trigger_BX,
const
RPCDigiCollection
* ,
const
RPCRecordFormatter
& );
40
41
private
:
42
FEDRawData
* rawData(
int
fedId,
unsigned
int
lvl1_ID,
const
RPCDigiCollection
* ,
const
RPCRecordFormatter
& )
const
;
43
44
private
:
45
edm::EDGetTokenT<RPCDigiCollection>
dataLabel_
;
46
edm::ESWatcher<RPCEMapRcd>
recordWatcher_
;
47
const
RPCReadOutMapping
*
theCabling
;
48
};
49
#endif
ESWatcher.h
ParameterSet
Definition:
Functions.h:16
RPCRecordFormatter
Definition:
RPCRecordFormatter.h:17
edm::EDGetTokenT< RPCDigiCollection >
EDProducer.h
EventSetup
FEDRawData
Definition:
FEDRawData.h:20
RPCPackingModule::theCabling
const RPCReadOutMapping * theCabling
Definition:
RPCPackingModule.h:47
edm::EventSetup
Definition:
EventSetup.h:52
edm::ESWatcher< RPCEMapRcd >
RPCPackingModule
Definition:
RPCPackingModule.h:26
RPCDigiCollection
edm::stream::EDProducer
Definition:
EDProducer.h:38
Event
EventRecords.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
RPCPackingModule::dataLabel_
edm::EDGetTokenT< RPCDigiCollection > dataLabel_
Definition:
RPCPackingModule.h:45
RPCDigiCollection.h
edm::Event
Definition:
Event.h:70
RPCPackingModule::recordWatcher_
edm::ESWatcher< RPCEMapRcd > recordWatcher_
Definition:
RPCPackingModule.h:46
l1t::stage2::layer2::fedId
const signed int fedId
Definition:
L1TStage2Layer2Constants.cc:4
RPCEMapRcd.h
RPCReadOutMapping
Definition:
RPCReadOutMapping.h:23
Generated for CMSSW Reference Manual by
1.8.11