CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
13  class EventSetup;
14 }
15 namespace omtf {
16  class RpcDataWord64;
17 }
18 
19 namespace omtf {
20 
21  class RpcUnpacker {
22  public:
24 
25  void init(const edm::EventSetup &es);
26  void init(const edm::EventSetup &es, const std::string &connectionFile);
27  void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection *prod);
28 
29  private:
30  void initCabling(const edm::EventSetup &es);
31 
33  std::unique_ptr<const RPCReadOutMapping> thePactCabling;
34  };
35 } // namespace omtf
36 #endif
int init
Definition: HydjetWrapper.h:64
std::map< EleIndex, LinkBoardElectronicIndex > MapEleIndex2LBIndex
std::pair< unsigned int, unsigned int > unpack(cond::Time_t since)
HLT enums.
std::unique_ptr< const RPCReadOutMapping > thePactCabling
Definition: AMCSpec.h:8
MapEleIndex2LBIndex theOmtf2Pact