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 
9 
19 
20 class RPCAMCLinkCounters;
21 
23  : public RPCAMCUnpacker
24 {
25 public:
27 
28  void beginRun(edm::Run const & run, edm::EventSetup const & setup);
29  void produce(edm::Event & event, edm::EventSetup const & setup
30  , std::map<RPCAMCLink, rpcamc13::AMCPayload> const & amc_payload);
31 
32 protected:
33  bool processCPPF(RPCAMCLink const & link, rpcamc13::AMCPayload const & payload
34  , RPCAMCLinkCounters & counters
35  , std::set<std::pair<RPCDetId, RPCDigi> > & rpc_digis
36  , l1t::CPPFDigiCollection & rpc_cppf_digis) const;
37  void processRXRecord(RPCAMCLink link
38  , unsigned int bx_counter_mod
39  , rpccppf::RXRecord const & record
40  , RPCAMCLinkCounters & counters
41  , std::set<std::pair<RPCDetId, RPCDigi> > & rpc_digis
42  , int bx_min, int bx_max) const;
43  void processTXRecord(RPCAMCLink link
44  , unsigned int block
45  , unsigned int word
46  , rpccppf::TXRecord const & record
47  , l1t::CPPFDigiCollection & rpc_cppf_digis) const;
48  void putRPCDigis(edm::Event & event
49  , std::set<std::pair<RPCDetId, RPCDigi> > const & digis) const;
50 
51 protected:
54 
58 };
59 
60 #endif // EventFilter_RPCRawToDigi_RPCCPPFUnpacker_h
edm::ESHandle< RPCLBLinkMap > es_lb_link_map_
void produce(edm::Event &event, edm::EventSetup const &setup, std::map< RPCAMCLink, rpcamc13::AMCPayload > const &amc_payload)
edm::ESHandle< RPCAMCLinkMap > es_cppf_link_map_
JetCorrectorParameters::Record record
Definition: classes.h:7
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
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
Definition: config.py:1
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
RPCCPPFUnpacker(edm::stream::EDProducerBase &producer, edm::ParameterSet const &config)
edm::ESWatcher< RPCCPPFLinkMapRcd > es_cppf_link_map_watcher_
void beginRun(edm::Run const &run, edm::EventSetup const &setup)
void putRPCDigis(edm::Event &event, std::set< std::pair< RPCDetId, RPCDigi > > const &digis) const
std::vector< CPPFDigi > CPPFDigiCollection
Definition: CPPFDigi.h:68
void processTXRecord(RPCAMCLink link, unsigned int block, unsigned int word, rpccppf::TXRecord const &record, l1t::CPPFDigiCollection &rpc_cppf_digis) const
Definition: event.py:1
Definition: Run.h:44