23 histname =
"gammapt"; histtitle =
"Gamma pT";
27 histname =
"mesonpt"; histtitle =
"Meson pT";
31 histname =
"gammaeta"; histtitle =
"Gamma eta";
35 histname =
"mesoneta"; histtitle =
"Meson eta";
39 histname =
"gammaetaVsLS"; histtitle =
"Gamma eta vs LS";
46 std::vector<TLorentzVector> mesons,
51 if (!photons.empty()){
52 double eta1 = photons[0].eta();
58 double eta2 = mesons[0].Eta();
66 if (!photons.empty()){
67 double eta1 = photons[0].eta();
73 double eta2 = mesons[0].Eta();
87 std::vector<double> pt1bins = {0.,20.,40.,60.,80.,90.,100.,110.,120.,130.,140.,150.,160.,180.,210.,240.,270.,300.,330.,360.,400.,450.,500.,750.,1000.,1500.};
88 histoPSet.
add<std::vector<double> >(
"gammaptBinning", pt1bins);
90 std::vector<double> pt2bins = {0.,20.,40.,45.,50.,55.,60.,65.,70.,80.,90.,100.,110.,120.,150.,180.,210.,240.,270.,300.,350.,400.,1000.};
91 histoPSet.
add<std::vector<double> >(
"mesonptBinning", pt2bins);
T getParameter(std::string const &) const
MonitorElement * numerator
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
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
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)