L1Trigger
L1TCommon
src
Mask.cc
Go to the documentation of this file.
1
#include "
L1Trigger/L1TCommon/interface/Mask.h
"
2
3
namespace
l1t
{
4
5
Mask::Mask
(
std::string
id
,
std::string
procRole) {
6
id_
=
id
;
7
port_
= std::stoi(
id
.substr(
id
.find_last_not_of(
"0123456789"
) + 1));
8
procRole_
= procRole;
9
}
10
11
void
Mask::setPort
(
std::string
id
) {
12
id_
=
id
;
13
port_
= std::stoi(
id
.substr(
id
.find_last_not_of(
"0123456789"
) + 1));
14
}
15
16
}
// namespace l1t
l1t::Mask::Mask
Mask()
Definition:
Mask.h:9
l1t
delete x;
Definition:
CaloConfig.h:22
l1ctLayer2EG_cff.id
id
Definition:
l1ctLayer2EG_cff.py:65
Mask.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::Mask::id_
std::string id_
Definition:
Mask.h:19
l1t::Mask::port_
unsigned port_
Definition:
Mask.h:15
l1t::Mask::procRole_
std::string procRole_
Definition:
Mask.h:19
l1t::Mask::setPort
void setPort(std::string id)
Definition:
Mask.cc:11
Generated for CMSSW Reference Manual by
1.8.14