#include <TopDiLeptonHLTOfflineDQM.h>
Public Types | |
enum | DecayChannel { NONE, DIMUON, DIELEC, ELECMU } |
different decay channels More... | |
using | LorentzVector = reco::LeafCandidate::LorentzVector |
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... | |
MonitorDiLepton (const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default contructor More... | |
~MonitorDiLepton ()=default | |
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, const 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... | |
void | loggerBinLabels (const std::string &hist) |
set labels for event logging histograms More... | |
std::string | monitorPath (const std::string &label) const |
std::string | selectionPath (const std::string &label) const |
void | triggerBinLabels (const std::string &channel, const std::vector< std::string > &labels) |
set configurable labels for trigger monitoring histograms More... | |
Definition at line 47 of file TopDiLeptonHLTOfflineDQM.h.
make clear which LorentzVector to use for jet, electrons and muon buffering
Definition at line 51 of file TopDiLeptonHLTOfflineDQM.h.
different decay channels
Enumerator | |
---|---|
NONE | |
DIMUON | |
DIELEC | |
ELECMU |
Definition at line 53 of file TopDiLeptonHLTOfflineDQM.h.
MonitorDiLepton::MonitorDiLepton | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 28 of file TopDiLeptonHLTOfflineDQM.cc.
References diElecPaths_, diMuonPaths_, eidPattern_, elecIso_, elecMuPaths_, elecs_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), folder_, edm::ParameterSet::getParameter(), jetCorrector_, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, RazorAnalyzer::met, TtSemiLepSignalSelMVAComputer_cfi::mets, mets_, muonIso_, muons_, muonSelect_, LaserDQM_cfg::process, processName_, AlCaHLTBitMon_QueryRunRegistry::string, triggerSummaryTokenAOD, triggerSummaryTokenRAW, triggerTable_, and upperEdge_.
|
default |
default destructor
void MonitorDiLepton::book | ( | DQMStore::IBooker & | store_ | ) |
book histograms in subdirectory directory
Definition at line 128 of file TopDiLeptonHLTOfflineDQM.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), diElecPaths_, diMuonPaths_, elecMuPaths_, folder_, hists_, label_, loggerBinLabels(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerBinLabels().
|
inlineprivate |
check if histogram was booked
Definition at line 82 of file TopDiLeptonHLTOfflineDQM.h.
References hists_.
Referenced by fill().
void MonitorDiLepton::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 196 of file TopDiLeptonHLTOfflineDQM.cc.
References slimmedMETs_cfi::caloMET, ALCARECOTkAlJpsiMuMu_cff::charge, JetCorrector::correction(), mitigatedMETSequence_cff::corrector, reco::deltaR(), boostedElectronIsolation_cff::deltaR, diElecLogged_, diElecPaths_, diMuonLogged_, diMuonPaths_, MillePedeFileConverter_cfg::e, eidPattern_, elecIso_, elecMuLogged_, elecMuPaths_, PatTopSelectionAnalyzer_cfi::elecs, elecs_, elecSelect_, electronId_, electronIds_, electronRefs_, reco::LeafCandidate::et(), PVValHelper::eta, edm::Event::eventAuxiliary(), trigger::TriggerEventWithRefs::filterIndex(), edm::EventSetup::find(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), trigger::TriggerEventWithRefs::getObjects(), hasRawTriggerSummary, hists_, mps_fire::i, training_settings::idx, edm::HLTGlobalStatus::index(), createfilelist::int, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), metsig::jet, jetCorrector_, jetIDLabel_, jetIDSelect_, fwrapper::jets, jets_, jetSelect_, gen::k, WDecay::kElec, WDecay::kMuon, checklumidiff::l, lowerEdge_, ResonanceBuilder::mass, RazorAnalyzer::met, mets_, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), metsig::muon, muonIds_, muonIso_, muonRefs_, extraflags_cff::muons, muons_, muonSelect_, dataset::name, custom_jme_cff::nElectrons, custom_jme_cff::nMuons, muon::overlap(), processName_, EnergyCorrector::pt, edm::EventAuxiliary::run(), reco::Jet::scaleEnergy(), triggerObjects_cff::sel, findQualityFiles::size, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), triggerSummaryTokenAOD, triggerSummaryTokenRAW, triggerTable_, and upperEdge_.
Referenced by fill(), and selectionPath().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 200 of file TopDiLeptonHLTOfflineDQM.h.
References acceptHLT(), fill(), training_settings::idx, and monitorPath().
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 84 of file TopDiLeptonHLTOfflineDQM.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 86 of file TopDiLeptonHLTOfflineDQM.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 88 of file TopDiLeptonHLTOfflineDQM.h.
|
inlineprivate |
set labels for event logging histograms
Definition at line 165 of file TopDiLeptonHLTOfflineDQM.h.
References create_public_lumi_plots::hist, and hists_.
Referenced by book(), and selectionPath().
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 69 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 72 of file TopDiLeptonHLTOfflineDQM.h.
References fill(), create_public_lumi_plots::hist, tablePrinter::labels, loggerBinLabels(), AlCaHLTBitMon_QueryRunRegistry::string, and triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 192 of file TopDiLeptonHLTOfflineDQM.h.
References hists_, training_settings::idx, and monitorPath().
Referenced by book(), and selectionPath().
|
private |
Definition at line 152 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
trigger paths for di electron channel
Definition at line 114 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by book(), fill(), and MonitorDiLepton().
|
private |
Definition at line 152 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
trigger paths for di muon channel
Definition at line 112 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by book(), fill(), and MonitorDiLepton().
|
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 128 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
extra isolation criterion on electron
Definition at line 130 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
number of logged interesting events
Definition at line 152 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 110 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by book(), fill(), and MonitorDiLepton().
|
private |
input sources for monitoring
Definition at line 95 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
extra selection on electrons
Definition at line 132 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
electronId label
Definition at line 117 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 158 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 159 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 88 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by book(), and MonitorDiLepton().
|
private |
Definition at line 106 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
histogram container
Definition at line 154 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by book(), booked(), fill(), loggerBinLabels(), and triggerBinLabels().
|
private |
jetCorrector
Definition at line 140 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
jetID as an extra selection type
Definition at line 142 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
extra jetID selection on calo jets
Definition at line 144 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 97 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
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 147 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
instance label
Definition at line 93 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), book(), and Mixins._Labelable::setLabel().
|
private |
mass window upper and lower edge
Definition at line 149 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
considers a vector of METs
Definition at line 99 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 160 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
extra isolation criterion on muon
Definition at line 135 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 161 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 96 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
extra selection on muons
Definition at line 137 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
hlt objects
Definition at line 157 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 105 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 104 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
trigger table
Definition at line 102 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().
|
private |
Definition at line 149 of file TopDiLeptonHLTOfflineDQM.h.
Referenced by fill(), and MonitorDiLepton().