60 <<
"size of vector of paths to monitor = " <<
fMonitorPaths.size()
62 for (
unsigned int iPath = 0; iPath <
fMonitorPaths.size(); iPath++) {
64 LogTrace(
"HLTSeedL1LogicScalers") <<
"monPath = " << monPath << endl;
66 string folderName =
fDQMFolder +
"/" + monPath;
74 << endl <<
"size of vector of GTSeedL1LogicalExpression = " 75 << hltL1GTSeed.size() << endl;
78 for (
unsigned int iSeed = 0; iSeed < hltL1GTSeed.size(); iSeed++) {
80 <<
" TechBit_flag = " << hltL1GTSeed[iSeed].first
81 <<
" GTSeedL1LogicalExpression = " << hltL1GTSeed[iSeed].second
84 istringstream totalSString(hltL1GTSeed[iSeed].
second);
87 vector<string> l1Algos;
90 while (!hltL1GTSeed[iSeed].
first) {
91 totalSString >> temp_string;
93 if (!l1Algos.empty()) {
94 if (temp_string == l1Algos.back())
break;
96 if (temp_string !=
"OR" && temp_string !=
"AND" &&
97 temp_string !=
"NOT" && temp_string !=
"(" && temp_string !=
")" &&
98 !temp_string.empty()) {
99 l1Algos.push_back(temp_string);
103 int nL1Algo = l1Algos.size();
108 <<
" number of l1 Algos grater than 32. Using only the first 32." 112 int nBins = 1 << nL1Algo;
114 for (
unsigned int k = 0;
k < l1Algos.size();
k++) {
115 LogTrace(
"HLTSeedL1LogicScalers") <<
" l1 Algo = " << l1Algos[
k]
119 std::stringstream
title;
120 std::stringstream
name;
122 name << monPath <<
"_Seed_" << iSeed <<
"_L1BitLogic";
123 title << monPath <<
" BitPacked L1Algos of GTSeed " << iSeed <<
": '" 124 << hltL1GTSeed[iSeed].second <<
"'";
126 LogTrace(
"HLTSeedL1LogicScalers") <<
" MonitorElement name = " << name.str()
128 LogTrace(
"HLTSeedL1LogicScalers") <<
" MonitorElement title = " << title.str()
130 LogTrace(
"HLTSeedL1LogicScalers") <<
" MonitorElement nBins = " << nBins
unsigned int size() const
number of trigger paths in trigger table
const std::vector< std::vector< std::pair< bool, std::string > > > & hltL1GTSeeds() const
std::vector< std::pair< MonitorElement *, std::vector< std::string > > > fMapMEL1Algos
unsigned int triggerIndex(const std::string &triggerName) const
slot position of trigger path in trigger table (0 to size-1)
U second(std::pair< T, U > const &p)
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
HLTConfigProvider fHLTConfig
std::vector< std::string > fMonitorPaths
std::vector< MonitorElement * > fMonitorPathsME
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)