#include <L1TEGammaOffline.h>
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 |
void | endRun (edm::Run const &run, 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 | bookElectronHistos (DQMStore::IBooker &) |
void | bookPhotonHistos (DQMStore::IBooker &) |
double | calcDeltaPhi (double phi1, double phi2) |
double | Distance (const reco::Candidate &c1, const reco::Candidate &c2) |
double | DistancePhi (const reco::Candidate &c1, const reco::Candidate &c2) |
void | fillElectrons (edm::Event const &e, const unsigned int nVertex) |
void | fillPhotons (edm::Event const &e, const unsigned int nVertex) |
bool | findTagAndProbePair (edm::Handle< reco::GsfElectronCollection > const &electrons) |
bool | passesLooseEleId (reco::GsfElectron const &electron) const |
bool | passesMediumEleId (reco::GsfElectron const &electron) const |
Definition at line 37 of file L1TEGammaOffline.h.
L1TEGammaOffline::L1TEGammaOffline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 23 of file L1TEGammaOffline.cc.
|
override |
Definition at line 54 of file L1TEGammaOffline.cc.
|
overrideprotectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 89 of file L1TEGammaOffline.cc.
References fillElectrons(), fillPhotons(), dqmoffline::l1t::fillWithinLimits(), edm::Event::getByToken(), h_nVertex_, edm::HandleBase::isValid(), and thePVCollection_.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 81 of file L1TEGammaOffline.cc.
|
private |
Definition at line 509 of file L1TEGammaOffline.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), deepInspectionElectronThresholds_, efficiencyFolder_, electronEfficiencyBins_, electronEfficiencyThresholds_, h_efficiencyElectronET_EB_EE_pass_, h_efficiencyElectronET_EB_EE_total_, h_efficiencyElectronET_EB_pass_, h_efficiencyElectronET_EB_total_, h_efficiencyElectronET_EE_pass_, h_efficiencyElectronET_EE_total_, h_efficiencyElectronEta_pass_, h_efficiencyElectronEta_total_, h_efficiencyElectronNVertex_pass_, h_efficiencyElectronNVertex_total_, h_efficiencyElectronPhi_pass_, h_efficiencyElectronPhi_total_, h_efficiencyElectronPhi_vs_Eta_pass_, h_efficiencyElectronPhi_vs_Eta_total_, h_L1EGammaEtavsElectronEta_, h_L1EGammaETvsElectronET_EB_, h_L1EGammaETvsElectronET_EB_EE_, h_L1EGammaETvsElectronET_EE_, h_L1EGammaPhivsElectronPhi_EB_, h_L1EGammaPhivsElectronPhi_EB_EE_, h_L1EGammaPhivsElectronPhi_EE_, h_nVertex_, h_resolutionElectronET_EB_, h_resolutionElectronET_EB_EE_, h_resolutionElectronET_EE_, h_resolutionElectronEta_, h_resolutionElectronPhi_EB_, h_resolutionElectronPhi_EB_EE_, h_resolutionElectronPhi_EE_, h_tagAndProbeMass_, histFolder_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and electronIdCutBased_cfi::threshold.
Referenced by bookHistograms().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 70 of file L1TEGammaOffline.cc.
References bookElectronHistos(), and bookPhotonHistos().
|
private |
Definition at line 627 of file L1TEGammaOffline.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), DEFINE_FWK_MODULE, efficiencyFolder_, h_efficiencyPhotonET_EB_EE_pass_, h_efficiencyPhotonET_EB_EE_total_, h_efficiencyPhotonET_EB_pass_, h_efficiencyPhotonET_EB_total_, h_efficiencyPhotonET_EE_pass_, h_efficiencyPhotonET_EE_total_, h_L1EGammaEtavsPhotonEta_, h_L1EGammaETvsPhotonET_EB_, h_L1EGammaETvsPhotonET_EB_EE_, h_L1EGammaETvsPhotonET_EE_, h_L1EGammaPhivsPhotonPhi_EB_, h_L1EGammaPhivsPhotonPhi_EB_EE_, h_L1EGammaPhivsPhotonPhi_EE_, h_resolutionPhotonET_EB_, h_resolutionPhotonET_EB_EE_, h_resolutionPhotonET_EE_, h_resolutionPhotonEta_, h_resolutionPhotonPhi_EB_, h_resolutionPhotonPhi_EB_EE_, h_resolutionPhotonPhi_EE_, histFolder_, photonEfficiencyBins_, photonEfficiencyThresholds_, DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and electronIdCutBased_cfi::threshold.
Referenced by bookHistograms().
|
private |
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 62 of file L1TEGammaOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 493 of file L1TEGammaOffline.cc.
|
overrideprotectedvirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 501 of file L1TEGammaOffline.cc.
|
private |
Definition at line 108 of file L1TEGammaOffline.cc.
References funct::abs(), BXVector< T >::begin(), deepInspectionElectronThresholds_, deltaR(), electronEfficiencyThresholds_, BXVector< T >::end(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), dqmoffline::l1t::fill2DWithinLimits(), dqmoffline::l1t::fillWithinLimits(), findTagAndProbePair(), edm::Event::getByToken(), gsfElectrons_cfi::gsfElectrons, h_efficiencyElectronET_EB_EE_pass_, h_efficiencyElectronET_EB_EE_total_, h_efficiencyElectronET_EB_pass_, h_efficiencyElectronET_EB_total_, h_efficiencyElectronET_EE_pass_, h_efficiencyElectronET_EE_total_, h_efficiencyElectronEta_pass_, h_efficiencyElectronEta_total_, h_efficiencyElectronNVertex_pass_, h_efficiencyElectronNVertex_total_, h_efficiencyElectronPhi_pass_, h_efficiencyElectronPhi_total_, h_efficiencyElectronPhi_vs_Eta_pass_, h_efficiencyElectronPhi_vs_Eta_total_, h_L1EGammaEtavsElectronEta_, h_L1EGammaETvsElectronET_EB_, h_L1EGammaETvsElectronET_EB_EE_, h_L1EGammaETvsElectronET_EE_, h_L1EGammaPhivsElectronPhi_EB_, h_L1EGammaPhivsElectronPhi_EB_EE_, h_L1EGammaPhivsElectronPhi_EE_, h_resolutionElectronET_EB_, h_resolutionElectronET_EB_EE_, h_resolutionElectronET_EE_, h_resolutionElectronEta_, h_resolutionElectronPhi_EB_, h_resolutionElectronPhi_EB_EE_, h_resolutionElectronPhi_EE_, edm::HandleBase::isValid(), LogDebug, reco::LeafCandidate::phi(), probeElectron_, probeToL1Offset_, stage2CaloLayer2EGammaToken_, theGsfElectronCollection_, and electronIdCutBased_cfi::threshold.
Referenced by analyze().
|
private |
Definition at line 375 of file L1TEGammaOffline.cc.
References funct::abs(), BXVector< T >::begin(), deltaR(), BXVector< T >::end(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), dqmoffline::l1t::fill2DWithinLimits(), dqmoffline::l1t::fillWithinLimits(), edm::Event::getByToken(), h_efficiencyPhotonET_EB_EE_pass_, h_efficiencyPhotonET_EB_EE_total_, h_efficiencyPhotonET_EB_pass_, h_efficiencyPhotonET_EB_total_, h_efficiencyPhotonET_EE_pass_, h_efficiencyPhotonET_EE_total_, h_L1EGammaEtavsPhotonEta_, h_L1EGammaETvsPhotonET_EB_, h_L1EGammaETvsPhotonET_EB_EE_, h_L1EGammaETvsPhotonET_EE_, h_L1EGammaPhivsPhotonPhi_EB_, h_L1EGammaPhivsPhotonPhi_EB_EE_, h_L1EGammaPhivsPhotonPhi_EE_, h_resolutionPhotonET_EB_, h_resolutionPhotonET_EB_EE_, h_resolutionPhotonET_EE_, h_resolutionPhotonEta_, h_resolutionPhotonPhi_EB_, h_resolutionPhotonPhi_EB_EE_, h_resolutionPhotonPhi_EE_, edm::HandleBase::isValid(), LogDebug, reco::LeafCandidate::phi(), photonEfficiencyThresholds_, nano_cff::photons, stage2CaloLayer2EGammaToken_, thePhotonCollection_, and electronIdCutBased_cfi::threshold.
Referenced by analyze().
|
private |
From https://cds.cern.ch/record/2202966/files/DP2016_044.pdf slide 8 Filter on HLT_Ele30WP60_Ele8_Mass55 (TODO) HLT_Ele30WP60_SC4_Mass55 (TODO) Seeded by L1SingleEG, unprescaled required
Tag & probe selection Electron required to be within ECAL fiducial volume (|η|<1.4442 || 1.566<|η|<2.5). 60 < m(ee) < 120 GeV. Opposite charge requirement. Tag required to pass medium electron ID and ET > 30 GeV. Probe required to pass loose electron ID.
electrons |
Definition at line 265 of file L1TEGammaOffline.cc.
References funct::abs(), dqmoffline::l1t::fillWithinLimits(), h_tagAndProbeMass_, jets_cff::nElectrons, passesLooseEleId(), passesMediumEleId(), probeElectron_, and tagElectron_.
Referenced by fillElectrons().
|
private |
Structure from https://github.com/cms-sw/cmssw/blob/CMSSW_9_0_X/DQMOffline/EGamma/plugins/ElectronAnalyzer.cc Values from https://twiki.cern.ch/twiki/bin/view/CMS/CutBasedElectronIdentificationRun2
Definition at line 311 of file L1TEGammaOffline.cc.
References funct::abs(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eSuperClusterOverP(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), and reco::GsfElectron::scSigmaIEtaIEta().
Referenced by findTagAndProbePair().
|
private |
Definition at line 346 of file L1TEGammaOffline.cc.
References funct::abs(), reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx(), reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx(), reco::GsfElectron::ecalEnergy(), reco::GsfElectron::eSuperClusterOverP(), reco::GsfElectron::hadronicOverEm(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), and reco::GsfElectron::scSigmaIEtaIEta().
Referenced by findTagAndProbePair().
|
private |
Definition at line 87 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 80 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and bookPhotonHistos().
|
private |
Definition at line 85 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos().
|
private |
Definition at line 84 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 126 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 137 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 124 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 135 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 125 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 136 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 129 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 140 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 131 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 142 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 130 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 141 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 127 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 138 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 169 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 175 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 167 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 173 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 168 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 174 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 110 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 153 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 102 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 104 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 103 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 145 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 147 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 146 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 106 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 108 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 107 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 149 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 151 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 150 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 98 of file L1TEGammaOffline.h.
Referenced by analyze(), and bookElectronHistos().
|
private |
Definition at line 113 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 115 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 114 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 121 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 117 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 119 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 118 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and fillElectrons().
|
private |
Definition at line 156 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 158 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 157 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 164 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 160 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 162 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 161 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 99 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and findTagAndProbePair().
|
private |
Definition at line 79 of file L1TEGammaOffline.h.
Referenced by bookElectronHistos(), and bookPhotonHistos().
|
private |
Definition at line 90 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos().
|
private |
Definition at line 89 of file L1TEGammaOffline.h.
Referenced by bookPhotonHistos(), and fillPhotons().
|
private |
Definition at line 93 of file L1TEGammaOffline.h.
Referenced by fillElectrons(), and findTagAndProbePair().
|
private |
Definition at line 86 of file L1TEGammaOffline.h.
Referenced by fillElectrons().
|
private |
Definition at line 68 of file L1TEGammaOffline.h.
|
private |
Definition at line 82 of file L1TEGammaOffline.h.
Referenced by fillElectrons(), and fillPhotons().
|
private |
Definition at line 94 of file L1TEGammaOffline.h.
|
private |
Definition at line 92 of file L1TEGammaOffline.h.
Referenced by findTagAndProbePair().
|
private |
Definition at line 74 of file L1TEGammaOffline.h.
|
private |
Definition at line 71 of file L1TEGammaOffline.h.
Referenced by fillElectrons().
|
private |
Definition at line 72 of file L1TEGammaOffline.h.
Referenced by fillPhotons().
|
private |
Definition at line 73 of file L1TEGammaOffline.h.
Referenced by analyze().
|
private |
Definition at line 75 of file L1TEGammaOffline.h.
|
private |
Definition at line 77 of file L1TEGammaOffline.h.
|
private |
Definition at line 78 of file L1TEGammaOffline.h.
|
private |
Definition at line 76 of file L1TEGammaOffline.h.