#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, const edm::VParameterSet &vcfg, 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 28 of file SingleTopTChannelLeptonDQM_miniAOD.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 31 of file SingleTopTChannelLeptonDQM_miniAOD.h.
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
const edm::VParameterSet & | vcfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 25 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References DEBUG, directory_, eidCutValue_, elecIso, elecIso_, elecs_gsf_, elecSelect, elecSelect_, electronId_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), jetCorrector_, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, mets_, TtFullHadSignalSelMVATrainTreeSaver_cff::monitoring, muonIso, muonIso_, muons_, muonSelect, muonSelect_, pvs_, pvSelect_, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, triggerPaths_, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
default destructor
Definition at line 42 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References book(), fill(), and GeneralSetup::setup().
void MonitorEnsemble::book | ( | DQMStore::IBooker & | ibooker | ) |
book histograms in subdirectory directory
Definition at line 184 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), directory_, hists_, label_, DQMStore::IBooker::setCurrentFolder(), STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, triggerBinLabels(), triggerPaths_, VERBOSE, and verbosity_.
Referenced by ~MonitorEnsemble().
|
inlineprivate |
check if histogram was booked
Definition at line 69 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 395 of file SingleTopTChannelLeptonDQM_miniAOD.cc.
References funct::abs(), pat::Jet::bDiscriminator(), MillePedeFileConverter_cfg::e, elecIso, elecs_gsf_, elecSelect, reco::LeafCandidate::eta(), edm::EventAuxiliary::event(), edm::Event::eventAuxiliary(), edm::Event::getByToken(), hists_, training_settings::idx, edm::EDGetTokenT< T >::isUninitialized(), metsig::jet, fwrapper::jets, jets_, jetSelect_, jetSelectJet, logged_, lowerEdge_, edm::EventAuxiliary::luminosityBlock(), hpstanc_transforms::max, RazorAnalyzer::met, mets_, RPCpg::mu, metsig::muon, muonIso, electronCleaner_cfi::muons, muons_, muonSelect, EnergyCorrector::pt, reco::LeafCandidate::pt(), MetAnalyzer::pv(), pvs_, pvSelect_, edm::EventAuxiliary::run(), triggerPaths_, triggerTable_, upperEdge_, and pseudoTop_cfi::wMass.
Referenced by fill(), selectionPath(), and ~MonitorEnsemble().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 192 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References accept(), fill(), hists_, training_settings::idx, monitorPath(), and selectionPath().
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 73 of file SingleTopTChannelLeptonDQM_miniAOD.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 SingleTopTChannelLeptonDQM_miniAOD.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 83 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 52 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 57 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References fill(), tablePrinter::labels, AlCaHLTBitMon_QueryRunRegistry::string, and triggerBinLabels().
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 180 of file SingleTopTChannelLeptonDQM_miniAOD.h.
References hists_, training_settings::idx, monitorPath(), and selectionPath().
Referenced by book(), and selectionPath().
|
private |
Definition at line 150 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 154 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
btag discriminator labels
Definition at line 150 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
btag working points
Definition at line 154 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 150 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 154 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 150 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 154 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 165 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), and MonitorEnsemble().
|
private |
Definition at line 119 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 175 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on electron
Definition at line 121 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 101 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 100 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 174 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on electrons
Definition at line 123 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
electronId label
Definition at line 116 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
storage manager histogram container
Definition at line 162 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 147 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
jetCorrector
Definition at line 135 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
jetID as an extra selection type
Definition at line 137 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
extra jetID selection on calo jets
Definition at line 140 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 98 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 144 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 170 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
Definition at line 172 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill().
|
private |
Definition at line 171 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
instance label
Definition at line 93 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), book(), and Mixins._Labelable::setLabel().
|
private |
number of logged interesting events
Definition at line 159 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill().
|
private |
mass window upper and lower edge
Definition at line 156 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 95 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 168 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on muon
Definition at line 130 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 99 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 167 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on muons
Definition at line 132 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 102 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 127 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 163 of file SingleTopTChannelLeptonDQM_miniAOD.h.
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 112 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
private |
trigger table
Definition at line 108 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 156 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
verbosity level for booking
Definition at line 87 of file SingleTopTChannelLeptonDQM_miniAOD.h.
Referenced by book(), and MonitorEnsemble().