Private Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
bool | check_ifZmumu (const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
void | endJob () override |
float | getParticleEta (const int ipart, const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
Particle::LorentzVector | getParticleP4 (const int ipart, const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
float | getParticlePhi (const int ipart, const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
float | getParticlePt (const int ipart, const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ESProduct , Transition Tr = Transition::Event> | |
auto | esConsumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
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) |
Definition at line 36 of file ZMuMuEfficiency.cc.
ZMuMuEfficiency::ZMuMuEfficiency | ( | const edm::ParameterSet & | pset | ) |
Definition at line 109 of file ZMuMuEfficiency.cc.
References etamax_, h_DELTA_ZMuMuMassReco_dimuonMassGen_, h_DELTA_ZMuStaMassReco_dimuonMassGen_, h_DELTA_ZMuTrackMassReco_dimuonMassGen_, h_dimuonEtaGen_, h_dimuonEtaGenPassed_, h_dimuonMassGen_, h_dimuonMassGenPassed_, h_dimuonPtGen_, h_dimuonPtGenPassed_, h_etaMuonOverlappedToStandAlone_, h_etaMuonOverlappedToTrack_, h_etaStandAlone_, h_etaTrack_, h_muetaGen_, h_muetaGenPassed_, h_muptGen_, h_muptGenPassed_, h_nZMCfound_, h_ptMuonOverlappedToStandAlone_, h_ptMuonOverlappedToTrack_, h_ptStandAlone_, h_ptTrack_, h_ZetaGen_, h_ZetaGenPassed_, h_ZmassGen_, h_ZmassGenPassed_, h_ZptGen_, h_ZptGenPassed_, TFileDirectory::make(), TFileService::mkdir(), n_zMuMufound_genZsele, n_zMuStafound_genZsele, n_zMuTrkfound_genZsele, nbinsEta_, nbinsPt_, noMCmatching, numberOfEventsWithZMuMufound, numberOfEventsWithZMuStafound, numberOfMatchedSelectedZMuMu_, numberOfMatchedSelectedZMuSta_, numberOfMatchedSelectedZMuTrack_exclusive, numberOfMatchedZMuMu_, numberOfMatchedZMuSta_, numberOfMatchedZMuTrack_exclusive, numberOfMatchedZMuTrack_matchedSelectedZMuMu, numberOfMatchedZMuTrack_matchedZMuMu, numberOfMatchedZMuTrack_notOverlapped, numberOfOverlappedStandAlone_, numberOfOverlappedTracks_, ptmin_, totalNumberOfevents, totalNumberOfZfound, totalNumberOfZPassed, ZMuTrack_exclusive_1match, ZMuTrack_exclusive_morematch, ZMuTrack_ZMuMu_1match, ZMuTrack_ZMuMu_2match, ZMuTrack_ZMuMu_morematch, ZMuTrackselected_exclusive_1match, and ZMuTrackselected_exclusive_morematch.
|
overrideprivate |
Definition at line 227 of file ZMuMuEfficiency.cc.
References check_ifZmumu(), gather_cfg::cout, reco::Candidate::daughter(), edm::View< T >::empty(), reco::Candidate::eta(), etamax_, GenHFHadronMatcher_cfi::genParticles, genParticlesToken_, getParticleEta(), getParticleP4(), getParticlePt(), globalMuonCandRef_, h_DELTA_ZMuMuMassReco_dimuonMassGen_, h_DELTA_ZMuStaMassReco_dimuonMassGen_, h_DELTA_ZMuTrackMassReco_dimuonMassGen_, h_dimuonEtaGen_, h_dimuonEtaGenPassed_, h_dimuonMassGen_, h_dimuonMassGenPassed_, h_dimuonPtGen_, h_dimuonPtGenPassed_, h_etaMuonOverlappedToStandAlone_, h_etaMuonOverlappedToTrack_, h_etaStandAlone_, h_etaTrack_, h_muetaGen_, h_muetaGenPassed_, h_muptGen_, h_muptGenPassed_, h_nZMCfound_, h_ptMuonOverlappedToStandAlone_, h_ptMuonOverlappedToTrack_, h_ptStandAlone_, h_ptTrack_, h_ZetaGen_, h_ZetaGenPassed_, h_ZmassGen_, h_ZmassGenPassed_, h_ZptGen_, h_ZptGenPassed_, mps_fire::i, reco::Candidate::isGlobalMuon(), trackerHitRTTI::isMatched(), edm::Ref< C, T, F >::isNonnull(), isomax_, cmsBatch::log, reco::Candidate::mass(), reco::Candidate::masterClone(), muonIsoToken_, muonMatch_cfi::muonMatch, muonMatchMapToken_, extraflags_cff::muons, muonsToken_, n_zMuMufound_genZsele, n_zMuStafound_genZsele, n_zMuTrkfound_genZsele, noMCmatching, reco::Candidate::numberOfDaughters(), numberOfEventsWithZMuMufound, numberOfEventsWithZMuStafound, numberOfMatchedSelectedZMuMu_, numberOfMatchedSelectedZMuSta_, numberOfMatchedSelectedZMuTrack_exclusive, numberOfMatchedZMuMu_, numberOfMatchedZMuSta_, numberOfMatchedZMuTrack_exclusive, numberOfMatchedZMuTrack_matchedSelectedZMuMu, numberOfMatchedZMuTrack_matchedZMuMu, reco::Candidate::pdgId(), reco::Candidate::pt(), ptmin_, edm::View< T >::refAt(), edm::View< T >::size(), mathSSE::sqrt(), conversionPostprocessing_cfi::standAlone, standAloneIsoToken_, standAloneMuonCandRef_, standAloneToken_, reco::Candidate::status(), funct::tan(), totalNumberOfevents, totalNumberOfZfound, totalNumberOfZPassed, trackIsoToken_, l1t::tracks, tracksToken_, zMassMax_, zMassMin_, zMuMuMatchMapToken_, zMuMuToken_, zMuStandAloneMatchMapToken_, zMuStandAloneToken_, ZMuTrack_exclusive_1match, ZMuTrack_exclusive_morematch, ZMuTrack_ZMuMu_1match, ZMuTrack_ZMuMu_2match, ZMuTrack_ZMuMu_morematch, zMuTrackMatchMapToken_, ZMuTrackselected_exclusive_1match, ZMuTrackselected_exclusive_morematch, and zMuTrackToken_.
|
private |
Definition at line 529 of file ZMuMuEfficiency.cc.
References reco::Candidate::pdgId().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 677 of file ZMuMuEfficiency.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, n_zMuMufound_genZsele, n_zMuStafound_genZsele, n_zMuTrkfound_genZsele, noMCmatching, numberOfEventsWithZMuMufound, numberOfEventsWithZMuStafound, numberOfMatchedSelectedZMuMu_, numberOfMatchedSelectedZMuSta_, numberOfMatchedSelectedZMuTrack_exclusive, numberOfMatchedZMuMu_, numberOfMatchedZMuSta_, numberOfMatchedZMuTrack_exclusive, numberOfMatchedZMuTrack_matchedSelectedZMuMu, numberOfMatchedZMuTrack_matchedZMuMu, mathSSE::sqrt(), totalNumberOfevents, totalNumberOfZfound, totalNumberOfZPassed, ZMuTrack_exclusive_1match, ZMuTrack_exclusive_morematch, ZMuTrack_ZMuMu_1match, ZMuTrack_ZMuMu_2match, ZMuTrack_ZMuMu_morematch, ZMuTrackselected_exclusive_1match, and ZMuTrackselected_exclusive_morematch.
|
private |
Definition at line 576 of file ZMuMuEfficiency.cc.
References funct::abs(), reco::Candidate::daughter(), reco::Candidate::eta(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), and reco::Candidate::status().
Referenced by analyze().
|
private |
Definition at line 642 of file ZMuMuEfficiency.cc.
References funct::abs(), reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), reco::Candidate::pdgId(), and reco::Candidate::status().
Referenced by analyze().
|
private |
Definition at line 609 of file ZMuMuEfficiency.cc.
References funct::abs(), reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::phi(), and reco::Candidate::status().
|
private |
Definition at line 543 of file ZMuMuEfficiency.cc.
References funct::abs(), reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::pt(), and reco::Candidate::status().
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 61 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 85 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 85 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 80 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 83 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 80 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 83 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 80 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 83 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 69 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 73 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 69 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 73 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 79 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 82 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 79 of file ZMuMuEfficiency.cc.
|
private |
Definition at line 82 of file ZMuMuEfficiency.cc.
|
private |
Definition at line 79 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 82 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 77 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 70 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 74 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 70 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 74 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 78 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 81 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 78 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 81 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 78 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 81 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 63 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 54 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 98 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 98 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 98 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 64 of file ZMuMuEfficiency.cc.
Referenced by ZMuMuEfficiency().
|
private |
Definition at line 64 of file ZMuMuEfficiency.cc.
Referenced by ZMuMuEfficiency().
|
private |
Definition at line 94 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 87 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 87 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 89 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 88 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 91 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 89 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 88 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 91 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 92 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 92 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 90 of file ZMuMuEfficiency.cc.
Referenced by ZMuMuEfficiency().
|
private |
Definition at line 90 of file ZMuMuEfficiency.cc.
Referenced by ZMuMuEfficiency().
|
private |
Definition at line 90 of file ZMuMuEfficiency.cc.
Referenced by ZMuMuEfficiency().
|
private |
Definition at line 66 of file ZMuMuEfficiency.cc.
|
private |
Definition at line 63 of file ZMuMuEfficiency.cc.
Referenced by analyze(), and ZMuMuEfficiency().
|
private |
Definition at line 60 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 93 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 93 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 58 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMuEfficiency.cc.
|
private |
Definition at line 57 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 49 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 48 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 94 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 96 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 96 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 96 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 51 of file ZMuMuEfficiency.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 95 of file ZMuMuEfficiency.cc.
Referenced by analyze(), endJob(), and ZMuMuEfficiency().
|
private |
Definition at line 50 of file ZMuMuEfficiency.cc.
Referenced by analyze().