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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 47 of file ZMuMu_efficiencyAnalyzer.cc.
ZMuMu_efficiencyAnalyzer::ZMuMu_efficiencyAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 110 of file ZMuMu_efficiencyAnalyzer.cc.
References gather_cfg::cout, etaBins, etaRange, h_zmm1HLTminus_mass, h_zmm1HLTplus_mass, h_zmm2HLT_mass, h_zmm_mass, h_zmmNotIsominus_mass, h_zmmNotIsoplus_mass, h_zmsminus_mass, h_zmsplus_mass, h_zmtminus_mass, h_zmtplus_mass, hmumu1HLTminus_eta, hmumu1HLTminus_pt, hmumu1HLTplus_eta, hmumu1HLTplus_pt, hmumu2HLTminus_eta, hmumu2HLTminus_pt, hmumu2HLTplus_eta, hmumu2HLTplus_pt, hmumuNotIsominus_eta, hmumuNotIsominus_pt, hmumuNotIsoplus_eta, hmumuNotIsoplus_pt, hmustaminus_eta, hmustaminus_pt, hmustaplus_eta, hmustaplus_pt, hmutrackminus_eta, hmutrackminus_pt, hmutrackplus_eta, hmutrackplus_pt, mps_fire::i, TFileDirectory::make(), TFileService::make(), TFileService::mkdir(), nGlobalMuonsMatched_passed, ptBins, ptRange, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 273 of file ZMuMu_efficiencyAnalyzer.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::Candidate::charge(), reco::Candidate::daughter(), edm::View< T >::empty(), PVValHelper::eta, reco::Candidate::eta(), HLT_FULL_cff::eta1, etaBins, etamax_, etaRange, genParticles2HepMC_cfi::genParticles, genParticlesToken_, h_zmm1HLTminus_mass, h_zmm1HLTplus_mass, h_zmm2HLT_mass, h_zmm_mass, h_zmsminus_mass, h_zmsplus_mass, h_zmtminus_mass, h_zmtplus_mass, hmumu1HLTminus_eta, hmumu1HLTminus_pt, hmumu1HLTplus_eta, hmumu1HLTplus_pt, hmumu2HLTminus_eta, hmumu2HLTminus_pt, hmumu2HLTplus_eta, hmumu2HLTplus_pt, hmustaminus_eta, hmustaminus_pt, hmustaplus_eta, hmustaplus_pt, hmutrackminus_eta, hmutrackminus_pt, hmutrackplus_eta, hmutrackplus_pt, mps_fire::i, reco::Muon::isGlobalMuon(), isoMax_, dqmiolumiharvest::j, RazorAnalyzer::lep1, EgHLTOffHistBins_cfi::mass, reco::Candidate::mass(), massMax_, massMin_, reco::Candidate::masterClone(), PDWG_BPHSkim_cff::muons, muonsToken_, zMuMuMuonUserData::primaryVertices, primaryVerticesToken_, DiDispStaMuonMonitor_cfi::pt, reco::Candidate::pt(), HLT_FULL_cff::pt1, ptBins, ptmin_, ptRange, edm::View< T >::refAt(), edm::View< T >::size(), pat::Muon::trackIso(), pat::GenericParticle::trackIso(), PDWG_EXOHSCP_cff::tracks, tracksToken_, pat::PATObject< ObjectType >::triggerObjectMatchesByPath(), ZMuMuAnalysisNtupler_cff::zMuMu, zMuMuToken_, zMuStandAloneMatchMapToken_, zMuStandAloneToken_, zMuTrackMatchMapToken_, and zMuTrackToken_.
|
private |
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 775 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 670 of file ZMuMu_efficiencyAnalyzer.cc.
References funct::abs(), reco::Candidate::daughter(), reco::Candidate::eta(), dqmdumpme::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), and reco::Candidate::status().
|
private |
Definition at line 740 of file ZMuMu_efficiencyAnalyzer.cc.
References funct::abs(), reco::Candidate::daughter(), dqmdumpme::k, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), reco::Candidate::pdgId(), and reco::Candidate::status().
|
private |
Definition at line 705 of file ZMuMu_efficiencyAnalyzer.cc.
References funct::abs(), reco::Candidate::daughter(), dqmdumpme::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::phi(), and reco::Candidate::status().
|
private |
Definition at line 635 of file ZMuMu_efficiencyAnalyzer.cc.
References funct::abs(), reco::Candidate::daughter(), dqmdumpme::k, reco::Candidate::numberOfDaughters(), reco::Candidate::pdgId(), reco::Candidate::pt(), and reco::Candidate::status().
|
private |
Definition at line 74 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
|
private |
Definition at line 76 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 71 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 90 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 88 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 88 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 90 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 90 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 90 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 89 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 97 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 98 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 95 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 96 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 97 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 98 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 95 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 96 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 97 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 98 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 95 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 96 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 97 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 98 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 95 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 96 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 97 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 98 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 95 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 96 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 76 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 85 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 72 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
|
private |
Definition at line 76 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 82 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze(), and ZMuMu_efficiencyAnalyzer().
|
private |
Definition at line 84 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 84 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 70 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file ZMuMu_efficiencyAnalyzer.cc.
|
private |
Definition at line 63 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file ZMuMu_efficiencyAnalyzer.cc.
Referenced by analyze().