src
Alignment
Geners
src
SearchSpecifier.cc
Go to the documentation of this file.
1
#include "Alignment/Geners/interface/SearchSpecifier.hh"
2
3
namespace
gs
{
4
bool
SearchSpecifier::matches
(
const
std::string
&sentence)
const
{
5
if
(useRegex_)
6
#ifdef CPP11_STD_AVAILABLE
7
return
std::regex_match(sentence.begin(), sentence.end(), regex_);
8
#else
9
return
regex_.matches(sentence);
10
#endif
11
else
12
return
sentence == tag_;
13
}
14
}
// namespace gs
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
oniaPATMuonsWithTrigger_cff.matches
matches
Definition:
oniaPATMuonsWithTrigger_cff.py:77
gs
Definition:
AbsArchive.cc:46
Generated for CMSSW Reference Manual by
1.8.14