CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RPCCPPFUnpacker.h
Go to the documentation of this file.
1 #ifndef EventFilter_RPCRawToDigi_RPCCPPFUnpacker_h
2 #define EventFilter_RPCRawToDigi_RPCCPPFUnpacker_h
3 
4 #include <map>
5 #include <set>
6 
12 
23 
24 class RPCAMCLinkCounters;
25 
27 public:
29 
30  void beginRun(edm::Run const& run, edm::EventSetup const& setup) override;
31  void produce(edm::Event& event,
32  edm::EventSetup const& setup,
33  std::map<RPCAMCLink, rpcamc13::AMCPayload> const& amc_payload) override;
34 
35 protected:
36  bool processCPPF(RPCAMCLink const& link,
39  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
40  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
41  void processRXRecord(RPCAMCLink link,
42  unsigned int bx_counter_mod,
45  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
46  int bx_min,
47  int bx_max,
48  int cppfDaq_Delay) const;
49  void processTXRecord(RPCAMCLink link,
50  unsigned int block,
51  unsigned int word,
53  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
54  void putRPCDigis(edm::Event& event, std::set<std::pair<RPCDetId, RPCDigi> > const& digis) const;
55 
56 protected:
59 
66 };
67 
68 #endif // EventFilter_RPCRawToDigi_RPCCPPFUnpacker_h
void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) override
void processRXRecord(RPCAMCLink link, unsigned int bx_counter_mod, rpccppf::RXRecord const &record, RPCAMCLinkCounters &counters, std::set< std::pair< RPCDetId, RPCDigi > > &rpc_digis, int bx_min, int bx_max, int cppfDaq_Delay) const
edm::ESHandle< RPCLBLinkMap > es_lb_link_map_
edm::ESHandle< RPCAMCLinkMap > es_cppf_link_map_
void processTXRecord(RPCAMCLink link, unsigned int block, unsigned int word, rpccppf::TXRecord const &record, l1t::CPPFDigiCollection &rpc_cppf_digis) const
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_cppf_link_map_br_token_
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
uint64_t word
TupleMultiplicity< TrackerTraits > const HitToTuple< TrackerTraits > const cms::cuda::AtomicPairCounter GPUCACellT< TrackerTraits > const *__restrict__ uint32_t const *__restrict__ CellNeighborsVector< TrackerTraits > const CellTracksVector< TrackerTraits > const OuterHitOfCell< TrackerTraits > const int32_t uint32_t Counters * counters
bool processCPPF(RPCAMCLink const &link, rpcamc13::AMCPayload const &payload, RPCAMCLinkCounters &counters, std::set< std::pair< RPCDetId, RPCDigi > > &rpc_digis, l1t::CPPFDigiCollection &rpc_cppf_digis) const
edm::ESWatcher< RPCCPPFLinkMapRcd > es_cppf_link_map_watcher_
edm::ESGetToken< RPCLBLinkMap, RPCLBLinkMapRcd > es_lb_link_map_token_
void putRPCDigis(edm::Event &event, std::set< std::pair< RPCDetId, RPCDigi > > const &digis) const
RPCCPPFUnpacker(edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector)
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_cppf_link_map_token_
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
Definition: event.py:1
Definition: Run.h:45