CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPCLBPacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_RPCRawToDigi_RPCLBPacker_h
2 #define EventFilter_RPCRawToDigi_RPCLBPacker_h
3 
4 #include <map>
5 #include <vector>
6 
10 
12 
13 class RPCLBPacker {
14 public:
15  /* https://twiki.cern.ch/twiki/bin/viewauth/CMS/DtUpgradeTwinMux#RPC_payload RPC_optical_links_data_format.pdf */
16  static void getRPCLBRecords(RPCInverseLBLinkMap const& lb_map,
17  int min_bx,
18  int max_bx,
19  unsigned int bcn,
20  RPCDigiCollection const& digis,
21  std::map<RPCLBLink, std::vector<std::pair<int, RPCLBRecord> > >& mlb_bx_lbrecord,
22  bool ignore_eod = false);
23 };
24 
25 #endif // EventFilter_RPCRawToDigi_RPCLBPacker_h
static void getRPCLBRecords(RPCInverseLBLinkMap const &lb_map, int min_bx, int max_bx, unsigned int bcn, RPCDigiCollection const &digis, std::map< RPCLBLink, std::vector< std::pair< int, RPCLBRecord > > > &mlb_bx_lbrecord, bool ignore_eod=false)
Definition: RPCLBPacker.cc:8