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_
= boost::lexical_cast<int>(
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_
= boost::lexical_cast<int>(
id
.substr(
id
.find_last_not_of(
"0123456789"
) + 1));
14
}
15
16
}
// namespace l1t
l1t::Mask::setPort
void setPort(std::string id)
Definition:
Mask.cc:11
l1t::Mask::Mask
Mask()
Definition:
Mask.h:12
l1t
delete x;
Definition:
CaloConfig.h:22
Mask.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::Mask::port_
unsigned port_
Definition:
Mask.h:18
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
l1t::Mask::id_
std::string id_
Definition:
Mask.h:22
l1t::Mask::procRole_
std::string procRole_
Definition:
Mask.h:22
Generated for CMSSW Reference Manual by
1.8.16