#include <HLTTauPostProcessor.h>
Definition at line 23 of file HLTTauPostProcessor.h.
HLTTauPostProcessor::HLTTauPostProcessor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 6 of file HLTTauPostProcessor.cc.
References edm::ParameterSet::getUntrackedParameter().
{ sourceModule_ = ps.getUntrackedParameter<std::string>("SourceModule"); dqmBaseFolder_ = ps.getUntrackedParameter<std::string>("DQMBaseFolder"); hltProcessName_ = ps.getUntrackedParameter<std::string>("HLTProcessName","HLT"); L1MatchDr_ = ps.getUntrackedParameter<double>("L1MatchDeltaR",0.5); HLTMatchDr_ = ps.getUntrackedParameter<double>("HLTMatchDeltaR",0.2); runAtEndJob_ = ps.getUntrackedParameter<bool>("runAtEndJob",false); runAtEndRun_ = ps.getUntrackedParameter<bool>("runAtEndRun",true); hltMenuChanged_ = true; automation_ = HLTTauDQMAutomation(hltProcessName_, L1MatchDr_, HLTMatchDr_); ps_ = ps; }
HLTTauPostProcessor::~HLTTauPostProcessor | ( | ) |
Definition at line 20 of file HLTTauPostProcessor.cc.
{ }
void HLTTauPostProcessor::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) | [protected, virtual] |
void HLTTauPostProcessor::beginJob | ( | void | ) | [protected, virtual] |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 24 of file HLTTauPostProcessor.cc.
{ }
void HLTTauPostProcessor::beginLuminosityBlock | ( | const edm::LuminosityBlock & | lumiSeg, |
const edm::EventSetup & | iSetup | ||
) | [protected, virtual] |
Luminosity Block.
Reimplemented from edm::EDAnalyzer.
Definition at line 40 of file HLTTauPostProcessor.cc.
{ }
void HLTTauPostProcessor::beginRun | ( | const edm::Run & | r, |
const edm::EventSetup & | c | ||
) | [protected, virtual] |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 28 of file HLTTauPostProcessor.cc.
{ //Evaluate configuration for every new trigger menu if ( HLTCP_.init(iRun, iSetup, hltProcessName_, hltMenuChanged_) ) { if ( hltMenuChanged_ ) { processPSet(ps_); } } else { edm::LogWarning("HLTTauPostProcessor") << "HLT config extraction failure with process name '" << hltProcessName_ << "'"; } }
void HLTTauPostProcessor::endJob | ( | void | ) | [protected, virtual] |
Endjob.
Reimplemented from edm::EDAnalyzer.
Definition at line 57 of file HLTTauPostProcessor.cc.
References cmsPerfHarvest::harvest().
{ if (runAtEndJob_) harvest(); }
void HLTTauPostProcessor::endLuminosityBlock | ( | const edm::LuminosityBlock & | lumiSeg, |
const edm::EventSetup & | iSetup | ||
) | [protected, virtual] |
DQM Client Diagnostic.
Reimplemented from edm::EDAnalyzer.
Definition at line 48 of file HLTTauPostProcessor.cc.
{ }
void HLTTauPostProcessor::endRun | ( | const edm::Run & | r, |
const edm::EventSetup & | iSetup | ||
) | [protected, virtual] |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 52 of file HLTTauPostProcessor.cc.
References cmsPerfHarvest::harvest().
{ if (runAtEndRun_) harvest(); }
void HLTTauPostProcessor::harvest | ( | ) | [protected] |
Definition at line 62 of file HLTTauPostProcessor.cc.
References i, and plotResiduals::plot().
{ //Clear the plotter collection first while (!summaryPlotters_.empty()) delete summaryPlotters_.back(), summaryPlotters_.pop_back(); //Read the configuration for ( unsigned int i = 0; i < setup_.size(); ++i ) { summaryPlotters_.push_back(new HLTTauDQMSummaryPlotter(setup_[i],dqmBaseFolder_)); } for ( unsigned int i = 0; i < summaryPlotters_.size(); ++i ) { if (summaryPlotters_[i]->isValid()) summaryPlotters_[i]->plot(); } }
void HLTTauPostProcessor::processPSet | ( | const edm::ParameterSet & | pset | ) | [private] |
Definition at line 77 of file HLTTauPostProcessor.cc.
References edm::ParameterSet::getParameter().
{ //Get parameters setup_ = pset.getParameter<std::vector<edm::ParameterSet> >("Setup"); //Automatic Configuration automation_.AutoCompleteConfig( setup_, HLTCP_ ); }
Definition at line 65 of file HLTTauPostProcessor.h.
std::string HLTTauPostProcessor::dqmBaseFolder_ [private] |
Definition at line 56 of file HLTTauPostProcessor.h.
HLTConfigProvider HLTTauPostProcessor::HLTCP_ [private] |
Definition at line 64 of file HLTTauPostProcessor.h.
double HLTTauPostProcessor::HLTMatchDr_ [private] |
Definition at line 62 of file HLTTauPostProcessor.h.
bool HLTTauPostProcessor::hltMenuChanged_ [private] |
Definition at line 57 of file HLTTauPostProcessor.h.
std::string HLTTauPostProcessor::hltProcessName_ [private] |
Definition at line 58 of file HLTTauPostProcessor.h.
double HLTTauPostProcessor::L1MatchDr_ [private] |
Definition at line 61 of file HLTTauPostProcessor.h.
edm::ParameterSet HLTTauPostProcessor::ps_ [private] |
Definition at line 54 of file HLTTauPostProcessor.h.
bool HLTTauPostProcessor::runAtEndJob_ [private] |
Definition at line 67 of file HLTTauPostProcessor.h.
bool HLTTauPostProcessor::runAtEndRun_ [private] |
Definition at line 68 of file HLTTauPostProcessor.h.
std::vector<edm::ParameterSet> HLTTauPostProcessor::setup_ [private] |
Definition at line 55 of file HLTTauPostProcessor.h.
std::string HLTTauPostProcessor::sourceModule_ [private] |
Definition at line 59 of file HLTTauPostProcessor.h.
std::vector<HLTTauDQMSummaryPlotter*> HLTTauPostProcessor::summaryPlotters_ [private] |
Definition at line 70 of file HLTTauPostProcessor.h.