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 #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
L1RPCBxOrConfig.h
RPCPacManager.h
L1RPCConfigRcd.h
EDProducer.h
L1RPCConeBuilderRcd.h
MessageLogger.h
ESHandle.h
RPCTrigger::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: RPCTrigger.cc:31
RPCConeBuilderFromES
Definition: RPCConeBuilderFromES.h:41
edm::EDGetTokenT< RPCDigiCollection >
edm::EDPutTokenT
Definition: EDPutToken.h:33
RPCTrigger::m_theLinksystemFromES
RPCConeBuilderFromES m_theLinksystemFromES
Definition: RPCTrigger.h:68
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
L1RPCHwConfigRcd.h
RPCConeBuilderFromES.h
edm::one::EDProducer
Definition: EDProducer.h:30
edm::Handle< RPCDigiCollection >
RPCTrigger::m_trigConfig
std::unique_ptr< RPCBasicTrigConfig > m_trigConfig
Definition: RPCTrigger.h:72
ESGetToken.h
RPCConst.h
L1RpcTBMuonsVec
std::vector< RPCTBMuon > L1RpcTBMuonsVec
Definition: RPCTBMuon.h:218
L1MuRegionalCand.h
RPCTrigger::m_hwConfigToken
const edm::ESGetToken< L1RPCHwConfig, L1RPCHwConfigRcd > m_hwConfigToken
Definition: RPCTrigger.h:96
MakerMacros.h
RPCBasicTrigConfig.h
L1RPCHsbConfigRcd.h
L1RPCBxOrConfigRcd.h
RPCTrigger::m_fwdLinksPutToken
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_fwdLinksPutToken
Definition: RPCTrigger.h:92
EDGetToken.h
RPCTrigger::RPCTrigger
RPCTrigger(const edm::ParameterSet &)
Definition: RPCTrigger.cc:6
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
RPCDetId.h
RPCTrigger::m_triggerDebug
const int m_triggerDebug
Definition: RPCTrigger.h:76
RPCTrigger::m_configToken
const edm::ESGetToken< L1RPCConfig, L1RPCConfigRcd > m_configToken
Definition: RPCTrigger.h:93
muons_cff.finalMuons
finalMuons
Definition: muons_cff.py:48
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EDPutToken.h
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
L1RPCConeBuilder.h
RPCPacData.h
L1RPCHwConfig.h
RPCTrigger::m_rpcDigiToken
const edm::EDGetTokenT< RPCDigiCollection > m_rpcDigiToken
Definition: RPCTrigger.h:86
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< L1RPCConfig, L1RPCConfigRcd >
RPCTrigger::m_label
const std::string m_label
Definition: RPCTrigger.h:85
RPCTrigger::m_hsbConfigToken
const edm::ESGetToken< L1RPCHsbConfig, L1RPCHsbConfigRcd > m_hsbConfigToken
Definition: RPCTrigger.h:98
RPCTrigger::m_fwdCandPutToken
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_fwdCandPutToken
Definition: RPCTrigger.h:89
L1RPCConfig.h
RPCTrigger::m_cacheID
unsigned long long m_cacheID
Definition: RPCTrigger.h:77
Frameworkfwd.h
RPCTrigger::m_coneBuilderToken
const edm::ESGetToken< L1RPCConeBuilder, L1RPCConeBuilderRcd > m_coneBuilderToken
Definition: RPCTrigger.h:94
RPCTrigger::m_pacManager
RPCPacManager< RPCPacData > m_pacManager
Definition: RPCTrigger.h:70
RPCDigiCollection.h
RPCTrigger::giveFinallCandindates
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
RPCTrigger::m_pacTrigger
std::unique_ptr< RPCPacTrigger > m_pacTrigger
Definition: RPCTrigger.h:74
RPCPacTrigger.h
ParameterSet.h
RPCTrigger::m_BxOrConfigToken
const edm::ESGetToken< L1RPCBxOrConfig, L1RPCBxOrConfigRcd > m_BxOrConfigToken
Definition: RPCTrigger.h:97
RPCTrigger::m_coneDefinitionToken
const edm::ESGetToken< L1RPCConeDefinition, L1RPCConeDefinitionRcd > m_coneDefinitionToken
Definition: RPCTrigger.h:95
RPCTrigger::m_brlCandPutToken
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_brlCandPutToken
Definition: RPCTrigger.h:88
edm::Event
Definition: Event.h:73
RPCTrigger::m_brlLinksPutToken
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_brlLinksPutToken
Definition: RPCTrigger.h:91
RPCPacManager< RPCPacData >
L1RPCHsbConfig.h
RPCTrigger
Implements RPC trigger emulation.
Definition: RPCTrigger.h:59