CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
~RPCPackingModule() override
dtor
static std::vector< rpcrawtodigi::EventRecords > eventRecords(int fedId, int trigger_BX, const RPCDigiCollection *, const RPCRecordFormatter &)
const RPCReadOutMapping * theCabling
FEDRawData * rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection *, const RPCRecordFormatter &) const
edm::ESGetToken< RPCEMap, RPCEMapRcd > readoutMappingToken_
RPCPackingModule(const edm::ParameterSet &)
ctor
void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to raw event, attach again to Event
HLT enums.
edm::EDGetTokenT< RPCDigiCollection > dataLabel_
edm::ESWatcher< RPCEMapRcd > recordWatcher_