CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTTauDQMOfflineSource.h
Go to the documentation of this file.
1 /*Offline DQM For Tau HLT
2  Author : Michail Bachtis
3  University of Wisconsin-Madison
4  bachtis@hep.wisc.edu
5  */
6 
19 
20 //Plotters
26 
27 //Automatic Configuration
29 
30 //
31 // class declaration
32 //
33 
35 public:
38 
39 protected:
41  void beginJob();
42 
44  void beginRun(const edm::Run& r, const edm::EventSetup& c);
45 
47  void analyze(const edm::Event& e, const edm::EventSetup& c) ;
48 
50  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context);
51 
53  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c);
54 
56  void endRun(const edm::Run& r, const edm::EventSetup& c);
57 
59  void endJob();
60 
61 private:
62  std::vector<edm::ParameterSet> config_;
69  bool verbose_;
70 
73 
74  //Reference
76  std::vector<edm::ParameterSet> refObjects_;
77 
78  int NPtBins_;
79  int NEtaBins_;
80  int NPhiBins_;
81  double EtMax_;
82  double L1MatchDr_;
83  double HLTMatchDr_;
84 
85  //DQM Prescaler
86  int counterEvt_; //counter
87  int prescaleEvt_; //every n events
88 
89  //Helper function to retrieve data from the parameter set
90  void processPSet( const edm::ParameterSet& pset );
91 
92  //Count parameters
93  unsigned int countParameters( const edm::ParameterSet& pset );
94 
95  //search event content
96  void searchEventContent(std::vector<edm::InputTag>& eventContent, const edm::ParameterSet& pset);
97 
98  //Define Dummy vectors of Plotters
99  std::vector<HLTTauDQML1Plotter*> l1Plotters;
100  std::vector<HLTTauDQMCaloPlotter*> caloPlotters;
101  std::vector<HLTTauDQMTrkPlotter*> trackPlotters;
102  std::vector<HLTTauDQMPathPlotter*> pathPlotters;
103  std::vector<HLTTauDQMLitePathPlotter*> litePathPlotters;
104 };
std::vector< HLTTauDQMPathPlotter * > pathPlotters
std::vector< HLTTauDQMCaloPlotter * > caloPlotters
HLTTauDQMAutomation automation_
std::vector< HLTTauDQML1Plotter * > l1Plotters
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
HLTTauDQMOfflineSource(const edm::ParameterSet &)
std::vector< edm::ParameterSet > refObjects_
void searchEventContent(std::vector< edm::InputTag > &eventContent, const edm::ParameterSet &pset)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Fake Analyze.
std::vector< HLTTauDQMLitePathPlotter * > litePathPlotters
std::vector< edm::ParameterSet > config_
std::vector< HLTTauDQMTrkPlotter * > trackPlotters
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
void processPSet(const edm::ParameterSet &pset)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Luminosity Block.
unsigned int countParameters(const edm::ParameterSet &pset)
Definition: Run.h:36