#include <SingleTopTChannelLeptonDQM_miniAOD.h>
Public Types | |
enum | Level { STANDARD, VERBOSE, DEBUG } |
different verbosity levels More... | |
Public Member Functions | |
void | book (DQMStore::IBooker &ibooker) |
book histograms in subdirectory directory More... | |
void | fill (const edm::Event &event, const edm::EventSetup &setup) |
fill monitor histograms with electronId and jetCorrections More... | |
MonitorEnsemble (const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
default contructor More... | |
~MonitorEnsemble () | |
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 29 of file SingleTopTChannelLeptonDQM_miniAOD.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 32 of file SingleTopTChannelLeptonDQM_miniAOD.h.
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 29 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References looper::cfg, DEBUG, directory_, eidCutValue_, singleTopDQM_cfi::elecExtras, elecIso_, elecs_, elecSelect_, electronId_, edm::ParameterSet::getParameter(), singleTopDQM_cfi::jetExtras, jetIDLabel_, jetIDSelect_, jets_, jetSelect, jetSelect_, lowerEdge_, singleTopDQM_cfi::massExtras, mets_, singleTopDQM_cfi::monitoring, singleTopDQM_cfi::muonExtras, muonIso_, muons_, muonSelect_, singleTopDQM_cfi::pvExtras, pvs_, pvSelect_, rhoTag, CalibrationSummaryClient_cfi::sources, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, triggerPaths_, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
void MonitorEnsemble::book | ( | DQMStore::IBooker & | ibooker | ) |
book histograms in subdirectory directory
Definition at line 164 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), directory_, hists_, label_, dqm::implementation::NavigatorBase::setCurrentFolder(), STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, triggerBinLabels(), triggerPaths_, VERBOSE, and verbosity_.
|
inlineprivate |
check if histogram was booked
Definition at line 62 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References hists_.
Referenced by fill().
void MonitorEnsemble::fill | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) |
fill monitor histograms with electronId and jetCorrections
Definition at line 348 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References funct::abs(), pat::Jet::bDiscriminator(), pat::Jet::chargedEmEnergyFraction(), pat::Jet::chargedHadronEnergyFraction(), pat::Jet::chargedMultiplicity(), MillePedeFileConverter_cfg::e, singleTopDQM_cfi::elecs, elecs_, elecSelect_, topSingleLeptonDQM_PU_cfi::electronId, electronId_, reco::LeafCandidate::eta(), dqmMemoryStats::float, hists_, heavyIonCSV_trainingSettings::idx, edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), metsig::jet, PDWG_EXODelayedJetMET_cff::jets, jets_, jetSelect, jetSelect_, logged_, lowerEdge_, Calculate_miniAOD::massTopQuark(), Calculate_miniAOD::massWBoson(), SiStripPI::max, SingleTopTChannelLepton_miniAOD::MAXJETS, BTaggingMonitor_cfi::met, mets_, amptDefaultParameters_cff::mu, VarParsing::mult, HLT_2022v15_cff::muon, PDWG_BPHSkim_cff::muons, muons_, muonSelect_, pat::Jet::neutralEmEnergyFraction(), pat::Jet::neutralHadronEnergyFraction(), pat::Jet::neutralMultiplicity(), reco::Vertex::position(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), MetAnalyzer::pv(), FSQDQM_cfi::pvs, pvs_, rhoTag, EgammaValidation_Wenu_cff::sel, Calculate_miniAOD::tmassTopQuark(), Calculate_miniAOD::tmassWBoson(), triggerPaths_, triggerTable_, upperEdge_, trackerHitRTTI::vector, pseudoTop_cfi::wMass, and SingleTopTChannelLepton_miniAOD::WMASS.
Referenced by fill().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 153 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References accept(), fill(), hists_, heavyIonCSV_trainingSettings::idx, SummaryClient_cfi::labels, monitorPath(), and selectionPath().
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 64 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 69 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 74 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References booked(), and hists_.
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 48 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References label.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 51 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References label.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 145 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References hists_, heavyIonCSV_trainingSettings::idx, SummaryClient_cfi::labels, monitorPath(), and selectionPath().
Referenced by book().
|
private |
Definition at line 130 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 132 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
btag discriminator labels
Definition at line 130 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
btag working points
Definition at line 132 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 130 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 132 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 130 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 132 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 142 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), and MonitorEnsemble().
|
private |
Definition at line 102 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
extra isolation criterion on electron
Definition at line 104 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 89 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on electrons
Definition at line 106 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
electronId label
Definition at line 100 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
histogram container
Definition at line 140 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), booked(), fill(), and triggerBinLabels().
|
private |
include btag information or not to be determined from the cfg
Definition at line 128 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
jetID as an extra selection type
Definition at line 119 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
extra jetID selection on calo jets
Definition at line 121 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 87 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 125 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
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 124 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
instance label
Definition at line 83 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), book(), and Mixins._Labelable::setLabel().
|
private |
number of logged interesting events
Definition at line 137 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill().
|
private |
mass window upper and lower edge
Definition at line 134 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 85 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on muon
Definition at line 113 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 88 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on muons
Definition at line 116 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 90 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on primary vertices; meant to investigate the pile-up effect
Definition at line 110 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 97 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 141 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 95 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
private |
trigger table
Definition at line 92 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 134 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
verbosity level for booking
Definition at line 77 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), and MonitorEnsemble().