CMS 3D CMS Logo

RPCPackingModule.h
Go to the documentation of this file.
1 #ifndef RPCRawToDigi_RPCPackingModule_H
2 #define RPCRawToDigi_RPCPackingModule_H
3 
13 
17 
18 #include <vector>
19 
20 namespace edm {
21  class ParameterSet;
22 }
23 namespace edm {
24  class EventSetup;
25 }
26 namespace edm {
27  class Event;
28 }
29 
30 class FEDRawData;
31 class RPCRecordFormatter;
32 class RPCReadOutMapping;
33 
35 public:
37  explicit RPCPackingModule(const edm::ParameterSet&);
38 
40  ~RPCPackingModule() override;
41 
43  void produce(edm::Event&, const edm::EventSetup&) override;
44 
45  static std::vector<rpcrawtodigi::EventRecords> eventRecords(int fedId,
46  int trigger_BX,
47  const RPCDigiCollection*,
48  const RPCRecordFormatter&);
49 
50 private:
51  FEDRawData* rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection*, const RPCRecordFormatter&) const;
52 
53 private:
58 };
59 #endif
RPCRecordFormatter
Definition: RPCRecordFormatter.h:15
RPCPackingModule::rawData
FEDRawData * rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection *, const RPCRecordFormatter &) const
Definition: RPCPackingModule.cc:69
edm::ESWatcher< RPCEMapRcd >
RPCPackingModule
Definition: RPCPackingModule.h:34
edm::EDGetTokenT< RPCDigiCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
RPCPackingModule::readoutMappingToken_
edm::ESGetToken< RPCEMap, RPCEMapRcd > readoutMappingToken_
Definition: RPCPackingModule.h:57
EDProducer.h
RPCPackingModule::dataLabel_
edm::EDGetTokenT< RPCDigiCollection > dataLabel_
Definition: RPCPackingModule.h:54
RPCPackingModule::produce
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to raw event, attach again to Event
Definition: RPCPackingModule.cc:40
ESGetToken.h
RPCEMapRcd.h
FEDRawData
Definition: FEDRawData.h:19
RPCDigiCollection
RPCPackingModule::RPCPackingModule
RPCPackingModule(const edm::ParameterSet &)
ctor
Definition: RPCPackingModule.cc:31
RPCPackingModule::recordWatcher_
edm::ESWatcher< RPCEMapRcd > recordWatcher_
Definition: RPCPackingModule.h:55
Event
edm::ParameterSet
Definition: ParameterSet.h:47
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:88
edm::ESGetToken< RPCEMap, RPCEMapRcd >
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:128
RPCEMap.h
RPCPackingModule::theCabling
const RPCReadOutMapping * theCabling
Definition: RPCPackingModule.h:56
EventSetup
EventRecords.h
edm::Event
Definition: Event.h:73