CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Mask.cc
Go to the documentation of this file.
2 
3 namespace l1t {
4 
6  id_ = id;
7  port_ = std::stoi(id.substr(id.find_last_not_of("0123456789") + 1));
8  procRole_ = procRole;
9  }
10 
12  id_ = id;
13  port_ = std::stoi(id.substr(id.find_last_not_of("0123456789") + 1));
14  }
15 
16 } // namespace l1t
Mask()
Definition: Mask.h:9
uint16_t *__restrict__ id
std::string id_
Definition: Mask.h:19
unsigned port_
Definition: Mask.h:15
std::string procRole_
Definition: Mask.h:19
void setPort(std::string id)
Definition: Mask.cc:11