File indexing completed on 2024-04-06 12:10:57
0001 #ifndef EventFilter_RPCRawToDigi_RPCTwinMuxPacker_h
0002 #define EventFilter_RPCRawToDigi_RPCTwinMuxPacker_h
0003
0004 #include <map>
0005 #include <vector>
0006
0007 #include "CondFormats/RPCObjects/interface/RPCAMCLink.h"
0008 #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h"
0009 #include "EventFilter/RPCRawToDigi/interface/RPCTwinMuxRecord.h"
0010
0011 class RPCInverseLBLinkMap;
0012 class RPCInverseAMCLinkMap;
0013
0014 class RPCTwinMuxPacker {
0015 public:
0016
0017 static void getRPCTwinMuxRecords(
0018 RPCInverseLBLinkMap const& lb_map,
0019 RPCInverseAMCLinkMap const& amc_map,
0020 int min_bx,
0021 int max_bx,
0022 unsigned int bcn,
0023 RPCDigiCollection const& digis,
0024 std::map<RPCAMCLink, std::vector<std::pair<int, rpctwinmux::RPCRecord> > >& amc_bx_tmrecord,
0025 bool ignore_eod = false);
0026 };
0027
0028 #endif