CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OmtfRpcPacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_Omtf_RpcPacker_H
2 #define EventFilter_L1TRawToDigi_Omtf_RpcPacker_H
3 
4 #include <string>
5 #include <memory>
11 
12 namespace edm {
13  class EventSetup;
14 }
15 
16 namespace omtf {
17 
18  class RpcPacker {
19  public:
20  RpcPacker() {}
21 
22  void init(const RPCEMap& readoutMapping, const RPCAMCLinkMap& linkMap);
23  void init(const RPCEMap& readoutMapping, const std::string& connectionFile);
24  void pack(const RPCDigiCollection* prod, FedAmcRawsMap& raws);
25 
26  private:
27  void initCabling(const RPCEMap& readoutMapping);
28 
30  std::unique_ptr<const RPCReadOutMapping> thePactCabling;
31  };
32 } // namespace omtf
33 #endif
std::map< std::pair< unsigned int, unsigned int >, std::vector< Word64 > > FedAmcRawsMap
std::unique_ptr< const RPCReadOutMapping > thePactCabling
Definition: OmtfRpcPacker.h:30
std::map< LinkBoardElectronicIndex, std::pair< EleIndex, EleIndex >, lessLinkBoardElectronicIndex > MapLBIndex2EleIndex
void pack(const RPCDigiCollection *prod, FedAmcRawsMap &raws)
void init(const RPCEMap &readoutMapping, const RPCAMCLinkMap &linkMap)
void initCabling(const RPCEMap &readoutMapping)
MapLBIndex2EleIndex thePact2Omtf
Definition: OmtfRpcPacker.h:29