24 histtitle =
"Gamma pT";
29 histtitle =
"Meson pT";
33 histname =
"gammaeta";
34 histtitle =
"Gamma eta";
38 histname =
"mesoneta";
39 histtitle =
"Meson eta";
43 histname =
"gammaetaVsLS";
44 histtitle =
"Gamma eta vs LS";
58 std::vector<TLorentzVector> mesons,
60 const bool passCond) {
62 if (!photons.empty()) {
63 double eta1 = photons[0].eta();
68 if (!mesons.empty()) {
69 double eta2 = mesons[0].Eta();
76 if (!photons.empty()) {
77 double eta1 = photons[0].eta();
82 if (!mesons.empty()) {
83 double eta2 = mesons[0].Eta();
95 std::vector<double> pt1bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
96 180., 210., 240., 270., 300., 330., 360., 400., 450., 500., 750., 1000., 1500.};
97 histoPSet.
add<std::vector<double> >(
"gammaptBinning", pt1bins);
99 std::vector<double> pt2bins = {0., 20., 40., 45., 50., 55., 60., 65., 70., 80., 90., 100.,
100 110., 120., 150., 180., 210., 240., 270., 300., 350., 400., 1000.};
101 histoPSet.
add<std::vector<double> >(
"mesonptBinning", pt2bins);
T getParameter(std::string const &) const
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
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
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< double > gammapt_variable_binning_
void bookHistograms(DQMStore::IBooker &)
std::vector< Photon > PhotonCollection
collectin of Photon objects
void fillHistograms(const reco::PhotonCollection &photons, std::vector< TLorentzVector > mesons, const int &ls, const bool passCond)
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)