8 m_selections(),m_masks()
27 const std::vector<std::string> selstrings = selconfig.
getUntrackedParameter<std::vector<std::string> >(
"selection");
37 if(selstring.substr(0,2) ==
"0x") {
47 LogDebug(
"Selection added") <<
"Selection " << selection <<
" with mask " << mask <<
" added";
53 for(std::vector<std::string>::const_iterator selstring=selstrings.begin();selstring!=selstrings.end();++selstring) {
bool operator()(const DetId &detid) const
T getUntrackedParameter(std::string const &, T const &) const
constexpr uint32_t rawId() const
get the raw id
bool isSelected(const DetId &detid) const
std::vector< unsigned int > m_masks
std::vector< unsigned int > m_selections
void addSelection(const std::string &selstring)