Private Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
void | endJob () override |
Private Attributes | |
double | accEtaMax_ |
double | accEtaMin_ |
double | accMassMax_ |
double | accMassMaxDen_ |
double | accMassMin_ |
double | accMassMinDen_ |
double | accPtMin_ |
double | angMax_ |
edm::EDGetTokenT< reco::GenParticleCollection > | genToken_ |
TH1F * | h_etaZ_ |
TH1F * | h_etaZMC_ |
TH1F * | h_mZ_ |
TH1F * | h_mZMC_ |
TH1F * | h_nZ_ |
TH1F * | h_phiZ_ |
TH1F * | h_phiZMC_ |
TH1F * | h_ptZ_ |
TH1F * | h_ptZMC_ |
TH1F * | h_rapidityZ_ |
TH1F * | h_rapidityZMC_ |
TH1F * | h_thetaZ_ |
TH1F * | h_thetaZMC_ |
TH1F * | hardeta |
TH1F * | hardpt |
double | massMax_ |
int | muPdgStatus_ |
unsigned int | nAcc_ |
unsigned int | nAccPtScaleN_ |
unsigned int | nAccPtScaleP_ |
unsigned int | nAccPtScaleSmearedFlat_ |
unsigned int | nAccPtScaleSmearedGaus_ |
unsigned int | nbinsAng_ |
unsigned int | nbinsMass_ |
unsigned int | nbinsPt_ |
unsigned int | nBothMuHasZHasGrandMa_ |
double | ptMax_ |
double | ptScale_ |
TH1F * | softeta |
TH1F * | softpt |
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 8 of file ZMuPtScaleAnalyzer.cc.
ZMuPtScaleAnalyzer::ZMuPtScaleAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 46 of file ZMuPtScaleAnalyzer.cc.
References angMax_, gather_cfg::cout, h_etaZMC_, h_mZMC_, h_phiZMC_, h_ptZMC_, h_rapidityZMC_, h_thetaZMC_, hardeta, hardpt, TFileDirectory::make(), massMax_, TFileService::mkdir(), nAcc_, nAccPtScaleN_, nAccPtScaleP_, nAccPtScaleSmearedFlat_, nAccPtScaleSmearedGaus_, nbinsAng_, nbinsMass_, nbinsPt_, nBothMuHasZHasGrandMa_, ptMax_, softeta, and softpt.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 87 of file ZMuPtScaleAnalyzer.cc.
References funct::abs(), accEtaMax_, accEtaMin_, accMassMax_, accMassMaxDen_, accMassMin_, accMassMinDen_, accPtMin_, gather_cfg::cout, reco::LeafCandidate::eta(), HLT_FULL_cff::eta1, HLT_FULL_cff::eta2, f, alignCSCRings::ff, relval_steps::gen(), genToken_, h_etaZMC_, h_mZMC_, h_phiZMC_, h_ptZMC_, h_rapidityZMC_, h_thetaZMC_, hardeta, hardpt, mps_fire::i, reco::LeafCandidate::mass(), reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::mother(), PDWG_BPHSkim_cff::muons, muPdgStatus_, nAcc_, nAccPtScaleN_, nAccPtScaleP_, nAccPtScaleSmearedFlat_, nAccPtScaleSmearedGaus_, nBothMuHasZHasGrandMa_, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::numberOfMothers(), p4, reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), HLT_FULL_cff::pt1, HLT_FULL_cff::pt2, ptScale_, softeta, softpt, mathSSE::sqrt(), reco::LeafCandidate::status(), and HLT_FULL_cff::weights.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 240 of file ZMuPtScaleAnalyzer.cc.
References gather_cfg::cout, submitPVResolutionJobs::err, h_mZMC_, nAcc_, nAccPtScaleN_, nAccPtScaleP_, nAccPtScaleSmearedFlat_, nAccPtScaleSmearedGaus_, nBothMuHasZHasGrandMa_, and mathSSE::sqrt().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 15 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 19 of file ZMuPtScaleAnalyzer.cc.
|
private |
Definition at line 20 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 21 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 21 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 17 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 24 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 16 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 16 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 16 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 22 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), endJob(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 17 of file ZMuPtScaleAnalyzer.cc.
Referenced by ZMuPtScaleAnalyzer().
|
private |
Definition at line 18 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 21 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().
|
private |
Definition at line 21 of file ZMuPtScaleAnalyzer.cc.
Referenced by analyze(), and ZMuPtScaleAnalyzer().