34 #include "TDirectory.h" 106 vector<string>::iterator iter = modules.begin();
107 while (iter != modules.end()){
108 if ((iter->find(
"Filtered") == string::npos)&&(iter->find(
"hltL1s") == string::npos)){
109 iter = modules.erase(iter);
111 else if (iter->find(
"L1Filtered0") != string::npos)
112 iter = modules.erase(iter);
139 LogError(
"HLTMuonVal") <<
"Initialization of HLTConfigProvider failed!!";
153 set<string>::iterator iPath;
154 vector<string>::const_iterator ilabel;
155 for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
156 string path = * iPath;
158 bool isLastLabel =
false;
159 for (ilabel = labels.begin(); ilabel != labels.end(); ilabel++) {
160 if (*ilabel == labels.back()) isLastLabel =
true;
HLTMuonMatchAndPlotContainer plotterContainer_
virtual void endRun(const edm::Run &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
std::vector< std::string > moduleLabels(std::string)
std::string hltProcessName_
const std::vector< std::string > & triggerNames() const
names of trigger paths
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
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
virtual 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 &)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
HLTConfigProvider hltConfig_
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_