#include <ZCounting.h>
Public Types | |
enum | MuonIDTypes { NoneID, LooseID, MediumID, TightID } |
enum | MuonIsoTypes { NoneIso, TrackerIso, PFIso } |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Member Functions | |
void | analyzeElectrons (edm::Event const &e, edm::EventSetup const &eSetup) |
void | analyzeMuons (edm::Event const &e, edm::EventSetup const &eSetup) |
bool | ele_probe_selection (double pt, double abseta) |
bool | ele_tag_selection (double pt, double abseta) |
void | initHLT (const edm::TriggerResults &, const edm::TriggerNames &) |
bool | isElectronTrigger (ZCountingTrigger::TTrigger triggerMenu, TriggerBits hltBits) |
bool | isElectronTriggerObj (ZCountingTrigger::TTrigger triggerMenu, TriggerObjects hltMatchBits) |
bool | isMuonTrigger (const ZCountingTrigger::TTrigger &triggerMenu, const TriggerBits &hltBits) |
bool | isMuonTriggerObj (const ZCountingTrigger::TTrigger &triggerMenu, const TriggerObjects &hltMatchBits) |
bool | passMuonID (const reco::Muon &muon, const reco::Vertex &vtx, const MuonIDTypes &idType) |
bool | passMuonIso (const reco::Muon &muon, const MuonIsoTypes &isoType, const float isoCut) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 42 of file ZCounting.h.
Enumerator | |
---|---|
NoneID | |
LooseID | |
MediumID | |
TightID |
Definition at line 49 of file ZCounting.h.
Enumerator | |
---|---|
NoneIso | |
TrackerIso | |
PFIso |
Definition at line 50 of file ZCounting.h.
ZCounting::ZCounting | ( | const edm::ParameterSet & | ps | ) |
Definition at line 25 of file ZCounting.cc.
References ELE_ID_WP, EleID_, EtaCutL1_, EtaCutL2_, fBeamspotTag, fBeamspotToken, fConversionTag, fConversionToken, fElectronName, fGsfElectronName_token, fHLTObjTag, fHLTObjTag_token, fHLTTag, fHLTTag_token, fMuonName, fMuonName_token, fPVName, fPVName_token, fRhoTag, fRhoToken, fSCName, fSCName_token, fTrackName, fTrackName_token, edm::ParameterSet::getUntrackedParameter(), IDType_, IDTypestr_, IsoCut_, IsoType_, IsoTypestr_, LooseID, LumiBin_, LumiMax_, LumiMin_, MassBin_, MassMax_, MassMin_, MediumID, NoneID, NoneIso, PFIso, PtCutL1_, PtCutL2_, PVBin_, PVMax_, PVMin_, ElectronIdentifier::setID(), AlCaHLTBitMon_QueryRunRegistry::string, TightID, TrackerIso, VtxAbsZCut_, VtxNdofCut_, VtxNTracksFitCut_, and VtxRhoCut_.
|
override |
Definition at line 111 of file ZCounting.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 180 of file ZCounting.cc.
References analyzeElectrons(), and analyzeMuons().
|
private |
Fill for ID efficiency
Fill for HLT efficiency
Definition at line 436 of file ZCounting.cc.
References edm::HLTGlobalStatus::accept(), reco::LeafCandidate::charge(), ELE_ETA_CRACK_LOW, ELE_MASS_CUT_HIGH, ELE_MASS_CUT_LOW, ele_probe_selection(), ele_tag_selection(), ELECTRON_MASS, electrons_cff::electrons, EleID_, SimCluster::energy(), reco::LeafCandidate::eta(), SimCluster::eta(), fBeamspotToken, fConversionToken, fGsfElectronName_token, fHLTObjTag_token, fHLTTag_token, MonitorElement::Fill(), HcalObjRepresent::Fill(), fPVName_token, fRhoToken, fSCName_token, fTrigger, fTriggerNamesID, edm::Event::getByToken(), h_ee_mass_HLT_fail_central, h_ee_mass_HLT_fail_forward, h_ee_mass_HLT_pass_central, h_ee_mass_HLT_pass_forward, h_ee_mass_id_fail_central, h_ee_mass_id_fail_forward, h_ee_mass_id_pass_central, h_ee_mass_id_pass_forward, h_ee_yield_Z_ebeb, h_ee_yield_Z_ebee, h_ee_yield_Z_eeee, initHLT(), isElectronTrigger(), isElectronTriggerObj(), edm::Ptr< T >::isNonnull(), edm::HandleBase::isValid(), eostools::ls(), edm::EventBase::luminosityBlock(), or, edm::TriggerNames::parameterSetID(), ElectronIdentifier::passID(), reco::LeafCandidate::phi(), SimCluster::phi(), funct::pow(), edm::Handle< T >::product(), EnergyCorrector::pt, reco::LeafCandidate::pt(), hiDetachedQuadStep_cff::pt1, SimDataFormats::CaloAnalysis::sc, ElectronIdentifier::setRho(), mathSSE::sqrt(), edm::Event::triggerNames(), badGlobalMuonTaggersAOD_cff::vtx, VtxAbsZCut_, VtxNdofCut_, VtxNTracksFitCut_, and VtxRhoCut_.
Referenced by analyze().
|
private |
Definition at line 187 of file ZCounting.cc.
References edm::HLTGlobalStatus::accept(), EtaCutL1_, EtaCutL2_, fHLTObjTag_token, fHLTTag_token, MonitorElement::Fill(), fMuonName_token, fPVName_token, fTrackName_token, fTrigger, fTriggerNamesID, edm::Event::getByToken(), h_mass_HLT_fail_central, h_mass_HLT_fail_forward, h_mass_HLT_pass_central, h_mass_HLT_pass_forward, h_mass_SIT_fail_central, h_mass_SIT_fail_forward, h_mass_SIT_pass_central, h_mass_SIT_pass_forward, h_mass_Sta_fail_central, h_mass_Sta_fail_forward, h_mass_Sta_pass_central, h_mass_Sta_pass_forward, h_npv, h_yield_Z, h_yieldBB_Z, h_yieldEE_Z, IDType_, initHLT(), reco::isMuon(), isMuonTrigger(), isMuonTriggerObj(), IsoCut_, IsoType_, edm::HandleBase::isValid(), edm::EventBase::luminosityBlock(), MassMax_, MassMin_, MUON_BOUND, MUON_MASS, edm::TriggerNames::parameterSetID(), passMuonID(), passMuonIso(), edm::Handle< T >::product(), hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, PtCutL1_, PtCutL2_, MetAnalyzer::pv(), q1, q2, edm::Event::triggerNames(), VtxAbsZCut_, VtxNdofCut_, VtxNTracksFitCut_, and VtxRhoCut_.
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 130 of file ZCounting.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), h_ee_mass_HLT_fail_central, h_ee_mass_HLT_fail_forward, h_ee_mass_HLT_pass_central, h_ee_mass_HLT_pass_forward, h_ee_mass_id_fail_central, h_ee_mass_id_fail_forward, h_ee_mass_id_pass_central, h_ee_mass_id_pass_forward, h_ee_yield_Z_ebeb, h_ee_yield_Z_ebee, h_ee_yield_Z_eeee, h_mass_HLT_fail_central, h_mass_HLT_fail_forward, h_mass_HLT_pass_central, h_mass_HLT_pass_forward, h_mass_SIT_fail_central, h_mass_SIT_fail_forward, h_mass_SIT_pass_central, h_mass_SIT_pass_forward, h_mass_Sta_fail_central, h_mass_Sta_fail_forward, h_mass_Sta_pass_central, h_mass_Sta_pass_forward, h_npv, h_yield_Z, h_yieldBB_Z, h_yieldEE_Z, LumiBin_, LumiMax_, LumiMin_, MassBin_, MassMax_, MassMin_, PVBin_, PVMax_, PVMin_, and DQMStore::IBooker::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 119 of file ZCounting.cc.
References fTrigger.
|
private |
Definition at line 639 of file ZCounting.cc.
References ELE_ETA_CRACK_HIGH, ELE_ETA_CRACK_LOW, ELE_ETA_CUT_PROBE, and ELE_PT_CUT_PROBE.
Referenced by analyzeElectrons().
|
private |
Definition at line 645 of file ZCounting.cc.
References ELE_ETA_CRACK_HIGH, ELE_ETA_CRACK_LOW, ELE_ETA_CUT_TAG, and ELE_PT_CUT_TAG.
Referenced by analyzeElectrons().
|
private |
Definition at line 655 of file ZCounting.cc.
References fTrigger, createfilelist::int, edm::is_glob(), match(), patRefSel_triggerMatching_cfi::matches, listBenchmarks::pattern, edm::regexMatch(), edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, edm::TriggerNames::triggerIndex(), and edm::TriggerNames::triggerNames().
Referenced by analyzeElectrons(), and analyzeMuons().
|
private |
Definition at line 714 of file ZCounting.cc.
References ZCountingTrigger::TTrigger::pass().
Referenced by analyzeElectrons().
|
private |
Definition at line 719 of file ZCounting.cc.
References DEFINE_FWK_MODULE, and ZCountingTrigger::TTrigger::passObj().
Referenced by analyzeElectrons().
|
private |
Definition at line 682 of file ZCounting.cc.
References ZCountingTrigger::TTrigger::pass().
Referenced by analyzeMuons().
|
private |
Definition at line 688 of file ZCounting.cc.
References ZCountingTrigger::TTrigger::passObj().
Referenced by analyzeMuons().
|
private |
Definition at line 694 of file ZCounting.cc.
References muon::isLooseMuon(), muon::isMediumMuon(), muon::isTightMuon(), LooseID, MediumID, NoneID, and TightID.
Referenced by analyzeMuons().
|
private |
Definition at line 704 of file ZCounting.cc.
References reco::Muon::isolationR03(), SiStripPI::max, NoneIso, PFIso, reco::Muon::pfIsolationR04(), reco::MuonPFIsolation::sumChargedHadronPt, reco::MuonPFIsolation::sumNeutralHadronEt, reco::MuonPFIsolation::sumPhotonEt, reco::MuonIsolation::sumPt, reco::MuonPFIsolation::sumPUPt, and TrackerIso.
Referenced by analyzeMuons().
|
private |
Definition at line 154 of file ZCounting.h.
Referenced by ele_probe_selection(), and ele_tag_selection().
|
private |
Definition at line 153 of file ZCounting.h.
Referenced by analyzeElectrons(), ele_probe_selection(), and ele_tag_selection().
|
private |
Definition at line 148 of file ZCounting.h.
Referenced by ele_probe_selection().
|
private |
Definition at line 147 of file ZCounting.h.
Referenced by ele_tag_selection().
|
private |
Definition at line 152 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 150 of file ZCounting.h.
Referenced by analyzeElectrons().
|
private |
Definition at line 149 of file ZCounting.h.
Referenced by analyzeElectrons().
|
private |
Definition at line 146 of file ZCounting.h.
Referenced by ele_probe_selection().
|
private |
Definition at line 145 of file ZCounting.h.
Referenced by ele_tag_selection().
|
private |
Definition at line 143 of file ZCounting.h.
Referenced by analyzeElectrons().
|
private |
Definition at line 156 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 119 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 120 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 100 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 101 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 103 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 104 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 90 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 91 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 78 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 80 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 79 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 81 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 84 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 85 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 82 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 83 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 97 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 98 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 92 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 93 of file ZCounting.h.
Referenced by analyzeElectrons(), and ZCounting().
|
private |
Definition at line 86 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 87 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 109 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), dqmBeginRun(), and initHLT().
|
private |
Definition at line 77 of file ZCounting.h.
Referenced by analyzeElectrons(), and analyzeMuons().
|
private |
Definition at line 187 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 189 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 186 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 188 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 182 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 184 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 181 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 183 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 192 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 193 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 194 of file ZCounting.h.
Referenced by analyzeElectrons(), and bookHistograms().
|
private |
Definition at line 162 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 163 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 160 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 161 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 167 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 168 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 165 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 166 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 172 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 173 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 170 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 171 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 175 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 176 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 177 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 178 of file ZCounting.h.
Referenced by analyzeMuons(), and bookHistograms().
|
private |
Definition at line 113 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 111 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 115 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 114 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 112 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 126 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 128 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 127 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 122 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 124 of file ZCounting.h.
Referenced by analyzeMuons(), bookHistograms(), and ZCounting().
|
private |
Definition at line 123 of file ZCounting.h.
Referenced by analyzeMuons(), bookHistograms(), and ZCounting().
|
private |
Definition at line 140 of file ZCounting.h.
Referenced by analyzeMuons().
|
private |
Definition at line 139 of file ZCounting.h.
Referenced by analyzeMuons().
|
private |
Definition at line 117 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 118 of file ZCounting.h.
Referenced by analyzeMuons(), and ZCounting().
|
private |
Definition at line 130 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 132 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 131 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 136 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 135 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 134 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().
|
private |
Definition at line 137 of file ZCounting.h.
Referenced by analyzeElectrons(), analyzeMuons(), and ZCounting().