Public Member Functions | |
ZMuMu_MCanalyzer (const edm::ParameterSet &pset) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &setup) |
bool | check_ifZmumu (const Candidate *dauGen0, const Candidate *dauGen1, const Candidate *dauGen2) |
virtual void | endJob () |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Definition at line 51 of file ZMuMu_MCanalyzer.cc.
ZMuMu_MCanalyzer::ZMuMu_MCanalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 171 of file ZMuMu_MCanalyzer.cc.
References MuonErrorMatrixValues_cff::etaRange, h_ProbeOk_eta, h_ProbeOk_pt, h_staProbe_eta, h_staProbe_pt, h_trackProbe_eta, h_trackProbe_pt, TFileDirectory::make(), n2GlobalMuonsMatched_passedIso, n2GlobalMuonsMatched_passedIso2Trg, nGlobalMuonsMatched_passed, nGlobalMuonsMatched_passedIso, nMu0onlyTriggered, nMu1onlyTriggered, nStaMuonsMatched_passedIso, nTracksMuonsMatched_passedIso, nZMuMu_matched, nZMuSta_matched, nZMuTrk_matched, and MuonErrorMatrixValues_cff::ptRange.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 228 of file ZMuMu_MCanalyzer.cc.
References abs, alpha_, beta_, candidateIsolation(), reco::Candidate::daughter(), dREcal_, dRHcal_, dRTrk_, dRVetoTrk_, reco::Candidate::eta(), etamax_, etamin_, etEcalThreshold_, etHcalThreshold_, genParticleCandidates2GenParticles_cfi::genParticles, genParticles_, h_ProbeOk_eta, h_ProbeOk_pt, h_staProbe_eta, h_staProbe_pt, h_trackProbe_eta, h_trackProbe_pt, hltPath_, i, edm::Ref< C, T, F >::isNonnull(), isoMax_, reco::Candidate::mass(), massMax_, massMin_, reco::Candidate::masterClone(), patZpeak::muons, muons_, n2GlobalMuonsMatched_passedIso, n2GlobalMuonsMatched_passedIso2Trg, nGlobalMuonsMatched_passed, nGlobalMuonsMatched_passedIso, nMu0onlyTriggered, nMu1onlyTriggered, nStaMuonsMatched_passedIso, nTracksMuonsMatched_passedIso, nZMuMu_matched, nZMuSta_matched, nZMuTrk_matched, reco::Candidate::pt(), ptmin_, ptThreshold_, relativeIsolation_, testEve_cfg::tracks, tracks_, pat::PATObject< ObjectType >::triggerObjectMatchesByPath(), ZMuMuAnalysisNtupler_cff::zMuMu, zMuMu_, zMuMuMatchMap_, zMuStandAlone_, zMuStandAloneMatchMap_, zMuTrack_, and zMuTrackMatchMap_.
|
private |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 576 of file ZMuMu_MCanalyzer.cc.
References gather_cfg::cout, n2GlobalMuonsMatched_passedIso, n2GlobalMuonsMatched_passedIso2Trg, nGlobalMuonsMatched_passed, nGlobalMuonsMatched_passedIso, nMu0onlyTriggered, nMu1onlyTriggered, nStaMuonsMatched_passedIso, nTracksMuonsMatched_passedIso, nZMuMu_matched, nZMuSta_matched, nZMuTrk_matched, and mathSSE::sqrt().
|
private |
Definition at line 475 of file ZMuMu_MCanalyzer.cc.
References abs, reco::Candidate::daughter(), reco::Candidate::eta(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), and reco::Candidate::status().
|
private |
Definition at line 541 of file ZMuMu_MCanalyzer.cc.
References abs, reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), reco::Candidate::pdgId(), and reco::Candidate::status().
|
private |
Definition at line 508 of file ZMuMu_MCanalyzer.cc.
References abs, reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::phi(), and reco::Candidate::status().
|
private |
Definition at line 442 of file ZMuMu_MCanalyzer.cc.
References abs, reco::Candidate::daughter(), gen::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::pt(), and reco::Candidate::status().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 82 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 77 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 66 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 66 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 87 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 90 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 85 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 86 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 91 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 92 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 88 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 89 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 94 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 95 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 96 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze(), endJob(), and ZMuMu_MCanalyzer().
|
private |
Definition at line 79 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 72 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 74 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 67 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 78 of file ZMuMu_MCanalyzer.cc.
|
private |
Definition at line 67 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMu_MCanalyzer.cc.
Referenced by analyze().