37 #include "TDirectory.h"
87 using namespace trigger;
98 hltProcessName_(pset.getParameter<string>(
"hltProcessName")),
99 destination_(pset.getUntrackedParameter<string>(
"destination")),
100 hltPathsToCheck_(pset.getParameter<
vstring>(
"hltPathsToCheck"))
114 vector<string>::iterator iter = modules.begin();
116 while (iter != modules.end())
117 if (iter->find(
"Filtered") == string::npos)
118 iter = modules.erase(iter);
135 LogError(
"HLTMuonVal") <<
"Initialization of HLTConfigProvider failed!!";
140 set<string> hltPaths;
150 set<string>::iterator iPath;
151 for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
152 string path = * iPath;
154 if (labels.size() > 0) {
161 vector<HLTMuonMatchAndPlot>::iterator iter;
163 iter->beginRun(iRun, iSetup);
173 vector<HLTMuonMatchAndPlot>::iterator iter;
175 iter->analyze(iEvent, iSetup);
#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 analyze(const edm::Event &, const edm::EventSetup &)
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
void setVerbose(unsigned level)
std::vector< HLTMuonMatchAndPlot > analyzers_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
HLTMuonOfflineAnalyzer(const edm::ParameterSet &)
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
std::vector< std::string > vstring
HLTConfigProvider hltConfig_
virtual void endRun(const edm::Run &, const edm::EventSetup &)
void setCurrentFolder(const std::string &fullpath)
std::vector< std::string > hltPathsToCheck_