36 #include "TDirectory.h"
58 virtual void endJob()
override;
86 using namespace trigger;
97 hltProcessName_(pset.getParameter<
string>(
"hltProcessName")),
98 destination_(pset.getUntrackedParameter<
string>(
"destination")),
99 hltPathsToCheck_(pset.getParameter<
vstring>(
"hltPathsToCheck"))
113 vector<string>::iterator iter = modules.begin();
115 while (iter != modules.end())
116 if (iter->find(
"Filtered") == string::npos)
117 iter = modules.erase(iter);
134 LogError(
"HLTMuonVal") <<
"Initialization of HLTConfigProvider failed!!";
149 set<string>::iterator iPath;
150 for (iPath = hltPaths.begin(); iPath != hltPaths.end(); iPath++) {
151 string path = * iPath;
153 if (labels.size() > 0) {
160 vector<HLTMuonMatchAndPlot>::iterator iter;
162 iter->beginRun(iRun, iSetup);
172 vector<HLTMuonMatchAndPlot>::iterator iter;
174 iter->analyze(iEvent, iSetup);
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 beginRun(const edm::Run &, const edm::EventSetup &) override
virtual void beginJob() override
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
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
HLTConfigProvider hltConfig_
virtual void endJob() override
void setCurrentFolder(const std::string &fullpath)
std::vector< std::string > hltPathsToCheck_