CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
12 
13 namespace edm {
14  class EventSetup;
15 }
16 namespace omtf {
17  class RpcDataWord64;
18 }
19 
20 namespace omtf {
21 
22  class RpcUnpacker {
23  public:
25 
26  void init(const RPCEMap& readoutMapping, const RPCAMCLinkMap& linkMap);
27  void init(const RPCEMap& readoutMapping, const std::string& connectionFile);
28  void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64& raw, RPCDigiCollection* prod);
29 
30  private:
31  void initCabling(const RPCEMap& readoutMapping);
32 
34  std::unique_ptr<const RPCReadOutMapping> thePactCabling;
35  };
36 } // namespace omtf
37 #endif
void initCabling(const RPCEMap &readoutMapping)
void init(const RPCEMap &readoutMapping, const RPCAMCLinkMap &linkMap)
std::map< EleIndex, LinkBoardElectronicIndex > MapEleIndex2LBIndex
void unpack(int triggerBX, unsigned int fed, unsigned int amc, const RpcDataWord64 &raw, RPCDigiCollection *prod)
double amc
Definition: hdecay.h:20
std::unique_ptr< const RPCReadOutMapping > thePactCabling
MapEleIndex2LBIndex theOmtf2Pact