CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HLTOfflineDQMTopSingleLepton::MonitorSingleLepton Class Reference

#include <TopSingleLeptonHLTOfflineDQM.h>

Public Member Functions

void book (DQMStore::IBooker &store_)
 book histograms in subdirectory directory More...
 
void fill (const edm::Event &event, const edm::EventSetup &setup, const HLTConfigProvider &hltConfig, const std::vector< std::string > triggerPaths)
 fill monitor histograms with electronId and jetCorrections More...
 
 MonitorSingleLepton (const char *label, const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)
 default contructor More...
 
 ~MonitorSingleLepton ()
 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::EDGetTokenT
< reco::JetTagCollection
btagEff_
 btag discriminator labels More...
 
double btagEffWP_
 btag working points More...
 
edm::EDGetTokenT
< reco::JetTagCollection
btagPur_
 
double btagPurWP_
 
edm::EDGetTokenT
< reco::JetTagCollection
btagVtx_
 
double btagVtxWP_
 
int eidPattern_
 
StringCutObjectSelector
< reco::GsfElectron > * 
elecIso_
 extra isolation criterion on electron More...
 
edm::EDGetTokenT< edm::View
< reco::GsfElectron > > 
elecs_
 input sources for monitoring More...
 
StringCutObjectSelector
< reco::GsfElectron > * 
elecSelect_
 extra selection on electrons More...
 
edm::EDGetTokenT
< edm::ValueMap< float > > 
electronId_
 electronId label More...
 
trigger::Vids electronIds_
 
trigger::VRelectron electronRefs_
 
std::string folder_
 
bool hasRawTriggerSummary
 
std::map< std::string,
MonitorElement * > 
hists_
 histogram container More...
 
bool includeBTag_
 
std::string jetCorrector_
 jetCorrector More...
 
edm::EDGetTokenT
< reco::JetIDValueMap
jetIDLabel_
 jetID as an extra selection type More...
 
StringCutObjectSelector
< reco::JetID > * 
jetIDSelect_
 extra jetID selection on calo jets More...
 
edm::EDGetTokenT< edm::View
< reco::Jet > > 
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::EDGetTokenT
< edm::View< reco::MET > > > 
mets_
 considers a vector of METs More...
 
trigger::Vids muonIds_
 
StringCutObjectSelector
< reco::Muon > * 
muonIso_
 extra isolation criterion on muon More...
 
trigger::VRmuon muonRefs_
 
edm::EDGetTokenT< edm::View
< reco::Muon > > 
muons_
 
StringCutObjectSelector
< reco::Muon > * 
muonSelect_
 extra selection on muons More...
 
trigger::Vids pfjetIds_
 
trigger::VRpfjet pfjetRefs_
 
std::string processName_
 hlt objects More...
 
edm::EDGetTokenT< edm::View
< reco::Vertex > > 
pvs_
 
StringCutObjectSelector
< reco::Vertex > * 
pvSelect_
 extra selection on primary vertices; meant to investigate the pile-up effect More...
 
std::vector< std::string > triggerPaths_
 
edm::EDGetTokenT
< trigger::TriggerEventWithRefs
triggerSummaryTokenAOD
 
edm::EDGetTokenT
< trigger::TriggerEventWithRefs
triggerSummaryTokenRAW
 
edm::EDGetTokenT
< edm::TriggerResults
triggerTable_
 trigger table More...
 
double upperEdge_
 

Detailed Description

Definition at line 46 of file TopSingleLeptonHLTOfflineDQM.h.

Constructor & Destructor Documentation

MonitorSingleLepton::MonitorSingleLepton ( const char *  label,
const edm::ParameterSet cfg,
edm::ConsumesCollector &&  iC 
)

default contructor

Definition at line 37 of file TopSingleLeptonHLTOfflineDQM.cc.

HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::~MonitorSingleLepton ( )
inline

default destructor

Definition at line 53 of file TopSingleLeptonHLTOfflineDQM.h.

Member Function Documentation

void MonitorSingleLepton::book ( DQMStore::IBooker store_)

book histograms in subdirectory directory

Definition at line 163 of file TopSingleLeptonHLTOfflineDQM.cc.

bool HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::booked ( const std::string  histName) const
inlineprivate

check if histogram was booked

Definition at line 74 of file TopSingleLeptonHLTOfflineDQM.h.

void MonitorSingleLepton::fill ( const edm::Event event,
const edm::EventSetup setup,
const HLTConfigProvider hltConfig,
const std::vector< std::string >  triggerPaths 
)

fill monitor histograms with electronId and jetCorrections

Definition at line 240 of file TopSingleLeptonHLTOfflineDQM.cc.

void MonitorSingleLepton::fill ( const edm::Event event,
const edm::TriggerResults triggerTable,
std::string  channel,
const std::vector< std::string > &  labels 
) const
inlineprivate

fill trigger monitoring histograms

Definition at line 177 of file TopSingleLeptonHLTOfflineDQM.h.

void HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill ( const std::string  histName,
double  value 
) const
inlineprivate

fill histogram if it had been booked before

Definition at line 76 of file TopSingleLeptonHLTOfflineDQM.h.

void HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill ( const std::string  histName,
double  xValue,
double  yValue 
) const
inlineprivate

fill histogram if it had been booked before (2-dim version)

