#include <TopSingleLeptonHLTOfflineDQM.h>
Public Member Functions | |
void | book (DQMStore::IBooker &store_) |
book histograms in subdirectory directory More... | |
void | fill (const edm::Event &event, const edm::EventSetup &setup, const HLTConfigProvider &hltConfig, const std::vector< std::string > triggerPaths) |
fill monitor histograms with electronId and jetCorrections More... | |
MonitorSingleLepton (const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default contructor More... | |
~MonitorSingleLepton () | |
default destructor More... | |
Private Member Functions | |
bool | booked (const std::string histName) const |
check if histogram was booked More... | |
void | fill (const edm::Event &event, const edm::TriggerResults &triggerTable, std::string channel, const std::vector< std::string > &labels) const |
fill trigger monitoring histograms More... | |
void | fill (const std::string histName, double value) const |
fill histogram if it had been booked before More... | |
void | fill (const std::string histName, double xValue, double yValue) const |
fill histogram if it had been booked before (2-dim version) More... | |
void | fill (const std::string histName, double xValue, double yValue, double zValue) const |
fill histogram if it had been booked before (2-dim version) More... | |
std::string | monitorPath (const std::string &label) const |
std::string | selectionPath (const std::string &label) const |
void | triggerBinLabels (std::string channel, const std::vector< std::string > &labels) |
set configurable labels for trigger monitoring histograms More... | |
Definition at line 46 of file TopSingleLeptonHLTOfflineDQM.h.
MonitorSingleLepton::MonitorSingleLepton | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 37 of file TopSingleLeptonHLTOfflineDQM.cc.
References btagEff_, btagEffWP_, btagVtx_, btagVtxWP_, eidPattern_, elecIso_, elecs_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), folder_, edm::ParameterSet::getParameter(), includeBTag_, HLT_25ns10e33_v2_cff::InputTag, jetCorrector_, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, objects.METAnalyzer::met, mets_, muonIso_, muons_, muonSelect_, LaserDQM_cfg::process, processName_, pvs_, pvSelect_, AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, triggerSummaryTokenAOD, triggerSummaryTokenRAW, triggerTable_, and upperEdge_.
|
inline |
void MonitorSingleLepton::book | ( | DQMStore::IBooker & | store_ | ) |
book histograms in subdirectory directory
Definition at line 163 of file TopSingleLeptonHLTOfflineDQM.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), folder_, hists_, label_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, triggerBinLabels(), and triggerPaths_.
|
inlineprivate |
check if histogram was booked
Definition at line 74 of file TopSingleLeptonHLTOfflineDQM.h.
References hists_.
Referenced by fill().
void MonitorSingleLepton::fill | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
const HLTConfigProvider & | hltConfig, | ||
const std::vector< std::string > | triggerPaths | ||
) |
fill monitor histograms with electronId and jetCorrections
Definition at line 240 of file TopSingleLeptonHLTOfflineDQM.cc.
References btagEff_, btagEffWP_, btagVtx_, btagVtxWP_, JetCorrector::correction(), mvaPFMET_cff::corrector, deltaR(), HLTOfflineDQMTopSingleLepton::DRMIN, alignCSCRings::e, eidPattern_, elecIso_, elecs_, elecSelect_, electronId_, electronIds_, electronRefs_, eta, edm::EventSetup::find(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), hasRawTriggerSummary, hists_, i, customizeTrackingMonitorSeedNumber::idx, includeBTag_, trackerHitRTTI::isMatched(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), j, metsig::jet, jetCorrector_, jetIDLabel_, jetIDSelect_, fwrapper::jets, jets_, jetSelect_, relval_2017::k, WDecay::kElec, WDecay::kMuon, logged_, lowerEdge_, CalculateHLT::masslb(), CalculateHLT::massTopQuark(), CalculateHLT::massWBoson(), HLTOfflineDQMTopSingleLepton::MAXJETS, objects.METAnalyzer::met, mets_, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), RPCpg::mu, VarParsing::mult, metsig::muon, muonIds_, muonIso_, muonRefs_, patZpeak::muons, muons_, muonSelect_, mergeVDriftHistosByStation::name, pfjetIds_, pfjetRefs_, processName_, EnergyCorrector::pt, MetAnalyzer::pv(), pvs_, pvSelect_, reco::Jet::scaleEnergy(), EgammaValidation_Wenu_cff::sel, findQualityFiles::size, CalculateHLT::tmassTopQuark(), CalculateHLT::tmassWBoson(), edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), triggerPaths_, triggerSummaryTokenAOD, triggerSummaryTokenRAW, triggerTable_, upperEdge_, and HLTOfflineDQMTopSingleLepton::WMASS.
Referenced by fill().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 177 of file TopSingleLeptonHLTOfflineDQM.h.
References acceptHLT(), fill(), customizeTrackingMonitorSeedNumber::idx, and monitorPath().
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 76 of file TopSingleLeptonHLTOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 78 of file TopSingleLeptonHLTOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 80 of file TopSingleLeptonHLTOfflineDQM.h.
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 63 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 66 of file TopSingleLeptonHLTOfflineDQM.h.
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 169 of file TopSingleLeptonHLTOfflineDQM.h.
References hists_, customizeTrackingMonitorSeedNumber::idx, and monitorPath().
Referenced by book().
|
private |
btag discriminator labels
Definition at line 145 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
btag working points
Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 146 of file TopSingleLeptonHLTOfflineDQM.h.
|
private |
Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.
|
private |
Definition at line 147 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
electronId pattern we expect the following pattern: 0: fails 1: passes electron ID only 2: passes electron Isolation only 3: passes electron ID and Isolation only 4: passes conversion rejection 5: passes conversion rejection and ID 6: passes conversion rejection and Isolation 7: passes the whole selection As described on https://twiki.cern.ch/twiki/bin/view/CMS/SimpleCutBasedEleID
Definition at line 118 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra isolation criterion on electron
Definition at line 120 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
input sources for monitoring
Definition at line 89 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra selection on electrons
Definition at line 122 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
electronId label
Definition at line 107 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 160 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 161 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 80 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by book(), and MonitorSingleLepton().
|
private |
Definition at line 99 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
histogram container
Definition at line 156 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by book(), booked(), fill(), and triggerBinLabels().
|
private |
include btag information or not to be determined from the cfg
Definition at line 143 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
jetCorrector
Definition at line 133 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
jetID as an extra selection type
Definition at line 135 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra jetID selection on calo jets
Definition at line 137 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 91 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra selection on jets (here given as std::string as it depends on the the jet type, which selections are valid and which not)
Definition at line 140 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
instance label
Definition at line 85 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by Mixins._Labelable::_findDependencies(), book(), and Mixins._Labelable::setLabel().
|
private |
number of logged interesting events
Definition at line 154 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
mass window upper and lower edge
Definition at line 151 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
considers a vector of METs
Definition at line 87 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 162 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
extra isolation criterion on muon
Definition at line 128 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 163 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 90 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra selection on muons
Definition at line 130 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 164 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 165 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
hlt objects
Definition at line 159 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 92 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
extra selection on primary vertices; meant to investigate the pile-up effect
Definition at line 125 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 104 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by book(), fill(), and MonitorSingleLepton().
|
private |
Definition at line 98 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 97 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
trigger table
Definition at line 95 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().
|
private |
Definition at line 151 of file TopSingleLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorSingleLepton().