CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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,
44  RPCAMCLinkCounters& counters,
45  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
46  int bx_min,
47  int bx_max) const;
48  void processTXRecord(RPCAMCLink link,
49  unsigned int block,
50  unsigned int word,
51  rpccppf::TXRecord const& record,
52  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
53  void putRPCDigis(edm::Event& event, std::set<std::pair<RPCDetId, RPCDigi> > const& digis) const;
54 
55 protected:
58 
65 };
66 
67 #endif // EventFilter_RPCRawToDigi_RPCCPPFUnpacker_h
void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) override
edm::ESHandle< RPCLBLinkMap > es_lb_link_map_
edm::ESHandle< RPCAMCLinkMap > es_cppf_link_map_
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::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_cppf_link_map_br_token_
void beginRun(edm::Run const &run, edm::EventSetup const &setup) 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) const
uint64_t word
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
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
void processTXRecord(RPCAMCLink link, unsigned int block, unsigned int word, rpccppf::TXRecord const &record, l1t::CPPFDigiCollection &rpc_cppf_digis) const
Definition: Run.h:45