CMS 3D CMS Logo

RPCTrigger.h
Go to the documentation of this file.
1 #ifndef L1Trigger_RPCTrigger_h
2 #define L1Trigger_RPCTrigger_h
3 
12 
15 
17 
20 
21 
22 #include "FWCore/Framework/interface/ESHandle.h" // Handle to read geometry
26 
28 
29 
30 // L1RpcTrigger specific includes
32 
34 
43 #include <memory>
44 #include <vector>
45 
46 
47 
48 //class RPCTriggerGeo;
49 
50 class RPCTrigger : public edm::one::EDProducer<edm::one::SharedResources> {
51  public:
52  explicit RPCTrigger(const edm::ParameterSet&);
53 
54  void produce(edm::Event&, const edm::EventSetup&) override;
55  private:
56  // ----------member data ---------------------------
57 
58 
60 
62 
63  std::unique_ptr<RPCBasicTrigConfig> m_trigConfig;
64 
65  std::unique_ptr<RPCPacTrigger> m_pacTrigger;
66 
67  const int m_triggerDebug;
68  unsigned long long m_cacheID;
69  // TODO keep L1MuRegionalCandVec equally as RPCDigiL1LinkVec
70  std::vector<L1MuRegionalCand> giveFinallCandindates(const L1RpcTBMuonsVec& finalMuons, int type, int bx,
71  edm::Handle<RPCDigiCollection> rpcDigis, std::vector<RPCDigiL1Link> & retRPCDigiLink);
72 
75 
78 
81 
82 };
83 
84 
85 #endif
type
Definition: HCALResponse.h:21
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_fwdCandPutToken
Definition: RPCTrigger.h:77
std::unique_ptr< RPCBasicTrigConfig > m_trigConfig
Definition: RPCTrigger.h:63
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_brlLinksPutToken
Definition: RPCTrigger.h:79
void produce(edm::Event &, const edm::EventSetup &) override
Definition: RPCTrigger.cc:45
std::vector< L1MuRegionalCand > giveFinallCandindates(const L1RpcTBMuonsVec &finalMuons, int type, int bx, edm::Handle< RPCDigiCollection > rpcDigis, std::vector< RPCDigiL1Link > &retRPCDigiLink)
Returns vector of L1MuRegionalCand (input of L1GMT)
Definition: RPCTrigger.cc:172
const std::string m_label
Definition: RPCTrigger.h:73
std::vector< RPCTBMuon > L1RpcTBMuonsVec
Definition: RPCTBMuon.h:206
const int m_triggerDebug
Definition: RPCTrigger.h:67
RPCPacManager< RPCPacData > m_pacManager
Definition: RPCTrigger.h:61
Implements RPC trigger emulation.
Definition: RPCTrigger.h:50
RPCConeBuilderFromES m_theLinksystemFromES
Definition: RPCTrigger.h:59
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_fwdLinksPutToken
Definition: RPCTrigger.h:80
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_brlCandPutToken
Definition: RPCTrigger.h:76
RPCTrigger(const edm::ParameterSet &)
Definition: RPCTrigger.cc:25
std::unique_ptr< RPCPacTrigger > m_pacTrigger
Definition: RPCTrigger.h:65
const edm::EDGetTokenT< RPCDigiCollection > m_rpcDigiToken
Definition: RPCTrigger.h:74
unsigned long long m_cacheID
Definition: RPCTrigger.h:68