32 #include "TDirectory.h"
67 using namespace trigger;
76 hltProcessName_(pset.getParameter<
string>(
"hltProcessName")),
77 hltPathsToCheck_(pset.getParameter<
vstring>(
"hltPathsToCheck")),
78 plotterContainer_(consumesCollector(), pset) {}
82 auto iter = modules.begin();
83 while (iter != modules.end()) {
84 if ((iter->find(
"Filtered") == string::npos) && (iter->find(
"hltL1s") == string::npos)) {
85 iter = modules.erase(iter);
86 }
else if (iter->find(
"L1Filtered0") != string::npos)
87 iter = modules.erase(iter);
107 LogError(
"HLTMuonVal") <<
"Initialization of HLTConfigProvider failed!!";
115 if (
j.find(
i) != std::string::npos) {
122 set<string>::iterator iPath;
123 vector<string>::const_iterator ilabel;
124 for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
125 string path = *iPath;
127 bool isLastLabel =
false;
128 for (ilabel = labels.begin(); ilabel != labels.end(); ilabel++) {
129 if (*ilabel == labels.back())
HLTMuonMatchAndPlotContainer plotterContainer_
#define DEFINE_FWK_MODULE(type)
std::string hltProcessName_
const std::vector< std::string > & triggerNames() const
names of trigger paths
Log< level::Error, false > LogError
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
void analyze(const edm::Event &, const edm::EventSetup &)
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
void analyze(const edm::Event &, const edm::EventSetup &) override
HLTMuonOfflineAnalyzer(const edm::ParameterSet &)
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
void beginRun(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HLTConfigProvider hltConfig_
std::vector< std::string > moduleLabels(const std::string &)
Container Class Definition (this is what is used by the DQM module) ///////.
void addPlotter(const edm::ParameterSet &, std::string, std::string, bool)
Add a HLTMuonMatchAndPlot for a given path.
std::vector< std::string > hltPathsToCheck_