forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#3820 from makortel/tautriggerdqmTauProducer…
…_DQMGenericClient DQM -- Migrate Tau HLT DQM to DQMGenericClient+DQMEDHarvester
- Loading branch information
Showing
13 changed files
with
255 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,40 +5,20 @@ | |
[email protected] | ||
*/ | ||
|
||
#include "FWCore/Framework/interface/EDAnalyzer.h" | ||
#include "DQMServices/Core/interface/DQMEDHarvester.h" | ||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "DataFormats/Common/interface/Handle.h" | ||
#include "FWCore/Framework/interface/Event.h" | ||
#include "FWCore/Framework/interface/EventSetup.h" | ||
#include "FWCore/Framework/interface/ESHandle.h" | ||
#include "FWCore/MessageLogger/interface/MessageLogger.h" | ||
#include "FWCore/ServiceRegistry/interface/Service.h" | ||
#include "FWCore/Utilities/interface/Digest.h" | ||
|
||
//Plotters | ||
#include "DQMOffline/Trigger/interface/HLTTauDQMSummaryPlotter.h" | ||
#include <string> | ||
|
||
#include<memory> | ||
|
||
class HLTTauPostProcessor : public edm::EDAnalyzer { | ||
class HLTTauPostProcessor : public DQMEDHarvester { | ||
public: | ||
HLTTauPostProcessor( const edm::ParameterSet& ); | ||
~HLTTauPostProcessor(); | ||
|
||
protected: | ||
/// Fake Analyze | ||
void analyze(const edm::Event& e, const edm::EventSetup& c) ; | ||
|
||
/// EndRun | ||
void endRun(const edm::Run& r, const edm::EventSetup& iSetup); | ||
|
||
/// Endjob | ||
void endJob(); | ||
|
||
void harvest(); | ||
|
||
|
||
void dqmEndJob(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter) override; | ||
|
||
private: | ||
std::vector<std::unique_ptr<HLTTauDQMSummaryPlotter>> summaryPlotters_; | ||
const bool runAtEndJob_; | ||
const bool runAtEndRun_; | ||
void plotFilterEfficiencies(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter, const std::string& folder) const; | ||
|
||
const std::string dqmBaseFolder_; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.