#include <SingleTopTChannelLeptonDQM.h>
Public Types | |
enum | Level { STANDARD, VERBOSE, DEBUG } |
different verbosity levels More... | |
Public Member Functions | |
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... | |
MonitorEnsemble (const char *label, const edm::ParameterSet &cfg, const edm::VParameterSet &vcfg) | |
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... | |
Private Attributes | |
edm::InputTag | btagCombVtx_ |
double | btagCombVtxWP_ |
edm::InputTag | btagEff_ |
btag discriminator labels More... | |
double | btagEffWP_ |
btag working points More... | |
edm::InputTag | btagPur_ |
double | btagPurWP_ |
edm::InputTag | btagVtx_ |
double | btagVtxWP_ |
int | eidPattern_ |
std::string | elecIso_ |
extra isolation criterion on electron More... | |
edm::InputTag | elecs_ |
input sources for monitoring More... | |
edm::InputTag | elecs_gsf_ |
std::string | elecSelect_ |
extra selection on electrons More... | |
edm::InputTag | electronId_ |
electronId label More... | |
std::map< std::string, MonitorElement * > | hists_ |
histogram container More... | |
bool | includeBTag_ |
std::string | jetCorrector_ |
jetCorrector More... | |
edm::InputTag | jetIDLabel_ |
jetID as an extra selection type More... | |
StringCutObjectSelector < reco::JetID > * | jetIDSelect_ |
extra jetID selection on calo jets More... | |
edm::InputTag | jets_ |
std::string | jetSelect_ |
std::string | label_ |
instance label More... | |
int | logged_ |
number of logged interesting events More... | |
double | lowerEdge_ |
mass window upper and lower edge More... | |
std::vector< edm::InputTag > | mets_ |
considers a vector of METs More... | |
std::string | muonIso_ |
extra isolation criterion on muon More... | |
edm::InputTag | muons_ |
edm::InputTag | muons_reco_ |
std::string | muonSelect_ |
extra selection on muons More... | |
edm::InputTag | pvs_ |
StringCutObjectSelector < reco::Vertex > * | pvSelect_ |
extra selection on primary vertices; meant to investigate the pile-up effect More... | |
DQMStore * | store_ |
storage manager More... | |
std::vector< std::string > | triggerPaths_ |
edm::InputTag | triggerTable_ |
trigger table More... | |
double | upperEdge_ |
Level | verbosity_ |
verbosity level for booking More... | |
Definition at line 39 of file SingleTopTChannelLeptonDQM.h.
different verbosity levels
Enumerator | |
---|---|
STANDARD | |
VERBOSE | |
DEBUG |
Definition at line 42 of file SingleTopTChannelLeptonDQM.h.
MonitorEnsemble::MonitorEnsemble | ( | const char * | label, |
const edm::ParameterSet & | cfg, | ||
const edm::VParameterSet & | vcfg | ||
) |
default contructor
Definition at line 22 of file SingleTopTChannelLeptonDQM.cc.
References book(), btagCombVtx_, btagCombVtxWP_, btagEff_, btagEffWP_, btagPur_, btagPurWP_, btagVtx_, btagVtxWP_, DEBUG, eidPattern_, elecIso_, elecs_, elecs_gsf_, elecSelect_, electronId_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), includeBTag_, jetCorrector_, bTagSequences_cff::jetID, jetIDLabel_, jetIDSelect_, jets_, jetSelect_, lowerEdge_, mets_, muonIso_, muons_, muonSelect_, pvs_, pvSelect_, STANDARD, AlCaHLTBitMon_QueryRunRegistry::string, triggerPaths_, triggerTable_, upperEdge_, VERBOSE, and verbosity_.
|
inline |
void MonitorEnsemble::book | ( | std::string | directory | ) |
book histograms in subdirectory directory
Definition at line 160 of file SingleTopTChannelLeptonDQM.cc.
References DQMStore::book1D(), DQMStore::book2D(), cond::rpcobimon::current, hists_, label_, cppFunctionSkipper::operator, DQMStore::setCurrentFolder(), STANDARD, store_, AlCaHLTBitMon_QueryRunRegistry::string, triggerBinLabels(), triggerPaths_, VERBOSE, and verbosity_.
Referenced by MonitorEnsemble().
|
inlineprivate |
check if histogram was booked
Definition at line 69 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 345 of file SingleTopTChannelLeptonDQM.cc.
References funct::abs(), SiPixelRawToDigiRegional_cfi::beamSpot, btagCombVtx_, btagCombVtxWP_, btagEff_, btagEffWP_, btagPur_, btagPurWP_, btagVtx_, btagVtxWP_, JetCorrector::correction(), alignCSCRings::e, eidPattern_, elecIso_, elecs_, elecs_gsf_, elecSelect_, electronId_, reco::LeafCandidate::eta(), edm::EventAuxiliary::event(), edm::Event::eventAuxiliary(), edm::EventSetup::find(), edm::Event::getByLabel(), JetCorrector::getJetCorrector(), hists_, customizeTrackingMonitorSeedNumber::idx, includeBTag_, edm::Ref< C, T, F >::isNull(), metsig::jet, jetCorrector_, bTagSequences_cff::jetID, jetIDLabel_, jetIDSelect_, fwrapper::jets, jets_, jetSelect_, edm::InputTag::label(), logged_, lowerEdge_, edm::EventAuxiliary::luminosityBlock(), Calculate::massTopQuark(), Calculate::massWBoson(), SingleTopTChannelLepton::MAXJETS, CaloMET_cfi::met, mets_, RPCpg::mu, VarParsing::mult, metsig::muon, muonIso_, patZpeak::muons, muons_, muonSelect_, RecoTauCleanerPlugins::pt, reco::LeafCandidate::pt(), pvs_, pvSelect_, edm::EventAuxiliary::run(), reco::Jet::scaleEnergy(), EgammaValidation_Wenu_cff::sel, Calculate::tmassTopQuark(), Calculate::tmassWBoson(), triggerPaths_, triggerTable_, upperEdge_, and SingleTopTChannelLepton::WMASS.
Referenced by fill().
|
inlineprivate |
fill trigger monitoring histograms
Definition at line 160 of file SingleTopTChannelLeptonDQM.h.
References accept(), fill(), hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), selectionPath(), and relativeConstraints::value.
|
inlineprivate |
fill histogram if it had been booked before
Definition at line 71 of file SingleTopTChannelLeptonDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 73 of file SingleTopTChannelLeptonDQM.h.
References booked(), hists_, and edm::second().
|
inlineprivate |
fill histogram if it had been booked before (2-dim version)
Definition at line 75 of file SingleTopTChannelLeptonDQM.h.
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 58 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 61 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 151 of file SingleTopTChannelLeptonDQM.h.
References hists_, customizeTrackingMonitorSeedNumber::idx, monitorPath(), and selectionPath().
Referenced by book().
|
private |
Definition at line 136 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 138 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
btag discriminator labels
Definition at line 136 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
btag working points
Definition at line 138 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 136 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 138 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 136 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 138 of file SingleTopTChannelLeptonDQM.h.
Referenced by 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 105 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on electron
Definition at line 108 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
input sources for monitoring
Definition at line 85 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 85 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra selection on electrons
Definition at line 111 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
electronId label
Definition at line 94 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
histogram container
Definition at line 147 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 134 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
jetCorrector
Definition at line 124 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
jetID as an extra selection type
Definition at line 126 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra jetID selection on calo jets
Definition at line 128 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 85 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 131 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
instance label
Definition at line 81 of file SingleTopTChannelLeptonDQM.h.
Referenced by Mixins._Labelable::_findDependencies(), book(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
number of logged interesting events
Definition at line 143 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill().
|
private |
mass window upper and lower edge
Definition at line 140 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
considers a vector of METs
Definition at line 83 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
extra isolation criterion on muon
Definition at line 118 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 85 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 85 of file SingleTopTChannelLeptonDQM.h.
|
private |
extra selection on muons
Definition at line 121 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 85 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 114 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
|
private |
trigger paths for monitoring, expected to be of form signalPath:MonitorPath
Definition at line 91 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), fill(), and MonitorEnsemble().
|
private |
trigger table
Definition at line 88 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
Definition at line 140 of file SingleTopTChannelLeptonDQM.h.
Referenced by fill(), and MonitorEnsemble().
|
private |
verbosity level for booking
Definition at line 75 of file SingleTopTChannelLeptonDQM.h.
Referenced by book(), and MonitorEnsemble().