|
| DiJetMonitor (const edm::ParameterSet &) |
|
| ~DiJetMonitor () override throw () |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
void | beginStream (edm::StreamID id) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
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) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbinsX, const double xmin, const double xmax, const uint nbinsY, const double ymin, const double ymax, const bool bookDen=true) |
|
void | bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY, const bool bookDen=true) |
|
void | setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY) |
|
| TriggerDQMBase ()=default |
|
virtual | ~TriggerDQMBase ()=default |
|
Definition at line 32 of file DiJetMonitor.cc.
Reimplemented from DQMEDAnalyzer.
Definition at line 306 of file DiJetMonitor.cc.
References den_genTriggerEventFlag_, TriggerDQMBase::ObjME::denominator, dijet_selection(), dijetSrc_, gmt_cfi::eta_1, gmt_cfi::eta_2, dqm::impl::MonitorElement::Fill(), hltPathsAreValid_, iEvent, edm::HandleBase::isValid(), jetAsyEtaME_, jetEta1ME_, jetEta2ME_, jetEtaPhiME_, jetetaPrbME_, jetetaTagME_, jetPhi1ME_, jetPhi2ME_, jetphiPrbME_, jetphiTagME_, jetpt1ME_, jetpt2ME_, jetptAsyME_, jetptAvgaME_, jetptAvgaThrME_, jetptAvgbME_, jetptPrbME_, jetptTagME_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, ptcut_, and requireValidHLTPaths_.
317 std::vector<double> v_jetpt;
318 std::vector<double> v_jeteta;
319 std::vector<double> v_jetphi;
331 for (reco::PFJetCollection::const_iterator ibegin = offjets->begin(), iend = offjets->end(), ijet = ibegin;
334 if (ijet->pt() <
ptcut_) {
337 v_jetpt.push_back(ijet->pt());
338 v_jeteta.push_back(ijet->eta());
339 v_jetphi.push_back(ijet->phi());
341 if (v_jetpt.size() < 2) {
344 double pt_1 = v_jetpt[0];
345 double eta_1 = v_jeteta[0];
346 double phi_1 = v_jetphi[0];
347 double pt_2 = v_jetpt[1];
348 double eta_2 = v_jeteta[1];
349 double phi_2 = v_jetphi[1];
350 double pt_avg_b = (pt_1 + pt_2) * 0.5;
351 int tag_id = -999, probe_id = -999;
362 if (tag_id == 0 && probe_id == 1) {
363 double pt_asy = (pt_2 - pt_1) / (pt_1 + pt_2);
364 double pt_avg = (pt_1 + pt_2) * 0.5;
377 if (tag_id == 1 && probe_id == 0) {
378 double pt_asy = (pt_1 - pt_2) / (pt_2 + pt_1);
379 double pt_avg = (pt_2 + pt_1) * 0.5;
404 if (tag_id == 0 && probe_id == 1) {
405 double pt_asy = (pt_2 - pt_1) / (pt_1 + pt_2);
406 double pt_avg = (pt_1 + pt_2) * 0.5;
419 if (tag_id == 1 && probe_id == 0) {
420 double pt_asy = (pt_1 - pt_2) / (pt_2 + pt_1);
421 double pt_avg = (pt_2 + pt_1) * 0.5;
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
edm::EDGetTokenT< reco::PFJetCollection > dijetSrc_
const bool requireValidHLTPaths_
bool dijet_selection(double eta_1, double phi_1, double eta_2, double phi_2, double pt_1, double pt_2, int &tag_id, int &probe_id, int Event)
MonitorElement * denominator
MonitorElement * numerator
Log< level::Warning, false > LogWarning
Implements DQMEDAnalyzer.
Definition at line 135 of file DiJetMonitor.cc.
References asy_binning, TriggerDQMBase::bookME(), den_genTriggerEventFlag_, dijet_eta_binning, dijet_phi_binning, dijetpt_binning_, dijetptThr_binning_, folderName_, hltPathsAreValid_, jetAsyEtaME_, jetEta1ME_, jetEta2ME_, jetEtaPhiME_, jetetaPrbME_, jetetaTagME_, jetPhi1ME_, jetPhi2ME_, jetphiPrbME_, jetphiTagME_, jetpt1ME_, jetpt2ME_, jetptAsyME_, jetptAvgaME_, jetptAvgaThrME_, jetptAvgbME_, jetptPrbME_, jetptTagME_, TriggerDQMBase::MEbinning::nbins, num_genTriggerEventFlag_, requireValidHLTPaths_, dqm::implementation::NavigatorBase::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.
160 histtitle =
"leading Jet Pt";
165 histtitle =
"second leading Jet Pt";
169 histname =
"jetphi1";
170 histtitle =
"leading Jet Phi";
175 histname =
"jetphi2";
176 histtitle =
"second leading Jet Phi";
181 histname =
"jeteta1";
182 histtitle =
"leading Jet Eta";
187 histname =
"jeteta2";
188 histtitle =
"second leading Jet Eta";
193 histname =
"jetptAvgB";
194 histtitle =
"Pt average before offline selection";
199 histname =
"jetptAvgA";
200 histtitle =
"Pt average after offline selection";
205 histname =
"jetptAvgAThr";
206 histtitle =
"Pt average after offline selection";
216 histname =
"jetptTag";
217 histtitle =
"Tag Jet Pt";
222 histname =
"jetptPrb";
223 histtitle =
"Probe Jet Pt";
228 histname =
"jetptAsym";
229 histtitle =
"Jet Pt Asymetry";
233 histname =
"jetetaPrb";
234 histtitle =
"Probe Jet eta";
244 histname =
"jetetaTag";
245 histtitle =
"Tag Jet eta";
255 histname =
"ptAsymVSetaPrb";
256 histtitle =
"Pt_Asym vs eta_prb";
269 histname =
"etaPrbVSphiPrb";
270 histtitle =
"eta_prb vs phi_prb";
283 histname =
"jetphiPrb";
284 histtitle =
"Probe Jet phi";
294 histname =
"jetphiTag";
295 histtitle =
"Tag Jet phi";
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
virtual void setCurrentFolder(std::string const &fullpath)
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
MEbinning dijetpt_binning_
MEbinning dijetptThr_binning_
const std::string folderName_
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
const bool requireValidHLTPaths_
MEbinning dijet_phi_binning
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)
MEbinning dijet_eta_binning