Definition at line 122 of file PixelCPEClusterRepair.h.
◆ Rule()
PixelCPEClusterRepair::Rule::Rule |
( |
const std::string & |
str | ) |
|
Definition at line 697 of file PixelCPEClusterRepair.cc.
698 static const boost::regex rule(
"([A-Z]+)(\\s+(\\d+))?");
701 if (!regex_match(
str.c_str(),
match, rule))
702 throw cms::Exception(
"Configuration") <<
"Rule '" <<
str <<
"' not understood.\n";
708 else if (strncmp(
match[1].
first,
"PXE", 3) == 0)
712 <<
"Detector '" <<
match[1].first <<
"' not understood. Should be PXB, PXE.\n";
References Exception, dqmdumpme::first, layer_, match(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::second(), str, and subdet_.
◆ recommend()
◆ layer_
int PixelCPEClusterRepair::Rule::layer_ |
|
private |
◆ subdet_
int PixelCPEClusterRepair::Rule::subdet_ |
|
private |
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.