CMS 3D CMS Logo

RPCPackingModule.h
Go to the documentation of this file.
1 #ifndef RPCRawToDigi_RPCPackingModule_H
2 #define RPCRawToDigi_RPCPackingModule_H
3 
12 
15 
16 #include <vector>
17 
18 namespace edm {
19  class ParameterSet;
20 }
21 namespace edm {
22  class EventSetup;
23 }
24 namespace edm {
25  class Event;
26 }
27 
28 class FEDRawData;
29 class RPCRecordFormatter;
30 class RPCReadOutMapping;
31 
33 public:
35  explicit RPCPackingModule(const edm::ParameterSet&);
36 
38  ~RPCPackingModule() override;
39 
41  void produce(edm::Event&, const edm::EventSetup&) override;
42 
43  static std::vector<rpcrawtodigi::EventRecords> eventRecords(int fedId,
44  int trigger_BX,
45  const RPCDigiCollection*,
46  const RPCRecordFormatter&);
47 
48 private:
49  FEDRawData* rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection*, const RPCRecordFormatter&) const;
50 
51 private:
55 };
56 #endif
RPCRecordFormatter
Definition: RPCRecordFormatter.h:15
RPCPackingModule::rawData
FEDRawData * rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection *, const RPCRecordFormatter &) const
Definition: RPCPackingModule.cc:70
edm::ESWatcher< RPCEMapRcd >
RPCPackingModule
Definition: RPCPackingModule.h:32
edm::EDGetTokenT< RPCDigiCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
EDProducer.h
RPCPackingModule::dataLabel_
edm::EDGetTokenT< RPCDigiCollection > dataLabel_
Definition: RPCPackingModule.h:52
RPCPackingModule::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to raw event, attach again to Event
Definition: RPCPackingModule.cc:40
RPCEMapRcd.h
FEDRawData
Definition: FEDRawData.h:19
RPCDigiCollection
RPCPackingModule::RPCPackingModule
RPCPackingModule(const edm::ParameterSet &)
ctor
Definition: RPCPackingModule.cc:32
RPCPackingModule::recordWatcher_
edm::ESWatcher< RPCEMapRcd > recordWatcher_
Definition: RPCPackingModule.h:53
Event
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
RPCPackingModule::~RPCPackingModule
~RPCPackingModule() override
dtor
Definition: RPCPackingModule.cc:38
RPCReadOutMapping
Definition: RPCReadOutMapping.h:22
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:82
InputTag.h
ESWatcher.h
RPCDigiCollection.h
RPCPackingModule::eventRecords
static std::vector< rpcrawtodigi::EventRecords > eventRecords(int fedId, int trigger_BX, const RPCDigiCollection *, const RPCRecordFormatter &)
Definition: RPCPackingModule.cc:129
RPCPackingModule::theCabling
const RPCReadOutMapping * theCabling
Definition: RPCPackingModule.h:54
EventSetup
EventRecords.h
edm::Event
Definition: Event.h:73