CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TopElectronHLTOfflineClient.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_TRIGGER_TOPELECTRONHLTOFFLINECLIENT
2 #define DQMOFFLINE_TRIGGER_TOPELECTRONHLTOFFLINECLIENT
3 
4 // -*- C++ -*-
5 //
6 // Package: TopElectronHLTOfflineClient
7 // Class: EgammaHLTOffline
8 //
9 /*
10  Description: This is a DQM client meant to plot high-level HLT trigger
11  quantities as stored in the HLT results object TriggerResults for the Egamma triggers
12 
13  Notes:
14  Currently I would like to plot simple histograms of three seperate types of variables
15  1) global event quantities: eg nr of electrons
16  2) di-object quanities: transverse mass, di-electron mass
17  3) single object kinematic and id variables: eg et,eta,isolation
18 
19 */
20 //
21 // Original Author: Sam Harper
22 // Created: June 2008
23 //
24 //
25 //
26 
29 
30 #include <vector>
31 #include <string>
32 
33 class DQMStore;
34 class MonitorElement;
35 
36 
38 
39 private:
40  DQMStore* dbe_; // non-owned dqm store
42 
44 
45  std::vector<std::string> superMeNames_;
46  std::vector<std::string> eleMeNames_;
47 
48  std::vector<std::string> electronIdNames_;
49  std::vector<std::string> superTriggerNames_;
50  std::vector<std::string> electronTriggerNames_;
51 
53 
57 
58 
59  //disabling copying/assignment
62 
63 public:
66 
67 
68  virtual void beginJob();
69  virtual void analyze(const edm::Event&, const edm::EventSetup&); //dummy
70  virtual void endJob();
71  virtual void beginRun(const edm::Run& run, const edm::EventSetup& c);
72  virtual void endRun(const edm::Run& run, const edm::EventSetup& c);
73 
74  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,const edm::EventSetup& context){}
75  // DQM Client Diagnostic
76  virtual void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,const edm::EventSetup& c);
77 
79  void createSingleEffHists(const std::string&, const std::string&, const std::string&);
80 
81 private:
82  void runClient_(); //master function which runs the client
83 
84 };
85 
86 
87 
88 #endif
std::vector< std::string > superMeNames_
TopElectronHLTOfflineClient(const TopElectronHLTOfflineClient &rhs)
virtual void endRun(const edm::Run &run, const edm::EventSetup &c)
std::vector< std::string > electronIdNames_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * makeEffMonElemFromPassAndAll(const std::string &name, const MonitorElement *pass, const MonitorElement *fail)
std::vector< std::string > electronTriggerNames_
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
void createSingleEffHists(const std::string &, const std::string &, const std::string &)
virtual void beginRun(const edm::Run &run, const edm::EventSetup &c)
std::vector< std::string > superTriggerNames_
TopElectronHLTOfflineClient & operator=(const TopElectronHLTOfflineClient &rhs)
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
std::vector< std::string > eleMeNames_
Definition: Run.h:41