Public Member Functions | |
ZMuMu_vtxAnalyzer (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 39 of file ZMuMu_vtxAnalyzer.cc.
ZMuMu_vtxAnalyzer::ZMuMu_vtxAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 114 of file ZMuMu_vtxAnalyzer.cc.
References h_dimuon_vz, h_muon_d0signed, h_muon_d0signed_respectToPV, h_muon_vz, h_muon_vz_respectToPV, h_zmumuNotIsoSele_dimuon_vz, h_zmumuNotIsoSele_muonIso_d0signed, h_zmumuNotIsoSele_muonIso_d0signed_respectToPV, h_zmumuNotIsoSele_muonIso_vz, h_zmumuNotIsoSele_muonIso_vz_respectToPV, h_zmumuNotIsoSele_muonNotIso_d0signed, h_zmumuNotIsoSele_muonNotIso_d0signed_respectToPV, h_zmumuNotIsoSele_muonNotIso_vz, h_zmumuNotIsoSele_muonNotIso_vz_respectToPV, h_zmumuSele_dimuon_vz, h_zmumuSele_muon_d0signed, h_zmumuSele_muon_d0signed_respectToPV, h_zmumuSele_muon_vz, h_zmumuSele_muon_vz_respectToPV, h_zmustaSele_muon_d0signed, h_zmustaSele_muon_d0signed_respectToPV, h_zmustaSele_muon_vz, h_zmustaSele_muon_vz_respectToPV, h_zmustaSele_sta_d0signed, h_zmustaSele_sta_d0signed_respectToPV, h_zmustaSele_sta_vz, h_zmustaSele_sta_vz_respectToPV, h_zmutrackSele_muon_d0signed, h_zmutrackSele_muon_d0signed_respectToPV, h_zmutrackSele_muon_vz, h_zmutrackSele_muon_vz_respectToPV, h_zmutrackSele_track_d0signed, h_zmutrackSele_track_d0signed_respectToPV, h_zmutrackSele_track_vz, h_zmutrackSele_track_vz_respectToPV, and TFileDirectory::make().
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 181 of file ZMuMu_vtxAnalyzer.cc.
References abs, reco::Candidate::daughter(), reco::Candidate::eta(), etamax_, genParticleCandidates2GenParticles_cfi::genParticles, genParticles_, h_dimuon_vz, h_muon_d0signed, h_muon_d0signed_respectToPV, h_muon_vz, h_muon_vz_respectToPV, h_zmumuNotIsoSele_dimuon_vz, h_zmumuNotIsoSele_muonIso_d0signed, h_zmumuNotIsoSele_muonIso_d0signed_respectToPV, h_zmumuNotIsoSele_muonIso_vz, h_zmumuNotIsoSele_muonIso_vz_respectToPV, h_zmumuNotIsoSele_muonNotIso_d0signed, h_zmumuNotIsoSele_muonNotIso_d0signed_respectToPV, h_zmumuNotIsoSele_muonNotIso_vz, h_zmumuNotIsoSele_muonNotIso_vz_respectToPV, h_zmumuSele_dimuon_vz, h_zmumuSele_muon_d0signed, h_zmumuSele_muon_d0signed_respectToPV, h_zmumuSele_muon_vz, h_zmumuSele_muon_vz_respectToPV, h_zmustaSele_muon_d0signed, h_zmustaSele_muon_d0signed_respectToPV, h_zmustaSele_muon_vz, h_zmustaSele_muon_vz_respectToPV, h_zmustaSele_sta_d0signed, h_zmustaSele_sta_d0signed_respectToPV, h_zmustaSele_sta_vz, h_zmustaSele_sta_vz_respectToPV, h_zmutrackSele_muon_d0signed, h_zmutrackSele_muon_d0signed_respectToPV, h_zmutrackSele_muon_vz, h_zmutrackSele_muon_vz_respectToPV, h_zmutrackSele_track_d0signed, h_zmutrackSele_track_d0signed_respectToPV, h_zmutrackSele_track_vz, h_zmutrackSele_track_vz_respectToPV, i, reco::Muon::isGlobalMuon(), isoMax_, reco::Candidate::mass(), massMin_, reco::Candidate::masterClone(), patZpeak::muons, muons_, primaryVertices_, reco::Candidate::pt(), ptmin_, pat::GenericParticle::track(), pat::Muon::track(), pat::Muon::trackIso(), pat::GenericParticle::trackIso(), testEve_cfg::tracks, tracks_, pat::PATObject< ObjectType >::triggerObjectMatchesByPath(), reco::LeafCandidate::vz(), ZMuMuAnalysisNtupler_cff::zMuMu, zMuMu_, zMuMuMatchMap_, zMuStandAlone_, zMuStandAloneMatchMap_, zMuTrack_, and zMuTrackMatchMap_.
|
private |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 585 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 484 of file ZMuMu_vtxAnalyzer.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 550 of file ZMuMu_vtxAnalyzer.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 517 of file ZMuMu_vtxAnalyzer.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 451 of file ZMuMu_vtxAnalyzer.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 58 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 60 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 69 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 69 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 70 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 69 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 70 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 75 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 76 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 77 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 76 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 77 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 78 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 79 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 78 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 79 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 72 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 72 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 73 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 72 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 73 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 86 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 87 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 86 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 87 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 88 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 88 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 81 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 82 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 81 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 82 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 83 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 84 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 83 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 84 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze(), and ZMuMu_vtxAnalyzer().
|
private |
Definition at line 60 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 60 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 60 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 54 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 54 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 54 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 56 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 60 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 55 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 62 of file ZMuMu_vtxAnalyzer.cc.
|
private |
Definition at line 55 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file ZMuMu_vtxAnalyzer.cc.
Referenced by analyze().