CMS 3D CMS Logo

OmtfRpcUnpacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_Omtf_RpcUnpacker_H
2 #define EventFilter_L1TRawToDigi_Omtf_RpcUnpacker_H
3 
4 #include <string>
5 #include <memory>
6 
11 
12 namespace edm { class EventSetup; }
13 namespace omtf { class RpcDataWord64; }
14 
15 namespace omtf {
16 
17 class RpcUnpacker {
18 
19 public:
21 
22  void init(const edm::EventSetup & es);
23  void init(const edm::EventSetup & es, const std::string & connectionFile);
24  void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection * prod);
25 
26 private:
27  void initCabling(const edm::EventSetup & es);
28 
30  std::unique_ptr<const RPCReadOutMapping> thePactCabling;
31 };
32 }
33 #endif
34 
int init
Definition: HydjetWrapper.h:67
std::map< EleIndex, LinkBoardElectronicIndex > MapEleIndex2LBIndex
HLT enums.
std::unique_ptr< const RPCReadOutMapping > thePactCabling
Definition: AMCSpec.h:8
MapEleIndex2LBIndex theOmtf2Pact