#include <SingleTopTChannelLeptonDQM.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 55 of file SingleTopTChannelLeptonDQM.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 58 of file SingleTopTChannelLeptonDQM.h.
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
const edm::VParameterSet & | vcfg, | ||
edm::ConsumesCollector && | iC | ||
) |
default contructor
Definition at line 26 of file SingleTopTChannelLeptonDQM.cc.
References btagCSV_, btagCSVWP_, DEBUG, directory_, eidCutValue_, elecs_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), includeBTag_, jetCorrector_, jetIDLabel_, jetIDSelect_, jetlooseSelection_, jets_, jetSelect_, jetSelection_, lowerEdge_, mets_, muonIso_, muons_, muonSelect_, pvs_, pvSelect_, rhoTag, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, triggerPaths_, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
void MonitorEnsemble::book | ( | DQMStore::IBooker & | ibooker | ) |
book histograms in subdirectory directory
Definition at line 178 of file SingleTopTChannelLeptonDQM.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 91 of file SingleTopTChannelLeptonDQM.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 309 of file SingleTopTChannelLeptonDQM.cc.
References funct::abs(), btagCSV_, btagCSVWP_, JetCorrector::correction(), pfClustersFromHGC3DClusters_cfi::corrector, alignCSCRings::e, eidCutValue_, elecs_, elecSelect_, electronId_, reco::LeafCandidate::eta(), edm::EventAuxiliary::event(), edm::Event::eventAuxiliary(), edm::EventSetup::find(), edm::Event::getByToken(), edm::EventSetup::getData(), edm::ESGetToken< T, R >::hasValidIndex(), hists_, includeBTag_, edm::ESGetToken< T, R >::isInitialized(), edm::EDGetTokenT< T >::isUninitialized(), edm::HandleBase::isValid(), metsig::jet, jetCorrector_, jetlooseSelection_, fwrapper::jets, jets_, jetSelection_, logged_, lowerEdge_, edm::EventAuxiliary::luminosityBlock(), Calculate::massTopQuark(), Calculate::massWBoson(), SiStripPI::max, SingleTopTChannelLepton::MAXJETS, objects.METAnalyzer::met, mets_, RPCpg::mu, VarParsing::mult, HLT_FULL_cff::muon, patZpeak::muons, muons_, muonSelect_, reco::Vertex::position(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), MetAnalyzer::pv(), pvs_, pvSelect_, rhoTag, edm::EventAuxiliary::run(), reco::Jet::scaleEnergy(), EgammaValidation_Wenu_cff::sel, Calculate::tmassTopQuark(), Calculate::tmassWBoson(), triggerPaths_, triggerTable_, upperEdge_, trackerHitRTTI::vector, and SingleTopTChannelLepton::WMASS.
Referenced by fill().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 213 of file SingleTopTChannelLeptonDQM.h.
References accept(), fill(), hists_, monitorPath(), selectionPath(), and relativeConstraints::value.
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 93 of file SingleTopTChannelLeptonDQM.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 98 of file SingleTopTChannelLeptonDQM.h.
References booked(), and hists_.
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 103 of file SingleTopTChannelLeptonDQM.h.
References booked(), and hists_.
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 77 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 80 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 205 of file SingleTopTChannelLeptonDQM.h.
References hists_, monitorPath(), and selectionPath().
Referenced by book().
|
private |
Definition at line 182 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 185 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 182 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 185 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
btag discriminator labels
Definition at line 182 of file SingleTopTChannelLeptonDQM.h.
|
private |
btag working points
Definition at line 185 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 182 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 185 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 182 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 185 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 196 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), 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 149 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 202 of file SingleTopTChannelLeptonDQM.h.
|
private |
extra isolation criterion on electron
Definition at line 151 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 120 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 119 of file SingleTopTChannelLeptonDQM.h.
|
private |
Definition at line 201 of file SingleTopTChannelLeptonDQM.h.
|
private |
extra selection on electrons
Definition at line 153 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
electronId label
Definition at line 135 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
storage manager histogram container
Definition at line 193 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), booked(), fill(), and triggerBinLabels().
|
private |
include btag information or not to be determined from the cfg
Definition at line 179 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
jetCorrector
Definition at line 166 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
jetID as an extra selection type
Definition at line 168 of file SingleTopTChannelLeptonDQM.h.
Referenced by MonitorEnsemble().
|
private |
extra jetID selection on calo jets
Definition at line 171 of file SingleTopTChannelLeptonDQM.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 172 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 117 of file SingleTopTChannelLeptonDQM.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 176 of file SingleTopTChannelLeptonDQM.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 173 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
instance label
Definition at line 112 of file SingleTopTChannelLeptonDQM.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), book(), and Mixins._Labelable::setLabel().
|
private |
number of logged interesting events
Definition at line 190 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill().
|
private |
mass window upper and lower edge
Definition at line 187 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 114 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 199 of file SingleTopTChannelLeptonDQM.h.
|
private |
extra isolation criterion on muon
Definition at line 161 of file SingleTopTChannelLeptonDQM.h.
Referenced by MonitorEnsemble().
|
private |
Definition at line 118 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 198 of file SingleTopTChannelLeptonDQM.h.
|
private |
extra selection on muons
Definition at line 164 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 121 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on primary vertices; meant to investigate the pile-up effect
Definition at line 158 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 154 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 194 of file SingleTopTChannelLeptonDQM.h.
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 131 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
private |
trigger table
Definition at line 127 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 187 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
verbosity level for booking
Definition at line 106 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), and MonitorEnsemble().