#include <TopDiLeptonOfflineDQM.h>
Public Types | |
enum | DecayChannel { NONE, DIMUON, DIELEC, ELECMU, NONE, DIMUON, DIELEC, ELECMU } |
different decay channels More... | |
enum | DecayChannel { NONE, DIMUON, DIELEC, ELECMU, NONE, DIMUON, DIELEC, ELECMU } |
different decay channels More... | |
enum | Level { STANDARD, VERBOSE, DEBUG, STANDARD, VERBOSE, DEBUG } |
different verbosity levels More... | |
enum | Level { STANDARD, VERBOSE, DEBUG, STANDARD, VERBOSE, DEBUG } |
different verbosity levels More... | |
typedef reco::LeafCandidate::LorentzVector | LorentzVector |
typedef reco::LeafCandidate::LorentzVector | LorentzVector |
Public Member Functions | |
void | book (std::string directory) |
book histograms in subdirectory directory More... | |
void | book (std::string directory) |
book histograms in subdirectory directory More... | |
void | fill (const edm::Event &event, const edm::EventSetup &setup) |
fill monitor histograms with electronId and jetCorrections More... | |
void | fill (const edm::Event &event, const edm::EventSetup &setup, edm::Handle< edm::TriggerResults > triggerTable, edm::Handle< edm::View< reco::Muon > > muons, edm::Handle< edm::ValueMap< float > > electronId, edm::Handle< edm::View< reco::GsfElectron > > elecs, edm::Handle< edm::View< reco::Jet > > jets, edm::Handle< reco::JetIDValueMap > jetID, std::vector< edm::Handle< edm::View< reco::MET > > > mets) |
fill monitor histograms with electronId and jetCorrections More... | |
MonitorEnsemble (const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default contructor More... | |
MonitorEnsemble (const char *label, const edm::ParameterSet &cfg) | |
default contructor More... | |
~MonitorEnsemble () | |
default destructor More... | |
~MonitorEnsemble () | |
default destructor More... | |
Private Member Functions | |
bool | booked (const std::string histName) const |
check if histogram was booked More... | |
bool | booked (const std::string histName) const |
check if histogram was booked More... | |
DecayChannel | decayChannel (const std::vector< const reco::Muon * > &muons, const std::vector< const reco::GsfElectron * > &elecs) const |
determine dileptonic decay channel More... | |
DecayChannel | decayChannel (const std::vector< const reco::Muon * > &muons, const std::vector< const reco::GsfElectron * > &elecs) const |
determine dileptonic decay channel 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 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 value) const |
fill histogram if it had been booked before 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 | 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 (std::string hist) |
set labels for event logging histograms More... | |
void | loggerBinLabels (std::string hist) |
set labels for event logging histograms More... | |
std::string | monitorPath (const std::string &label) const |
std::string | monitorPath (const std::string &label) const |
std::string | selectionPath (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... | |
void | triggerBinLabels (std::string channel, const std::vector< std::string > &labels) |
set configurable labels for trigger monitoring histograms More... | |
Definition at line 41 of file TopDiLeptonOfflineDQM.h.
make clear which LorentzVector to use for jet, electrons and muon buffering
Definition at line 47 of file TopDiLeptonOfflineDQM.h.
make clear which LorentzVector to use for jet, electrons and muon buffering
Definition at line 51 of file TopHLTDiLeptonOfflineDQM.h.
different decay channels
Enumerator | |
---|---|
NONE | |
DIMUON | |
DIELEC | |
ELECMU | |
NONE | |
DIMUON | |
DIELEC | |
ELECMU |
Definition at line 49 of file TopDiLeptonOfflineDQM.h.
different decay channels
Enumerator | |
---|---|
NONE | |
DIMUON | |
DIELEC | |
ELECMU | |
NONE | |
DIMUON | |
DIELEC | |
ELECMU |
Definition at line 53 of file TopHLTDiLeptonOfflineDQM.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG | |
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 44 of file TopDiLeptonOfflineDQM.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG | |
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 48 of file TopHLTDiLeptonOfflineDQM.h.
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 13 of file TopDiLeptonOfflineDQM.cc.
References book(), DEBUG, diMuonPaths_, eidPattern_, elecIso_, elecMuPaths_, elecs_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), jetCorrector_, bTagSequences_cff::jetID, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, mets_, muonIso_, muons_, muonSelect_, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg | ||
) |
default contructor
Definition at line 13 of file TopHLTDiLeptonOfflineDQM.cc.
References book(), DEBUG, diMuonPaths_, eidPattern_, elecIso_, elecMuPaths_, elecs_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), jetCorrector_, bTagSequences_cff::jetID, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, mets_, muonIso_, muons_, muonSelect_, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
void MonitorEnsemble::book | ( | std::string | directory | ) |
book histograms in subdirectory directory
Definition at line 116 of file TopDiLeptonOfflineDQM.cc.
References DQMStore::book1D(), DQMStore::book2D(), cond::rpcobimon::current, diMuonPaths_, elecMuPaths_, hists_, label_, loggerBinLabels(), cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), STANDARD, store_, AlCaHLTBitMon_QueryRunRegistry::string, triggerBinLabels(), VERBOSE, and verbosity_.
Referenced by MonitorEnsemble().
void TopDiLeptonOffline::MonitorEnsemble::book | ( | std::string | directory | ) |
book histograms in subdirectory directory
|
inlineprivate |
check if histogram was booked
Definition at line 81 of file TopDiLeptonOfflineDQM.h.
References hists_.
Referenced by fill().
|
inlineprivate |
check if histogram was booked
Definition at line 85 of file TopHLTDiLeptonOfflineDQM.h.
References hists_.
|
inlineprivate |
determine dileptonic decay channel
Definition at line 209 of file TopDiLeptonOfflineDQM.h.
References DIELEC, DIMUON, ELECMU, and NONE.
Referenced by fill().
|
private |
determine dileptonic decay channel
void MonitorEnsemble::fill | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
fill monitor histograms with electronId and jetCorrections
Definition at line 256 of file TopDiLeptonOfflineDQM.cc.
References DeDxDiscriminatorTools::charge(), decayChannel(), reco::deltaPhi(), reco::deltaR(), DIELEC, diElecLogged_, DIMUON, diMuonLogged_, diMuonPaths_, eidPattern_, elecIso_, ELECMU, elecMuLogged_, elecMuPaths_, elecs_, elecSelect_, electronId_, reco::LeafCandidate::et(), eta(), edm::EventAuxiliary::event(), edm::Event::eventAuxiliary(), edm::EventSetup::find(), edm::Event::getByToken(), JetCorrector::getJetCorrector(), hists_, customizeTrackingMonitorSeedNumber::idx, edm::EDGetTokenT< T >::isUninitialized(), metsig::jet, jetCorrector_, bTagSequences_cff::jetID, jetIDLabel_, jetIDSelect_, fwrapper::jets, jets_, jetSelect_, lowerEdge_, edm::EventAuxiliary::luminosityBlock(), CaloMET_cfi::met, mets_, VarParsing::mult, metsig::muon, muonIso_, patZpeak::muons, muons_, muonSelect_, muon::overlap(), phi, RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), edm::EventAuxiliary::run(), reco::Jet::scaleEnergy(), EgammaValidation_Wenu_cff::sel, triggerTable_, and upperEdge_.
Referenced by fill().
void MonitorEnsemble::fill | ( | const edm::Event & | event, |
const edm::EventSetup & | setup, | ||
edm::Handle< edm::TriggerResults > | triggerTable, | ||
edm::Handle< edm::View< reco::Muon > > | muons, | ||
edm::Handle< edm::ValueMap< float > > | electronId, | ||
edm::Handle< edm::View< reco::GsfElectron > > | elecs, | ||
edm::Handle< edm::View< reco::Jet > > | jets, | ||
edm::Handle< reco::JetIDValueMap > | jetID, | ||
std::vector< edm::Handle< edm::View< reco::MET > > > | mets | ||
) |
fill monitor histograms with electronId and jetCorrections
Definition at line 255 of file TopHLTDiLeptonOfflineDQM.cc.
References DeDxDiscriminatorTools::charge(), decayChannel(), reco::deltaPhi(), reco::deltaR(), DIELEC, diElecLogged_, DIMUON, diMuonLogged_, diMuonPaths_, eidPattern_, elecIso_, ELECMU, elecMuLogged_, elecMuPaths_, elecSelect_, electronId_, reco::LeafCandidate::et(), eta(), edm::EventAuxiliary::event(), edm::Event::eventAuxiliary(), fill(), edm::EventSetup::find(), JetCorrector::getJetCorrector(), hists_, i, customizeTrackingMonitorSeedNumber::idx, edm::HandleBase::isValid(), metsig::jet, jetCorrector_, jetIDSelect_, fwrapper::jets, jetSelect_, lowerEdge_, edm::EventAuxiliary::luminosityBlock(), CaloMET_cfi::met, VarParsing::mult, metsig::muon, muonIso_, patZpeak::muons, muonSelect_, muon::overlap(), phi, RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), edm::EventAuxiliary::run(), reco::Jet::scaleEnergy(), EgammaValidation_Wenu_cff::sel, triggerTable_, and upperEdge_.
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 195 of file TopDiLeptonOfflineDQM.h.
References accept(), fill(), hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), selectionPath(), and relativeConstraints::value.
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 192 of file TopHLTDiLeptonOfflineDQM.h.
References acceptHLT(), fill(), hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), selectionPath(), and relativeConstraints::value.
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 83 of file TopDiLeptonOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 85 of file TopDiLeptonOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 87 of file TopHLTDiLeptonOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 87 of file TopDiLeptonOfflineDQM.h.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 89 of file TopHLTDiLeptonOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 91 of file TopHLTDiLeptonOfflineDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
set labels for event logging histograms
Definition at line 159 of file TopDiLeptonOfflineDQM.h.
References hists_.
Referenced by book().
|
private |
set labels for event logging histograms
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 66 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 70 of file TopHLTDiLeptonOfflineDQM.h.
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 69 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 73 of file TopHLTDiLeptonOfflineDQM.h.
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 186 of file TopDiLeptonOfflineDQM.h.
References hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), and selectionPath().
Referenced by book().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 183 of file TopHLTDiLeptonOfflineDQM.h.
References hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), and selectionPath().
|
private |
Definition at line 151 of file TopDiLeptonOfflineDQM.h.
Referenced by fill().
|
private |
Definition at line 151 of file TopDiLeptonOfflineDQM.h.
Referenced by fill().
|
private |
trigger paths for di muon channel
Definition at line 111 of file TopDiLeptonOfflineDQM.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
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 126 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on electron
Definition at line 128 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
number of logged interesting events
Definition at line 151 of file TopDiLeptonOfflineDQM.h.
Referenced by fill().
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 109 of file TopDiLeptonOfflineDQM.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
private |
Definition at line 98 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 99 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
extra selection on electrons
Definition at line 130 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
electronId label
Definition at line 113 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
electronId label
Definition at line 115 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
histogram container
Definition at line 155 of file TopDiLeptonOfflineDQM.h.
Referenced by book(), booked(), fill(), loggerBinLabels(), and triggerBinLabels().
|
private |
jetCorrector
Definition at line 138 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
jetID as an extra selection type
Definition at line 138 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
jetID as an extra selection type
Definition at line 141 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra jetID selection on calo jets
Definition at line 143 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 96 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 99 of file TopHLTDiLeptonOfflineDQM.h.
|
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 146 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
instance label
Definition at line 93 of file TopDiLeptonOfflineDQM.h.
Referenced by Mixins._Labelable::_findDependencies(), book(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
mass window upper and lower edge
Definition at line 148 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 102 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 102 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
extra isolation criterion on muon
Definition at line 133 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 97 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 99 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
extra selection on muons
Definition at line 135 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
|
private |
trigger table
Definition at line 105 of file TopHLTDiLeptonOfflineDQM.h.
|
private |
trigger table
Definition at line 106 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 148 of file TopDiLeptonOfflineDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
verbosity level for booking
Definition at line 87 of file TopDiLeptonOfflineDQM.h.
Referenced by book(), and MonitorEnsemble().