18 m_eleCollectionTag(conf.getUntrackedParameter<
edm::
InputTag>(
"eleCollectionName",
24 m_razorVarCollectionTag(conf.getUntrackedParameter<
edm::
InputTag>(
"razorVarCollectionName")) {
43 iBooker,
"rsqMRFullyInc",
"M_{R} vs R^{2} (All Events)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
45 iBooker,
"rsqMRInc4J",
"M_{R} vs R^{2} (>= 4j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
47 iBooker,
"rsqMRInc6J",
"M_{R} vs R^{2} (>= 6j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
49 iBooker,
"rsqMRInc8J",
"M_{R} vs R^{2} (>= 8j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
51 iBooker,
"rsqMRInc10J",
"M_{R} vs R^{2} (>= 10j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
53 iBooker,
"rsqMRInc12J",
"M_{R} vs R^{2} (>= 12j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
55 iBooker,
"rsqMRInc14J",
"M_{R} vs R^{2} (>= 14j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
59 iBooker,
"rsqMREleMu",
"M_{R} vs R^{2} (EleMu box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
61 iBooker,
"rsqMRMuMu",
"M_{R} vs R^{2} (MuMu box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
63 iBooker,
"rsqMREleEle",
"M_{R} vs R^{2} (EleEle box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
65 iBooker,
"rsqMRMu",
"M_{R} vs R^{2} (Mu box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
67 iBooker,
"rsqMREle",
"M_{R} vs R^{2} (Ele box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
69 iBooker,
"rsqMRHad",
"M_{R} vs R^{2} (Had box)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
73 iBooker,
"rsqMRMuMJ",
"M_{R} vs R^{2} (Mu box >= 4j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
75 iBooker,
"rsqMREleMJ",
"M_{R} vs R^{2} (Ele box >= 5j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
77 iBooker,
"rsqMRHadMJ",
"M_{R} vs R^{2} (Had box >= 6j)", 400, 0., 4000., 50, 0., 1.,
"M_{R} [GeV]",
"R^{2}");
86 unsigned int njets = 0;
87 for (reco::CaloJetCollection::const_iterator it = calojets_handle->begin(); it != calojets_handle->end(); ++it) {
88 if (it->pt() >= 30. && fabs(it->eta()) <= 3.0) {
97 unsigned int nmu_loose = 0;
98 unsigned int nmu_tight = 0;
100 for (std::vector<reco::RecoChargedCandidate>::const_iterator it = muon_handle->begin(); it != muon_handle->end();
102 if (it->pt() >= 15 && fabs(it->eta()) <= 2.1)
104 if (it->pt() >= 10 && fabs(it->eta()) <= 2.4)
113 unsigned int nele_loose = 0;
114 unsigned int nele_tight = 0;
116 for (reco::ElectronCollection::const_iterator it = ele_handle->begin(); it != ele_handle->end(); ++it) {
117 if (it->pt() >= 20 && fabs(it->eta()) <= 2.5)
119 if (it->pt() >= 10 && fabs(it->eta()) <= 2.5)
126 unsigned int box_num = 5;
127 if (nmu_tight > 0 && nele_tight > 0) {
129 }
else if (nmu_tight > 0 && nmu_loose > 1) {
131 }
else if (nele_tight > 0 && nele_loose > 1) {
133 }
else if (nmu_tight > 0) {
135 }
else if (nele_tight > 0) {
141 if (razorvar_handle->size() > 1) {
142 const double MR = razorvar_handle->at(0);
143 const double R = razorvar_handle->at(1);
174 if (box_num == 3 &&
njets >= 4)
177 else if (box_num == 4 &&
njets >= 5)
180 else if (box_num == 5 &&
njets >= 6)