44 iBooker.
book1D(
"dijet_mass",
"dijet resonance invariant mass, barrel region", 100, 0, 1000);
47 MEcontainer_[
"njets30"] = iBooker.
book1D(
"njets30",
"jet multiplicity, pt > 30 GeV", 10, 0, 10);
50 MEcontainer_[
"inclusive_jet_pt"] = iBooker.
book1D(
"inclusive_jet_pt",
"inclusive jet Pt spectrum", 100, 0, 1000);
52 iBooker.
book1D(
"inclusive_jet_pt_barrel",
"inclusive jet Pt, eta < 1.3", 100, 0, 1000);
54 iBooker.
book1D(
"inclusive_jet_pt_forward",
"inclusive jet Pt, 3.0 < eta < 5.0", 100, 0, 1000);
56 iBooker.
book1D(
"inclusive_jet_pt_endcap",
"inclusive jet Pt, 1.3 < eta < 3.0", 100, 0, 1000);
59 MEcontainer_[
"leading_jet_pt"] = iBooker.
book1D(
"leading_jet_pt",
"leading jet Pt", 100, 0, 1000);
61 iBooker.
book1D(
"leading_jet_pt_barrel",
"leading jet Pt, eta < 1.3", 100, 0, 1000);
63 iBooker.
book1D(
"leading_jet_pt_forward",
"leading jet Pt, 3.0 < eta < 5.0", 100, 0, 1000);
65 iBooker.
book1D(
"leading_jet_pt_endcap",
"leading jet Pt, 1.3 < eta < 3.0", 100, 0, 1000);
69 MEcontainer_[
"movers_met"] = iBooker.
book1D(
"movers_met",
"MET over Sum ET for basic MET collection", 50, 0, 1);
71 iBooker.
book1D(
"moverl_met",
"MET over leading jet Pt for basic MET collection", 50, 0, 2);
73 MEcontainer_[
"movers_metho"] = iBooker.
book1D(
"movers_metho",
"MET over Sum ET for MET HO collection", 50, 0, 1);
75 iBooker.
book1D(
"moverl_metho",
"MET over leading jet Pt for MET HO collection", 50, 0, 2);
78 iBooker.
book1D(
"movers_metnohf",
"MET over Sum ET for MET no HF collection", 50, 0, 1);
80 iBooker.
book1D(
"moverl_metnohf",
"MET over leading jet Pt for MET no HF collection", 50, 0, 2);
83 iBooker.
book1D(
"movers_metnohfho",
"MET over Sum ET for MET no HF HO collection", 50, 0, 1);
85 iBooker.
book1D(
"moverl_metnohfho",
"MET over leading jet Pt for MET no HF HO collection", 50, 0, 2);
88 MEcontainer_[
"inclusive_jet_EMF"] = iBooker.
book1D(
"inclusive_jet_EMF",
"inclusive jet EMF", 50, -1, 1);
89 MEcontainer_[
"leading_jet_EMF"] = iBooker.
book1D(
"leading_jet_EMF",
"leading jet EMF", 50, -1, 1);
90 MEcontainer_[
"second_jet_EMF"] = iBooker.
book1D(
"second_jet_EMF",
"second jet EMF", 50, -1, 1);
91 MEcontainer_[
"third_jet_EMF"] = iBooker.
book1D(
"third_jet_EMF",
"third jet EMF", 50, -1, 1);
97 CaloMETCollection::const_iterator met_iter;
98 for (met_iter = metcollection.begin(); met_iter != metcollection.end(); ++met_iter) {
99 float mex = met_iter->momentum().x();
100 float mey = met_iter->momentum().y();
101 float met =
sqrt(mex * mex + mey * mey);
102 float sumet = met_iter->sumEt();
103 metovers = (
met / sumet);
111 CaloMETCollection::const_iterator met_iter;
112 for (met_iter = metcollection.begin(); met_iter != metcollection.end(); ++met_iter) {
113 float mex = met_iter->momentum().x();
114 float mey = met_iter->momentum().y();
115 float met =
sqrt(mex * mex + mey * mey);
116 metoverl = (
met / ljpt);
126 CaloJetCollection::const_iterator jet_iter;
148 float leading_jetpt = 0;
149 float leading_jeteta = 0;
160 -5.191, -4.889, -4.716, -4.538, -4.363, -4.191, -4.013, -3.839, -3.664, -3.489, -3.314, -3.139, -2.964, -2.853,
161 -2.650, -2.500, -2.322, -2.172, -2.043, -1.930, -1.830, -1.740, -1.653, -1.566, -1.479, -1.392, -1.305, -1.218,
162 -1.131, -1.044, -.957, -.879, -.783, -.696, -.609, -.522, -.435, -.348, -.261, -.174, -.087, 0,
163 .087, .174, .261, .348, .435, .522, .609, .696, .783, .879, .957, 1.044, 1.131, 1.218,
164 1.305, 1.392, 1.479, 1.566, 1.653, 1.740, 1.830, 1.930, 2.043, 2.172, 2.322, 2.500, 2.650, 2.853,
165 2.964, 3.139, 3.314, 3.489, 3.664, 3.839, 4.013, 4.191, 4.363, 4.538, 4.889, 5.191};
167 for (jet_iter =
jets.begin(); jet_iter !=
jets.end(); ++jet_iter) {
171 float jet_pt = jet_iter->pt();
172 float jet_eta = jet_iter->eta();
173 float jet_phi = jet_iter->phi();
177 MEcontainer_[
"inclusive_jet_EMF"]->Fill(jet_iter->emEnergyFraction());
183 if (jet_eta <= 1.3) {
185 if (nbarreljets == 0) {
188 }
else if (nbarreljets == 1) {
196 else if (jet_eta <= 3.0 && jet_eta > 1.3) {
198 }
else if (jet_eta <= 5.0 && jet_eta > 3.0) {
207 if (jet_pt > leading_jetpt) {
208 leading_jetpt = jet_pt;
209 leading_jeteta = jet_eta;
213 for (
int eit = 0; eit < 81; eit++) {
214 for (
int pit = 0; pit < 72; pit++) {
216 float high_eta =
etabins[eit + 1];
217 float low_phi = (-
M_PI) + pit * (
M_PI / 36);
218 float high_phi = low_phi + (
M_PI / 36);
219 if (jet_eta > low_eta && jet_eta < high_eta && jet_phi > low_phi && jet_phi < high_phi) {
231 if (leading_jeteta <= 1.3) {
232 MEcontainer_[
"leading_jet_pt_barrel"]->Fill(leading_jetpt);
233 }
else if (leading_jeteta <= 3.0 && leading_jeteta > 1.3) {
234 MEcontainer_[
"leading_jet_pt_endcap"]->Fill(leading_jetpt);
235 }
else if (leading_jeteta <= 5.0 && leading_jeteta > 3.0) {
236 MEcontainer_[
"leading_jet_pt_forward"]->Fill(leading_jetpt);
257 if (
jets.size() >= 2) {
259 if (
jets.size() >= 3) {
267 if (nbarreljets == 2) {
268 if (leadingbarreljet.
energy() > 0 && secondbarreljet.
energy() > 0) {
270 float dijet_mass = DiJet.mass();
edm::EDGetTokenT< reco::CaloMETCollection > metToken1_
float moverl(const reco::CaloMETCollection &metcollection, float &ljpt)
Jets made from CaloTowers.
virtual void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< reco::CaloMETCollection > metToken2_
const LorentzVector & p4() const final
four-momentum Lorentz vector
std::map< std::string, MonitorElement * > MEcontainer_
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
edm::EDGetTokenT< reco::CaloMETCollection > metToken4_
edm::EDGetTokenT< reco::CaloMETCollection > metToken3_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
float movers(const reco::CaloMETCollection &metcollection)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
QcdHighPtDQM(const edm::ParameterSet &)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::EDGetTokenT< reco::CaloJetCollection > jetToken_
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
double energy() const final
energy