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 
10 
20 
21 class RPCAMCLinkCounters;
22 
24 public:
26 
27  void beginRun(edm::Run const& run, edm::EventSetup const& setup) override;
28  void produce(edm::Event& event,
29  edm::EventSetup const& setup,
30  std::map<RPCAMCLink, rpcamc13::AMCPayload> const& amc_payload) override;
31 
32 protected:
33  bool processCPPF(RPCAMCLink const& link,
35  RPCAMCLinkCounters& counters,
36  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
37  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
39  unsigned int bx_counter_mod,
41  RPCAMCLinkCounters& counters,
42  std::set<std::pair<RPCDetId, RPCDigi> >& rpc_digis,
43  int bx_min,
44  int bx_max) const;
46  unsigned int block,
47  unsigned int word,
49  l1t::CPPFDigiCollection& rpc_cppf_digis) const;
50  void putRPCDigis(edm::Event& event, std::set<std::pair<RPCDetId, RPCDigi> > const& digis) const;
51 
52 protected:
55 
59 };
60 
61 #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:56
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:131
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:64
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:19
RPCCPPFUnpacker::bx_min_
int bx_min_
Definition: RPCCPPFUnpacker.h:54
l1t::CPPFDigiCollection
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:83
CPPFDigi.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:58
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:57
edm::ESHandle< RPCAMCLinkMap >
RPCCPPFUnpacker::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
Definition: RPCCPPFUnpacker.cc:30
jets_cff.payload
payload
Definition: jets_cff.py:34
RPCDigi.h
RPCDetId.h
RPCCPPFUnpacker::fill_counters_
bool fill_counters_
Definition: RPCCPPFUnpacker.h:53
edm::ParameterSet
Definition: ParameterSet.h:36
RPCCPPFUnpacker::produce
void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload) override
Definition: RPCCPPFUnpacker.cc:41
RPCAMC13Record.h
groupFilesInBlocks.block
block
Definition: groupFilesInBlocks.py:150
edm::EventSetup
Definition: EventSetup.h:57
RPCCPPFUnpacker
Definition: RPCCPPFUnpacker.h:23
RPCCPPFUnpacker::RPCCPPFUnpacker
RPCCPPFUnpacker(edm::ParameterSet const &, edm::ProducesCollector)
Definition: RPCCPPFUnpacker.cc:18
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:238
RPCCPPFLinkMapRcd.h
rpccppf::RXRecord
Definition: RPCCPPFRecord.h:8
RPCCPPFUnpacker::bx_max_
int bx_max_
Definition: RPCCPPFUnpacker.h:54
RPCCPPFUnpacker::putRPCDigis
void putRPCDigis(edm::Event &event, std::set< std::pair< RPCDetId, RPCDigi > > const &digis) const
Definition: RPCCPPFUnpacker.cc:276
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
RPCAMCLinkCounters
Definition: RPCAMCLinkCounters.h:9