23 histtitle =
"Gamma pT";
28 histtitle =
"Meson pT";
32 histname =
"gammaeta";
33 histtitle =
"Gamma eta";
37 histname =
"mesoneta";
38 histtitle =
"Meson eta";
42 histname =
"gammaetaVsLS";
43 histtitle =
"Gamma eta vs LS";
57 const std::vector<TLorentzVector>& mesons,
59 const bool passCond) {
67 if (!mesons.empty()) {
68 double eta2 = mesons[0].Eta();
81 if (!mesons.empty()) {
82 double eta2 = mesons[0].Eta();
94 std::vector<double> pt1bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
95 180., 210., 240., 270., 300., 330., 360., 400., 450., 500., 750., 1000., 1500.};
96 histoPSet.add<std::vector<double> >(
"gammaptBinning", pt1bins);
98 std::vector<double> pt2bins = {0., 20., 40., 45., 50., 55., 60., 65., 70., 80., 90., 100.,
99 110., 120., 150., 180., 210., 240., 270., 300., 350., 400., 1000.};
100 histoPSet.add<std::vector<double> >(
"mesonptBinning", pt2bins);
T getParameter(std::string const &) const
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
void fillHistograms(const reco::PhotonCollection &photons, const std::vector< TLorentzVector > &mesons, const int ls, const bool passCond)
std::vector< double > mesonpt_variable_binning_
~HMesonGammaDQM() override
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
static void fillHmgDescription(edm::ParameterSetDescription &histoPSet)
void initialise(const edm::ParameterSet &iConfig)
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * denominator
MonitorElement * numerator
std::vector< double > gammapt_variable_binning_
void bookHistograms(DQMStore::IBooker &)
std::vector< Photon > PhotonCollection
collectin of Photon objects
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)