#include <ZCounting.h>
Public Types | |
enum | MuonIDTypes { NoneID, LooseID, MediumID, TightID } |
enum | MuonIsoTypes { NoneIso, TrackerIso, PFIso } |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &eSetup) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, 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 |
void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) 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 | initHLT (const edm::TriggerResults &, const edm::TriggerNames &) |
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 DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 41 of file ZCounting.h.
Enumerator | |
---|---|
NoneID | |
LooseID | |
MediumID | |
TightID |
Definition at line 48 of file ZCounting.h.
Enumerator | |
---|---|
NoneIso | |
TrackerIso | |
PFIso |
Definition at line 49 of file ZCounting.h.
ZCounting::ZCounting | ( | const edm::ParameterSet & | ps | ) |
Definition at line 25 of file ZCounting.cc.
References EtaCutL1_, EtaCutL2_, fHLTObjTag, fHLTObjTag_token, fHLTTag, fHLTTag_token, fMuonName, fMuonName_token, fPVName, fPVName_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_, AlCaHLTBitMon_QueryRunRegistry::string, TightID, TrackerIso, VtxAbsZCut_, VtxNdofCut_, VtxNTracksFitCut_, and VtxRhoCut_.
|
override |
Definition at line 81 of file ZCounting.cc.
|
overrideprotectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 139 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, 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_.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 129 of file ZCounting.cc.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 100 of file ZCounting.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), 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, LumiBin_, LumiMax_, LumiMin_, MassBin_, MassMax_, MassMin_, PVBin_, PVMax_, PVMin_, and DQMStore::IBooker::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 89 of file ZCounting.cc.
References fTrigger.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 392 of file ZCounting.cc.
|
private |
Definition at line 401 of file ZCounting.cc.
References fTrigger, diffTreeTool::index, 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 analyze().
|
private |
Definition at line 428 of file ZCounting.cc.
References ZCountingTrigger::TTrigger::pass().
Referenced by analyze().
|
private |
Definition at line 434 of file ZCounting.cc.
References ZCountingTrigger::TTrigger::passObj().
Referenced by analyze().
|
private |
Definition at line 439 of file ZCounting.cc.
References muon::isLooseMuon(), muon::isMediumMuon(), muon::isTightMuon(), LooseID, MediumID, NoneID, and TightID.
Referenced by analyze().
|
private |
Definition at line 449 of file ZCounting.cc.
References DEFINE_FWK_MODULE, 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 analyze().
|
private |
Definition at line 93 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 94 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 71 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 73 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 72 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 74 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 77 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 78 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 75 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 76 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 79 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 80 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 83 of file ZCounting.h.
Referenced by analyze(), dqmBeginRun(), and initHLT().
|
private |
Definition at line 70 of file ZCounting.h.
Referenced by analyze().
|
private |
Definition at line 119 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 120 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 117 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 118 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 124 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 125 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 122 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 123 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 129 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 130 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 127 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 128 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 132 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 133 of file ZCounting.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 87 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 85 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 89 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 88 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 86 of file ZCounting.h.
Referenced by ZCounting().
|
private |
Definition at line 100 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 102 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 101 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 96 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 98 of file ZCounting.h.
Referenced by analyze(), bookHistograms(), and ZCounting().
|
private |
Definition at line 97 of file ZCounting.h.
Referenced by analyze(), bookHistograms(), and ZCounting().
|
private |
Definition at line 114 of file ZCounting.h.
Referenced by analyze().
|
private |
Definition at line 113 of file ZCounting.h.
Referenced by analyze().
|
private |
Definition at line 91 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 92 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 104 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 106 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 105 of file ZCounting.h.
Referenced by bookHistograms(), and ZCounting().
|
private |
Definition at line 110 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 109 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 108 of file ZCounting.h.
Referenced by analyze(), and ZCounting().
|
private |
Definition at line 111 of file ZCounting.h.
Referenced by analyze(), and ZCounting().