Public Member Functions | |
gamma_radiative_analyzer (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 |
virtual void | endJob () override |
Private Attributes | |
double | dRTrk_ |
double | dRVeto_ |
bool | FSR_mu |
bool | FSR_mu0 |
bool | FSR_mu1 |
bool | FSR_tk |
TH2D * | h_gamma_pt_eta_ |
TH2D * | h_mu_pt_eta_FSR_ |
TH2D * | h_mu_pt_eta_no_FSR_ |
int | numOfEvent |
int | numofGamma |
double | ptThreshold_ |
int | zmmcounter |
int | zmscounter |
int | zmtcounter |
EDGetTokenT< GenParticleMatch > | zMuMuMatchMapToken_ |
EDGetTokenT< CandidateView > | zMuMuToken_ |
EDGetTokenT< GenParticleMatch > | zMuSaMatchMapToken_ |
EDGetTokenT< CandidateView > | zMuSaToken_ |
EDGetTokenT< GenParticleMatch > | zMuTkMatchMapToken_ |
EDGetTokenT< CandidateView > | zMuTkToken_ |
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 52 of file gamma_radiative_analysis.cc.
gamma_radiative_analyzer::gamma_radiative_analyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 76 of file gamma_radiative_analysis.cc.
References h_gamma_pt_eta_, h_mu_pt_eta_FSR_, h_mu_pt_eta_no_FSR_, TFileService::make(), numOfEvent, numofGamma, zmmcounter, zmscounter, and zmtcounter.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 96 of file gamma_radiative_analysis.cc.
References funct::abs(), reco::Candidate::daughter(), reco::Candidate::eta(), reco::LeafCandidate::eta(), FSR_mu, FSR_mu0, FSR_mu1, FSR_tk, pat::Lepton< LeptonType >::genLepton(), pat::PATObject< ObjectType >::genParticle(), h_gamma_pt_eta_, h_mu_pt_eta_FSR_, h_mu_pt_eta_no_FSR_, i, edm::Ref< C, T, F >::isNonnull(), j, reco::Candidate::mass(), reco::Candidate::masterClone(), reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::numberOfDaughters(), numOfEvent, numofGamma, reco::Candidate::pdgId(), reco::Candidate::pt(), reco::LeafCandidate::pt(), zmmcounter, zmscounter, zmtcounter, ZMuMuAnalysisNtupler_cff::zMuMu, zMuMuMatchMapToken_, zMuMuToken_, ZMuMuAnalysisNtupler_cff::zMuSa, zMuSaMatchMapToken_, zMuSaToken_, zMuTkMatchMapToken_, and zMuTkToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 308 of file gamma_radiative_analysis.cc.
References gather_cfg::cout, numOfEvent, numofGamma, zmmcounter, zmscounter, and zmtcounter.
|
private |
Definition at line 65 of file gamma_radiative_analysis.cc.
|
private |
Definition at line 65 of file gamma_radiative_analysis.cc.
|
private |
Definition at line 70 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file gamma_radiative_analysis.cc.
Referenced by analyze(), and gamma_radiative_analyzer().
|
private |
Definition at line 67 of file gamma_radiative_analysis.cc.
Referenced by analyze(), and gamma_radiative_analyzer().
|
private |
Definition at line 67 of file gamma_radiative_analysis.cc.
Referenced by analyze(), and gamma_radiative_analyzer().
|
private |
Definition at line 73 of file gamma_radiative_analysis.cc.
Referenced by analyze(), endJob(), and gamma_radiative_analyzer().
|
private |
Definition at line 73 of file gamma_radiative_analysis.cc.
Referenced by analyze(), endJob(), and gamma_radiative_analyzer().
|
private |
Definition at line 65 of file gamma_radiative_analysis.cc.
|
private |
Definition at line 73 of file gamma_radiative_analysis.cc.
Referenced by analyze(), endJob(), and gamma_radiative_analyzer().
|
private |
Definition at line 73 of file gamma_radiative_analysis.cc.
Referenced by analyze(), endJob(), and gamma_radiative_analyzer().
|
private |
Definition at line 73 of file gamma_radiative_analysis.cc.
Referenced by analyze(), endJob(), and gamma_radiative_analyzer().
|
private |
Definition at line 60 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 63 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 62 of file gamma_radiative_analysis.cc.
Referenced by analyze().
|
private |
Definition at line 61 of file gamma_radiative_analysis.cc.
Referenced by analyze().