CMS 3D CMS Logo

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,
38  RPCAMCLinkCounters& counters,
39  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
40  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
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;
49  unsigned int block,
50  unsigned int word,
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
rpcamc13::AMCPayload
Definition: RPCAMC13Record.h:146
RPCCPPFRecord.h
RPCCPPFUnpacker::es_cppf_link_map_watcher_
edm::ESWatcher< RPCCPPFLinkMapRcd > es_cppf_link_map_watcher_
Definition: RPCCPPFUnpacker.h:59
MainPageGenerator.link
link
Definition: MainPageGenerator.py:271
edm::ESWatcher< RPCCPPFLinkMapRcd >
ESHandle.h
RPCCPPFUnpacker::processRXRecord
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
Definition: RPCCPPFUnpacker.cc:136
RPCCPPFUnpacker::processCPPF
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
Definition: RPCCPPFUnpacker.cc:69
edm::Run
Definition: Run.h:45
RPCAMCUnpacker.h
rpccppf::TXRecord
Definition: RPCCPPFRecord.h:66
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
RPCAMCUnpacker
Definition: RPCAMCUnpacker.h:20
RPCCPPFUnpacker::bx_min_
int bx_min_
Definition: RPCCPPFUnpacker.h:57
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
CPPFDigi.h
ESGetToken.h
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
ProducesCollector.h
RPCCPPFUnpacker::es_lb_link_map_
edm::ESHandle< RPCLBLinkMap > es_lb_link_map_
Definition: RPCCPPFUnpacker.h:61
word
uint64_t word
Definition: CTPPSTotemDataFormatter.cc:29
RPCAMCLinkMap.h
RPCLBLinkMap.h
RPCCPPFUnpacker::es_cppf_link_map_
edm::ESHandle< RPCAMCLinkMap > es_cppf_link_map_
Definition: RPCCPPFUnpacker.h:60
RPCCPPFUnpacker::es_lb_link_map_token_
edm::ESGetToken< RPCLBLinkMap, RPCLBLinkMapRcd > es_lb_link_map_token_
Definition: RPCCPPFUnpacker.h:64
edm::ESHandle< RPCAMCLinkMap >
RPCCPPFUnpacker::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
Definition: RPCCPPFUnpacker.cc:35
jets_cff.payload
payload
Definition: jets_cff.py:32
RPCDigi.h
RPCDetId.h
RPCCPPFUnpacker::fill_counters_
bool fill_counters_
Definition: RPCCPPFUnpacker.h:56
edm::ParameterSet
Definition: ParameterSet.h:47
RPCCPPFUnpacker::produce
void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) override
Definition: RPCCPPFUnpacker.cc:46
RPCAMC13Record.h
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
edm::EventSetup
Definition: EventSetup.h:57
RPCCPPFUnpacker
Definition: RPCCPPFUnpacker.h:26
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd >
writedatasetfile.run
run
Definition: writedatasetfile.py:27
edm::ProducesCollector
Definition: ProducesCollector.h:43
ESWatcher.h
RPCCPPFUnpacker::processTXRecord
void processTXRecord(RPCAMCLink link, unsigned int block, unsigned int word, rpccppf::TXRecord const &record, l1t::CPPFDigiCollection &rpc_cppf_digis) const
Definition: RPCCPPFUnpacker.cc:243
RPCCPPFUnpacker::es_cppf_link_map_br_token_
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_cppf_link_map_br_token_
Definition: RPCCPPFUnpacker.h:62
RPCCPPFLinkMapRcd.h
ConsumesCollector.h
rpccppf::RXRecord
Definition: RPCCPPFRecord.h:8
RPCCPPFUnpacker::bx_max_
int bx_max_
Definition: RPCCPPFUnpacker.h:57
RPCCPPFUnpacker::putRPCDigis
void putRPCDigis(edm::Event &event, std::set< std::pair< RPCDetId, RPCDigi > > const &digis) const
Definition: RPCCPPFUnpacker.cc:281
event
Definition: event.py:1
RPCLBLinkMapRcd.h
edm::Event
Definition: Event.h:73
RPCCPPFUnpacker::es_cppf_link_map_token_
edm::ESGetToken< RPCAMCLinkMap, RPCCPPFLinkMapRcd > es_cppf_link_map_token_
Definition: RPCCPPFUnpacker.h:63
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
RPCAMCLinkCounters
Definition: RPCAMCLinkCounters.h:9
RPCCPPFUnpacker::RPCCPPFUnpacker
RPCCPPFUnpacker(edm::ParameterSet const &, edm::ConsumesCollector, edm::ProducesCollector)
Definition: RPCCPPFUnpacker.cc:17