57 m_Isol(14, 18,
false),
58 m_Mip(14, 18,
false) {
102 <<
"\nrequested, but not found in the event." << std::endl;
114 <<
"\nrequested, but not found in the event." << std::endl;
126 <<
"\nrequested, but not found in the event." << std::endl;
138 <<
"\nrequested, but not found in the event." << std::endl;
149 for (
int i = 0;
i < 4;
i++) {
157 for (
int i = 0;
i < 4;
i++) {
165 for (
int i = 0;
i < 4;
i++) {
173 for (
int i = 0;
i < 4;
i++) {
192 std::vector<L1MuRegionalCand>::iterator iter;
247 std::vector<L1MuRegionalCand>::const_iterator iter =
m_RpcMuons.begin();
249 if (!(*iter).empty())
261 std::vector<L1MuRegionalCand>::const_iterator iter =
m_DtbxMuons.begin();
263 if (!(*iter).empty())
275 std::vector<L1MuRegionalCand>::const_iterator iter =
m_CscMuons.begin();
277 if (!(*iter).empty())
298 std::vector<L1MuRegionalCand>::const_iterator iter;
299 for (iter =
data->begin(); iter !=
data->end(); iter++) {
300 if ((*iter).bx() !=
bx)
303 if (!(*iter).empty())
315 std::vector<L1MuRegionalCand>::const_iterator iter;
316 for (iter =
data->begin(); iter !=
data->end(); iter++) {
317 if ((*iter).bx() !=
bx)
320 if (!(*iter).empty())
334 std::vector<L1MuRegionalCand>::const_iterator iter;
335 for (iter =
data->begin(); iter !=
data->end(); iter++) {
338 if ((*iter).bx() > 10)
340 if ((*iter).bx() !=
bx + bxoffset)
355 std::vector<L1MuRegionalCand>::const_iterator iter;
356 for (iter =
data->begin(); iter !=
data->end(); iter++) {
357 if ((*iter).bx() !=
bx)
370 edm::LogVerbatim(
"GMT_PSB_info") <<
"RPC barrel muons received by the GMT :";
382 edm::LogVerbatim(
"GMT_PSB_info") <<
"RPC endcap muons received by the GMT :";
422 L1CaloRegionCollection::const_iterator iter;
427 if ((*iter).id().ieta() < 4 || (*iter).id().ieta() > 17 || (*iter).id().iphi() > 17)
429 m_Isol.
set((*iter).id().ieta() - 4, (*iter).id().iphi(), (*iter).quiet());
430 m_Mip.
set((*iter).id().ieta() - 4, (*iter).id().iphi(), (*iter).mip());
447 <<
"\nrequested, but not found in the event." << std::endl;
Log< level::Info, true > LogVerbatim
void getRPCf(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCf Trigger
void getCSC(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from endcap Muon Trigger Track Finder
int numberDTBX() const
return number of non-empty DTBX muons
static edm::InputTag getRPCfInputTag()
static edm::InputTag getRPCbInputTag()
static bool getCaloTrigger()
void set(int r, int c, T v)
set matrix element
virtual float getLowEdge(unsigned packed) const =0
get the low edge of bin represented by packed
T const * product() const
int numberRPC() const
return number of non-empty RPC muons
const L1MuRegionalCand * RPCMuon(int index) const
get RPC muon
void setInputCand(int nr, unsigned data)
set Input muon
void getCalo(edm::Event &e)
get Calorimeter Trigger data
void printRPCbarrel() const
print barrel RPC muons
const L1MuGlobalMuonTrigger & m_gmt
void print() const
print PSB
const L1MuScale * getPhiScale() const
get the phi scale
const L1MuScale * getPtScale() const
get the Pt scale
L1MuGMTPSB(const L1MuGlobalMuonTrigger &gmt, edm::ConsumesCollector &&iC)
constructor
void setQuietbit(int eta, int phi)
set Quiet bit
const L1MuRegionalCand * DTBXMuon(int index) const
get DTBX muon
const L1MuRegionalCand * CSCMuon(int index) const
get CSC muon
void setMIPbit(int eta, int phi)
set MIP bit
const L1MuScale * getRegionalEtaScale(int isys) const
get the regioanl muon trigger eta scale, isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC) ...
void reset(T v)
reset all elements
unsigned getSubsystemMask() const
static const L1MuGMTChannelMask * getGMTChanMask()
static const unsigned int MAXCSC
static const unsigned int MAXDTBX
static const unsigned int MAXRPCendcap
virtual ~L1MuGMTPSB()
destructor
std::vector< L1MuRegionalCand > m_CscMuons
L1MuGMTReadoutRecord * currentReadoutRecord() const
return a reference to the current record in the ring buffer
static const L1MuTriggerPtScale * getTriggerPtScale()
L1MuGMTMatrix< bool > m_Isol
void printCSC() const
print CSC muons
int numberCSC() const
return number of non-empty CSC muons
static const L1MuTriggerScales * getTriggerScales()
void getRPCb(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from RPCb Trigger
bool empty() const
are there any data in the PSB
void receiveData(edm::Event &e, int bx)
receive muon candidates
char data[epos_bytes_allocation]
static edm::InputTag getMipIsoInputTag()
void getDTBX(std::vector< L1MuRegionalCand > const *data, int bx)
get muons from barrel Muon Trigger Track Finder
L1MuGMTMatrix< bool > m_Mip
static const unsigned int MAXRPCbarrel
void printDTBX() const
print DTBX muons
std::vector< L1CaloRegion > L1CaloRegionCollection
std::vector< L1MuRegionalCand > m_RpcMuons
Log< level::Warning, false > LogWarning
std::vector< L1MuRegionalCand > m_DtbxMuons
static edm::InputTag getDTInputTag()
static const unsigned int MAXRPC
void printRPCendcap() const
print endcap RPC muons
static edm::InputTag getCSCInputTag()