Definition at line 78 of file TopSingleLeptonHLTOfflineDQM.h.

void HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::fill ( const std::string  histName,
double  xValue,
double  yValue,
double  zValue 
) const
inlineprivate

fill histogram if it had been booked before (2-dim version)

Definition at line 80 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::monitorPath ( const std::string &  label) const
inlineprivate

deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'

Definition at line 63 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::selectionPath ( const std::string &  label) const
inlineprivate

deduce selectionPath from label, the label is expected to be of type 'selectionPath:monitorPath'

Definition at line 66 of file TopSingleLeptonHLTOfflineDQM.h.

void MonitorSingleLepton::triggerBinLabels ( std::string  channel,
const std::vector< std::string > &  labels 
)
inlineprivate

set configurable labels for trigger monitoring histograms

Definition at line 169 of file TopSingleLeptonHLTOfflineDQM.h.

Member Data Documentation

edm::EDGetTokenT< reco::JetTagCollection > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagEff_
private

btag discriminator labels

Definition at line 145 of file TopSingleLeptonHLTOfflineDQM.h.

double HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagEffWP_
private

btag working points

Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< reco::JetTagCollection > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagPur_
private

Definition at line 146 of file TopSingleLeptonHLTOfflineDQM.h.

double HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagPurWP_
private

Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< reco::JetTagCollection > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagVtx_
private

Definition at line 147 of file TopSingleLeptonHLTOfflineDQM.h.

double HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::btagVtxWP_
private

Definition at line 149 of file TopSingleLeptonHLTOfflineDQM.h.

int HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::eidPattern_
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 118 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::GsfElectron>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::elecIso_
private

extra isolation criterion on electron

Definition at line 120 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::View<reco::GsfElectron> > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::elecs_
private

input sources for monitoring

Definition at line 89 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::GsfElectron>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::elecSelect_
private

extra selection on electrons

Definition at line 122 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::ValueMap<float> > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::electronId_
private

electronId label

Definition at line 107 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::Vids HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::electronIds_
private

Definition at line 160 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::VRelectron HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::electronRefs_
private

Definition at line 161 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::folder_
private

Definition at line 80 of file TopSingleLeptonHLTOfflineDQM.h.

bool HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::hasRawTriggerSummary
private

Definition at line 99 of file TopSingleLeptonHLTOfflineDQM.h.

std::map<std::string,MonitorElement*> HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::hists_
private

histogram container

Definition at line 156 of file TopSingleLeptonHLTOfflineDQM.h.

bool HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::includeBTag_
private

include btag information or not to be determined from the cfg

Definition at line 143 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::jetCorrector_
private

jetCorrector

Definition at line 133 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< reco::JetIDValueMap > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::jetIDLabel_
private

jetID as an extra selection type

Definition at line 135 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::JetID>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::jetIDSelect_
private

extra jetID selection on calo jets

Definition at line 137 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::View<reco::Jet> > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::jets_
private

Definition at line 91 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::jetSelect_
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 140 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::label_
private

instance label

Definition at line 85 of file TopSingleLeptonHLTOfflineDQM.h.

int HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::logged_
private

number of logged interesting events

Definition at line 154 of file TopSingleLeptonHLTOfflineDQM.h.

double HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::lowerEdge_
private

mass window upper and lower edge

Definition at line 151 of file TopSingleLeptonHLTOfflineDQM.h.

std::vector< edm::EDGetTokenT< edm::View<reco::MET> > > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::mets_
private

considers a vector of METs

Definition at line 87 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::Vids HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::muonIds_
private

Definition at line 162 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::Muon>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::muonIso_
private

extra isolation criterion on muon

Definition at line 128 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::VRmuon HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::muonRefs_
private

Definition at line 163 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::View<reco::Muon> > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::muons_
private

Definition at line 90 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::Muon>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::muonSelect_
private

extra selection on muons

Definition at line 130 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::Vids HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::pfjetIds_
private

Definition at line 164 of file TopSingleLeptonHLTOfflineDQM.h.

trigger::VRpfjet HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::pfjetRefs_
private

Definition at line 165 of file TopSingleLeptonHLTOfflineDQM.h.

std::string HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::processName_
private

hlt objects

Definition at line 159 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::View<reco::Vertex> > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::pvs_
private

Definition at line 92 of file TopSingleLeptonHLTOfflineDQM.h.

StringCutObjectSelector<reco::Vertex>* HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::pvSelect_
private

extra selection on primary vertices; meant to investigate the pile-up effect

Definition at line 125 of file TopSingleLeptonHLTOfflineDQM.h.

std::vector<std::string> HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::triggerPaths_
private

trigger paths for monitoring, expected to be of form signalPath:MonitorPath

Definition at line 104 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT<trigger::TriggerEventWithRefs> HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::triggerSummaryTokenAOD
private

Definition at line 98 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT<trigger::TriggerEventWithRefs> HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::triggerSummaryTokenRAW
private

Definition at line 97 of file TopSingleLeptonHLTOfflineDQM.h.

edm::EDGetTokenT< edm::TriggerResults > HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::triggerTable_
private

trigger table

Definition at line 95 of file TopSingleLeptonHLTOfflineDQM.h.

double HLTOfflineDQMTopSingleLepton::MonitorSingleLepton::upperEdge_
private

Definition at line 151 of file TopSingleLeptonHLTOfflineDQM.h.