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 |
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 | |
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 |
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_, mps_fire::i, edm::Ref< C, T, F >::isNonnull(), reco::Candidate::mass(), reco::Candidate::masterClone(), reco::CompositeRefCandidateT< D >::mother(), reco::Candidate::numberOfDaughters(), numOfEvent, numofGamma, reco::Candidate::pdgId(), reco::Candidate::pt(), reco::LeafCandidate::pt(), hiDetachedQuadStep_cff::pt1, edm::View< T >::refAt(), edm::View< T >::size(), zmmcounter, zmscounter, zmtcounter, zMuMuMatchMapToken_, zMuMuToken_, zMuSaMatchMapToken_, zMuSaToken_, zMuTkMatchMapToken_, and zMuTkToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 308 of file gamma_radiative_analysis.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, 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().