CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PhotonOfflineClient.h
Go to the documentation of this file.
1 #ifndef PhotonOfflineClient_H
2 #define PhotonOfflineClient_H
3 
6 //
10 
11 // EgammaCoreTools
13 
14 #include "TFile.h"
15 #include "TH1.h"
16 #include "TH2.h"
17 #include "TTree.h"
18 #include "TVector3.h"
19 #include "TProfile.h"
20 //
21 
26 
27 //DQM services
30 
31 //
32 
33 #include "RooGlobalFunc.h"
34 #include "RooRealVar.h"
35 #include "RooDataSet.h"
36 #include "RooBreitWigner.h"
37 #include "RooDataHist.h"
38 #include "RooFitResult.h"
39 
40 #include <vector>
41 #include <string>
42 
53 // forward declarations
54 class TFile;
55 class TH1F;
56 class TH2F;
57 class TProfile;
58 class TTree;
59 
61 public:
62  //
64  ~PhotonOfflineClient() override;
65 
67 
68  virtual void runClient(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter);
70  DQMStore::IBooker& iBooker, std::string histoName, std::string title, int bin, double min, double max);
71 
73  std::vector<std::vector<MonitorElement*> >& vecOfHist,
74  std::string histoType,
77  int xbin,
78  double xmin,
79  double xmax,
80  int ybin = 1,
81  double ymin = 1,
82  double ymax = 2);
84  std::vector<std::vector<std::vector<MonitorElement*> > >& vecOfHist,
85  std::string histoType,
88  int xbin,
89  double xmin,
90  double xmax,
91  int ybin = 1,
92  double ymin = 1,
93  double ymax = 2);
94 
96 
97 private:
105 
110 
111  std::vector<std::vector<MonitorElement*> > p_convFractionVsEta_;
112  std::vector<std::vector<std::vector<MonitorElement*> > > p_convFractionVsPhi_;
113  std::vector<std::vector<MonitorElement*> > p_convFractionVsEt_;
114 
115  std::vector<std::vector<MonitorElement*> > p_badChannelsFractionVsEta_;
116  std::vector<std::vector<MonitorElement*> > p_badChannelsFractionVsPhi_;
117  std::vector<std::vector<MonitorElement*> > p_badChannelsFractionVsEt_;
118 
120 
123 
125 
127 
128  double cutStep_;
132 
133  double etMin;
134  double etMax;
135  int etBin;
136  double etaMin;
137  double etaMax;
138  int etaBin;
139  double phiMin;
140  double phiMax;
141  int phiBin;
142 
144  bool batch_;
145 
148 
149  std::stringstream currentFolder_;
150 
155 
156  std::vector<std::string> types_;
157  std::vector<std::string> parts_;
158 };
159 
160 #endif
std::vector< std::string > parts_
PhotonOfflineClient(const edm::ParameterSet &pset)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::vector< std::vector< MonitorElement * > > p_badChannelsFractionVsEta_
std::vector< std::string > types_
std::vector< std::vector< MonitorElement * > > p_convFractionVsEta_
MonitorElement * retrieveHisto(DQMStore::IGetter &iGetter, std::string dir, std::string name)
std::vector< std::vector< MonitorElement * > > p_convFractionVsEt_
MonitorElement * p_convFractionVsEtaLoose_
MonitorElement * p_vertexReconstructionEfficiencyVsEta_
std::vector< std::vector< MonitorElement * > > p_badChannelsFractionVsPhi_
void book2DHistoVector(DQMStore::IBooker &iBooker, std::vector< std::vector< MonitorElement *> > &vecOfHist, std::string histoType, std::string histoName, std::string title, int xbin, double xmin, double xmax, int ybin=1, double ymin=1, double ymax=2)
MonitorElement * p_efficiencyVsEtHLT_
void dividePlots(MonitorElement *dividend, MonitorElement *numerator, MonitorElement *denominator)
std::stringstream currentFolder_
MonitorElement * p_efficiencyVsEtaLoose_
MonitorElement * p_convFractionVsEtaTight_
void book3DHistoVector(DQMStore::IBooker &iBooker, std::vector< std::vector< std::vector< MonitorElement *> > > &vecOfHist, std::string histoType, std::string histoName, std::string title, int xbin, double xmin, double xmax, int ybin=1, double ymin=1, double ymax=2)
MonitorElement * bookHisto(DQMStore::IBooker &iBooker, std::string histoName, std::string title, int bin, double min, double max)
virtual void runClient(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
MonitorElement * p_efficiencyVsEtaHLT_
MonitorElement * p_efficiencyVsEtLoose_
MonitorElement * p_efficiencyVsEtaTight_
MonitorElement * p_convFractionVsEtTight_
std::vector< std::vector< MonitorElement * > > p_badChannelsFractionVsEt_
edm::ParameterSet parameters_
MonitorElement * p_convFractionVsEtLoose_
std::vector< std::vector< std::vector< MonitorElement * > > > p_convFractionVsPhi_
MonitorElement * p_efficiencyVsEtTight_