CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 #include "FWCore/Framework/interface/ESHandle.h" // Handle to read geometry
26 
28 // Configuration via eventsetup:
31 
34 
37 
40 
41 // L1RpcTrigger specific includes
43 
45 
54 #include <memory>
55 #include <vector>
56 
57 //class RPCTriggerGeo;
58 
59 class RPCTrigger : public edm::one::EDProducer<edm::one::SharedResources> {
60 public:
61  explicit RPCTrigger(const edm::ParameterSet&);
62 
63  void produce(edm::Event&, const edm::EventSetup&) override;
64 
65 private:
66  // ----------member data ---------------------------
67 
69 
71 
72  std::unique_ptr<RPCBasicTrigConfig> m_trigConfig;
73 
74  std::unique_ptr<RPCPacTrigger> m_pacTrigger;
75 
76  const int m_triggerDebug;
77  unsigned long long m_cacheID;
78  // TODO keep L1MuRegionalCandVec equally as RPCDigiL1LinkVec
79  std::vector<L1MuRegionalCand> giveFinallCandindates(const L1RpcTBMuonsVec& finalMuons,
80  int type,
81  int bx,
83  std::vector<RPCDigiL1Link>& retRPCDigiLink);
84 
87 
90 
99 };
100 
101 #endif
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_fwdCandPutToken
Definition: RPCTrigger.h:89
std::unique_ptr< RPCBasicTrigConfig > m_trigConfig
Definition: RPCTrigger.h:72
const edm::ESGetToken< L1RPCBxOrConfig, L1RPCBxOrConfigRcd > m_BxOrConfigToken
Definition: RPCTrigger.h:97
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_brlLinksPutToken
Definition: RPCTrigger.h:91
void produce(edm::Event &, const edm::EventSetup &) override
Definition: RPCTrigger.cc:31
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:141
const std::string m_label
Definition: RPCTrigger.h:85
tuple finalMuons
Definition: muons_cff.py:48
std::vector< RPCTBMuon > L1RpcTBMuonsVec
Definition: RPCTBMuon.h:218
const int m_triggerDebug
Definition: RPCTrigger.h:76
RPCPacManager< RPCPacData > m_pacManager
Definition: RPCTrigger.h:70
Implements RPC trigger emulation.
Definition: RPCTrigger.h:59
const edm::ESGetToken< L1RPCHsbConfig, L1RPCHsbConfigRcd > m_hsbConfigToken
Definition: RPCTrigger.h:98
RPCConeBuilderFromES m_theLinksystemFromES
Definition: RPCTrigger.h:68
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_fwdLinksPutToken
Definition: RPCTrigger.h:92
const edm::ESGetToken< L1RPCHwConfig, L1RPCHwConfigRcd > m_hwConfigToken
Definition: RPCTrigger.h:96
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_brlCandPutToken
Definition: RPCTrigger.h:88
RPCTrigger(const edm::ParameterSet &)
Definition: RPCTrigger.cc:6
std::unique_ptr< RPCPacTrigger > m_pacTrigger
Definition: RPCTrigger.h:74
const edm::ESGetToken< L1RPCConeDefinition, L1RPCConeDefinitionRcd > m_coneDefinitionToken
Definition: RPCTrigger.h:95
const edm::EDGetTokenT< RPCDigiCollection > m_rpcDigiToken
Definition: RPCTrigger.h:86
const edm::ESGetToken< L1RPCConeBuilder, L1RPCConeBuilderRcd > m_coneBuilderToken
Definition: RPCTrigger.h:94
const edm::ESGetToken< L1RPCConfig, L1RPCConfigRcd > m_configToken
Definition: RPCTrigger.h:93
unsigned long long m_cacheID
Definition: RPCTrigger.h:77