L1Trigger
RPCTrigger
interface
RPCTrigger.h
Go to the documentation of this file.
1
#ifndef L1Trigger_RPCTrigger_h
2
#define L1Trigger_RPCTrigger_h
3
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/Framework/interface/one/EDProducer.h
"
12
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
16
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
17
18
#include "
DataFormats/MuonDetId/interface/RPCDetId.h
"
19
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
20
21
#include "
FWCore/Framework/interface/ESHandle.h
"
// Handle to read geometry
22
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
23
#include "
FWCore/Utilities/interface/EDGetToken.h
"
24
#include "
FWCore/Utilities/interface/EDPutToken.h
"
25
26
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h
"
27
28
// L1RpcTrigger specific includes
29
#include "
L1Trigger/RPCTrigger/interface/RPCConeBuilderFromES.h
"
30
31
#include "
L1Trigger/RPCTrigger/interface/RPCPacManager.h
"
32
33
#include "
L1Trigger/RPCTrigger/interface/RPCPacTrigger.h
"
34
#include "
L1Trigger/RPCTrigger/interface/RPCBasicTrigConfig.h
"
35
#include "
L1Trigger/RPCTrigger/interface/RPCPacData.h
"
36
#include "
L1Trigger/RPCTrigger/interface/RPCConst.h
"
37
#include "
L1Trigger/RPCTrigger/interface/RPCPacManager.h
"
38
#include "
CondFormats/DataRecord/interface/L1RPCHsbConfigRcd.h
"
39
#include "
CondFormats/L1TObjects/interface/L1RPCHsbConfig.h
"
40
#include "
DataFormats/RPCDigi/interface/RPCDigiL1Link.h
"
41
#include <memory>
42
#include <vector>
43
44
//class RPCTriggerGeo;
45
46
class
RPCTrigger
:
public
edm::one::EDProducer
<edm::one::SharedResources> {
47
public
:
48
explicit
RPCTrigger
(
const
edm::ParameterSet
&);
49
50
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
51
52
private
:
53
// ----------member data ---------------------------
54
55
RPCConeBuilderFromES
m_theLinksystemFromES
;
56
57
RPCPacManager<RPCPacData>
m_pacManager
;
58
59
std::unique_ptr<RPCBasicTrigConfig>
m_trigConfig
;
60
61
std::unique_ptr<RPCPacTrigger>
m_pacTrigger
;
62
63
const
int
m_triggerDebug
;
64
unsigned
long
long
m_cacheID
;
65
// TODO keep L1MuRegionalCandVec equally as RPCDigiL1LinkVec
66
std::vector<L1MuRegionalCand>
giveFinallCandindates
(
const
L1RpcTBMuonsVec
&
finalMuons
,
67
int
type
,
68
int
bx
,
69
edm::Handle<RPCDigiCollection>
rpcDigis,
70
std::vector<RPCDigiL1Link>& retRPCDigiLink);
71
72
const
std::string
m_label
;
73
const
edm::EDGetTokenT<RPCDigiCollection>
m_rpcDigiToken
;
74
75
const
edm::EDPutTokenT<std::vector<L1MuRegionalCand>
>
m_brlCandPutToken
;
76
const
edm::EDPutTokenT<std::vector<L1MuRegionalCand>
>
m_fwdCandPutToken
;
77
78
const
edm::EDPutTokenT<std::vector<RPCDigiL1Link>
>
m_brlLinksPutToken
;
79
const
edm::EDPutTokenT<std::vector<RPCDigiL1Link>
>
m_fwdLinksPutToken
;
80
};
81
82
#endif
RPCPacManager.h
EDProducer.h
MessageLogger.h
ESHandle.h
RPCTrigger::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
RPCTrigger.cc:39
RPCConeBuilderFromES
Definition:
RPCConeBuilderFromES.h:41
edm::EDGetTokenT< RPCDigiCollection >
edm::EDPutTokenT
Definition:
EDPutToken.h:33
RPCTrigger::m_theLinksystemFromES
RPCConeBuilderFromES m_theLinksystemFromES
Definition:
RPCTrigger.h:55
RPCDigiL1Link.h
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
RPCConeBuilderFromES.h
edm::one::EDProducer
Definition:
EDProducer.h:30
edm::Handle< RPCDigiCollection >
RPCTrigger::m_trigConfig
std::unique_ptr< RPCBasicTrigConfig > m_trigConfig
Definition:
RPCTrigger.h:59
RPCConst.h
L1RpcTBMuonsVec
std::vector< RPCTBMuon > L1RpcTBMuonsVec
Definition:
RPCTBMuon.h:218
L1MuRegionalCand.h
MakerMacros.h
RPCBasicTrigConfig.h
L1RPCHsbConfigRcd.h
RPCTrigger::m_fwdLinksPutToken
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_fwdLinksPutToken
Definition:
RPCTrigger.h:79
EDGetToken.h
RPCTrigger::RPCTrigger
RPCTrigger(const edm::ParameterSet &)
Definition:
RPCTrigger.cc:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RPCDetId.h
RPCTrigger::m_triggerDebug
const int m_triggerDebug
Definition:
RPCTrigger.h:63
muons_cff.finalMuons
finalMuons
Definition:
muons_cff.py:52
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
EDPutToken.h
RPCPacData.h
RPCTrigger::m_rpcDigiToken
const edm::EDGetTokenT< RPCDigiCollection > m_rpcDigiToken
Definition:
RPCTrigger.h:73
edm::EventSetup
Definition:
EventSetup.h:57
RPCTrigger::m_label
const std::string m_label
Definition:
RPCTrigger.h:72
type
type
Definition:
HCALResponse.h:21
RPCTrigger::m_fwdCandPutToken
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_fwdCandPutToken
Definition:
RPCTrigger.h:76
RPCTrigger::m_cacheID
unsigned long long m_cacheID
Definition:
RPCTrigger.h:64
Frameworkfwd.h
RPCTrigger::m_pacManager
RPCPacManager< RPCPacData > m_pacManager
Definition:
RPCTrigger.h:57
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:155
RPCTrigger::m_pacTrigger
std::unique_ptr< RPCPacTrigger > m_pacTrigger
Definition:
RPCTrigger.h:61
RPCPacTrigger.h
ParameterSet.h
RPCTrigger::m_brlCandPutToken
const edm::EDPutTokenT< std::vector< L1MuRegionalCand > > m_brlCandPutToken
Definition:
RPCTrigger.h:75
edm::Event
Definition:
Event.h:73
RPCTrigger::m_brlLinksPutToken
const edm::EDPutTokenT< std::vector< RPCDigiL1Link > > m_brlLinksPutToken
Definition:
RPCTrigger.h:78
RPCPacManager< RPCPacData >
L1RPCHsbConfig.h
RPCTrigger
Implements RPC trigger emulation.
Definition:
RPCTrigger.h:46
Generated for CMSSW Reference Manual by
1.8.16