Public Member Functions | |
zPdfUnc (const edm::ParameterSet &pset) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 | accMassMin_ |
double | accMassMinDenominator_ |
double | accPtMin_ |
double | angMax_ |
std::string | filename_ |
edm::EDGetTokenT< reco::GenParticleCollection > | genToken_ |
TH1F * | h_etaZMC_ |
TH1F * | h_mZMC_ |
TH1F * | h_nZ_ |
TH1F * | h_phiZMC_ |
TH1F * | h_ptZMC_ |
TH1F * | h_rapidityZMC_ |
TH1F * | h_thetaZMC_ |
TH1F * | h_weight_histo |
TH1F * | hardeta |
TH1F * | hardpt |
bool | isMCatNLO_ |
double | massMax_ |
double | nAcc_ |
double | nAccReW_ |
unsigned int | nbinsAng_ |
unsigned int | nbinsMass_ |
unsigned int | nbinsPt_ |
double | nBothMuHasZHasGrandMa_ |
unsigned int | pdfmember_ |
edm::EDGetTokenT< std::vector< double > > | pdfweightsToken_ |
double | ptMax_ |
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 &) |
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 7 of file zPdfUnc.cc.
zPdfUnc::zPdfUnc | ( | const edm::ParameterSet & | pset | ) |
Definition at line 49 of file zPdfUnc.cc.
References angMax_, gather_cfg::cout, h_etaZMC_, h_mZMC_, h_nZ_, h_phiZMC_, h_ptZMC_, h_rapidityZMC_, h_thetaZMC_, h_weight_histo, hardeta, hardpt, TFileDirectory::make(), massMax_, TFileService::mkdir(), nAcc_, nAccReW_, nbinsAng_, nbinsMass_, nbinsPt_, nBothMuHasZHasGrandMa_, ptMax_, softeta, and softpt.
|
overrideprivate |
Definition at line 93 of file zPdfUnc.cc.
References funct::abs(), accEtaMax_, accEtaMin_, accMassMax_, accMassMin_, accMassMinDenominator_, accPtMin_, gather_cfg::cout, HcalObjRepresent::Fill(), relval_steps::gen(), genToken_, h_etaZMC_, h_mZMC_, h_phiZMC_, h_ptZMC_, h_rapidityZMC_, h_thetaZMC_, h_weight_histo, hardeta, hardpt, mps_fire::i, reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::mother(), muons_cff::muons, nAcc_, nAccReW_, nBothMuHasZHasGrandMa_, reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::Candidate::numberOfMothers(), p4, pdfmember_, pdfweightsToken_, reco::Candidate::pdgId(), reco::LeafCandidate::pdgId(), hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, softeta, softpt, mathSSE::sqrt(), reco::LeafCandidate::status(), mps_merge::weight, and create_public_lumi_plots::weights.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 201 of file zPdfUnc.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, filename_, h_mZMC_, nAcc_, nAccReW_, nbinsMass_, nBothMuHasZHasGrandMa_, and mathSSE::sqrt().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 17 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 16 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 24 of file zPdfUnc.cc.
Referenced by endJob().
|
private |
Definition at line 13 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 18 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 19 of file zPdfUnc.cc.
|
private |
Definition at line 21 of file zPdfUnc.cc.
|
private |
Definition at line 20 of file zPdfUnc.cc.
|
private |
Definition at line 20 of file zPdfUnc.cc.
|
private |
Definition at line 22 of file zPdfUnc.cc.
|
private |
Definition at line 16 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 23 of file zPdfUnc.cc.
|
private |
Definition at line 23 of file zPdfUnc.cc.
|
private |
Definition at line 15 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 15 of file zPdfUnc.cc.
|
private |
Definition at line 15 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 23 of file zPdfUnc.cc.
|
private |
Definition at line 15 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 14 of file zPdfUnc.cc.
Referenced by analyze().
|
private |
Definition at line 16 of file zPdfUnc.cc.
Referenced by zPdfUnc().
|
private |
Definition at line 20 of file zPdfUnc.cc.
|
private |
Definition at line 20 of file zPdfUnc.cc.