Public Member Functions | |
ZHistogrammer (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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
Private Attributes | |
double | angMax_ |
edm::EDGetTokenT < reco::CandidateCollection > | genToken_ |
TH1F * | h_etaResZ_ |
TH1F * | h_etaZ_ |
TH1F * | h_etaZMC_ |
TH1F * | h_invmMuMu_ |
TH1F * | h_invmMuMuMC_ |
TH1F * | h_mRatioZMuMu_ |
TH1F * | h_mRatioZMuMuMC_ |
TH1F * | h_mResZ_ |
TH1F * | h_mResZMuMu_ |
TH1F * | h_mResZMuMuMC_ |
TH1F * | h_mZ_ |
TH1F * | h_mZMC_ |
TH1F * | h_nZ_ |
TH1F * | h_nZMC_ |
TH1F * | h_phiResZ_ |
TH1F * | h_phiZ_ |
TH1F * | h_phiZMC_ |
TH1F * | h_ptResZ_ |
TH1F * | h_ptZ_ |
TH1F * | h_ptZMC_ |
TH1F * | h_rapidityResZ_ |
TH1F * | h_rapidityZ_ |
TH1F * | h_rapidityZMC_ |
TH1F * | h_thetaResZ_ |
TH1F * | h_thetaZ_ |
TH1F * | h_thetaZMC_ |
double | massMax_ |
double | massResMax_ |
edm::EDGetTokenT < reco::CandMatchMap > | matchToken_ |
unsigned int | nbinsAng_ |
unsigned int | nbinsMass_ |
unsigned int | nbinsMassRes_ |
unsigned int | nbinsPt_ |
double | ptMax_ |
edm::EDGetTokenT < reco::CandidateCollection > | zToken_ |
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 8 of file ZHistogrammer.cc.
ZHistogrammer::ZHistogrammer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 42 of file ZHistogrammer.cc.
References angMax_, gather_cfg::cout, h_etaResZ_, h_etaZ_, h_etaZMC_, h_invmMuMu_, h_invmMuMuMC_, h_mRatioZMuMu_, h_mRatioZMuMuMC_, h_mResZ_, h_mResZMuMu_, h_mResZMuMuMC_, h_mZ_, h_mZMC_, h_nZ_, h_nZMC_, h_phiResZ_, h_phiZ_, h_phiZMC_, h_ptResZ_, h_ptZ_, h_ptZMC_, h_rapidityResZ_, h_rapidityZ_, h_rapidityZMC_, h_thetaResZ_, h_thetaZ_, h_thetaZMC_, TFileDirectory::make(), massMax_, massResMax_, TFileService::mkdir(), nbinsAng_, nbinsMass_, nbinsMassRes_, nbinsPt_, and ptMax_.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 119 of file ZHistogrammer.cc.
References funct::abs(), assert(), reco::Candidate::charge(), gather_cfg::cout, reco::Candidate::daughter(), reco::Candidate::eta(), relval_steps::gen(), genToken_, h_etaResZ_, h_etaZ_, h_etaZMC_, h_invmMuMu_, h_invmMuMuMC_, h_mRatioZMuMu_, h_mRatioZMuMuMC_, h_mResZ_, h_mResZMuMu_, h_mResZMuMuMC_, h_mZ_, h_mZMC_, h_nZ_, h_nZMC_, h_phiResZ_, h_phiZ_, h_phiZMC_, h_ptResZ_, h_ptZ_, h_ptZMC_, h_rapidityResZ_, h_rapidityZ_, h_rapidityZMC_, h_thetaResZ_, h_thetaZ_, h_thetaZMC_, i, edm::Ref< C, T, F >::isNonnull(), j, relval_2017::k, ResonanceBuilder::mass, reco::Candidate::mass(), match(), matchToken_, reco::Candidate::numberOfDaughters(), reco::Candidate::p4(), reco::Candidate::pdgId(), reco::Candidate::phi(), reco::Candidate::pt(), reco::Candidate::rapidity(), reco::Candidate::status(), reco::Candidate::theta(), z, and zToken_.
|
private |
Definition at line 17 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 14 of file ZHistogrammer.cc.
Referenced by analyze().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 19 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 21 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 24 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 25 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 24 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 25 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 23 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 18 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 20 of file ZHistogrammer.cc.
Referenced by analyze(), and ZHistogrammer().
|
private |
Definition at line 17 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 17 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 15 of file ZHistogrammer.cc.
Referenced by analyze().
|
private |
Definition at line 16 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 16 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 16 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 16 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 17 of file ZHistogrammer.cc.
Referenced by ZHistogrammer().
|
private |
Definition at line 13 of file ZHistogrammer.cc.
Referenced by analyze().