CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCPackingModule.h
Go to the documentation of this file.
1 #ifndef RPCRawToDigi_RPCPackingModule_H
2 #define RPCRawToDigi_RPCPackingModule_H
3 
12 
13 #include <vector>
14 
15 namespace edm {class ParameterSet;}
16 namespace edm {class EventSetup; }
17 namespace edm {class Event; }
18 
19 class FEDRawData;
20 class RPCRecordFormatter;
21 class RPCReadOutMapping;
22 
24 public:
25 
27  explicit RPCPackingModule( const edm::ParameterSet& );
28 
30  virtual ~RPCPackingModule();
31 
33  virtual void produce( edm::Event&, const edm::EventSetup& );
34 
35  static std::vector<rpcrawtodigi::EventRecords> eventRecords(
36  int fedId, int trigger_BX, const RPCDigiCollection* , const RPCRecordFormatter& );
37 
38 private:
39  FEDRawData * rawData( int fedId, unsigned int lvl1_ID, const RPCDigiCollection* , const RPCRecordFormatter& );
40 
41 private:
43  unsigned long eventCounter_;
45 
46 };
47 #endif
static std::vector< rpcrawtodigi::EventRecords > eventRecords(int fedId, int trigger_BX, const RPCDigiCollection *, const RPCRecordFormatter &)
virtual ~RPCPackingModule()
dtor
unsigned long eventCounter_
FEDRawData * rawData(int fedId, unsigned int lvl1_ID, const RPCDigiCollection *, const RPCRecordFormatter &)
const RPCReadOutMapping * theCabling
virtual void produce(edm::Event &, const edm::EventSetup &)
get data, convert to raw event, attach again to Event
RPCPackingModule(const edm::ParameterSet &)
ctor
edm::EDGetTokenT< RPCDigiCollection > dataLabel_