Public Types | |
typedef math::XYZVector | Vector |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Public Member Functions | |
ZGlobalVsSAIsolationAnalyzer (const edm::ParameterSet &cfg) | |
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 |
void | evaluate (const reco::Candidate *dau) |
bool | isolated (const Direction &dir, const pat::IsoDeposit *trkIsoDep, const pat::IsoDeposit *ecalIsoDep, const pat::IsoDeposit *hcalIsoDep) |
Private Attributes | |
double | alpha |
double | beta |
double | dREcal |
double | dRHcal |
double | dRTrk |
double | dRVeto |
double | etEcalThreshold |
double | etHcalThreshold |
double | isoCut_ |
double | ptThreshold |
unsigned long | selGlobal_ |
unsigned long | selSA_ |
EDGetTokenT< CandidateView > | srcToken_ |
unsigned long | totGlobal_ |
unsigned long | totSA_ |
Additional Inherited Members | |
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 33 of file ZGlobalVsSAIsolationAnalyzer.cc.
Definition at line 35 of file ZGlobalVsSAIsolationAnalyzer.cc.
ZGlobalVsSAIsolationAnalyzer::ZGlobalVsSAIsolationAnalyzer | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 52 of file ZGlobalVsSAIsolationAnalyzer.cc.
|
overrideprivatevirtual |
Definition at line 105 of file ZGlobalVsSAIsolationAnalyzer.cc.
References reco::Candidate::daughter(), evaluate(), mps_fire::i, edm::View< T >::size(), and srcToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 115 of file ZGlobalVsSAIsolationAnalyzer.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, selGlobal_, selSA_, mathSSE::sqrt(), totGlobal_, and totSA_.
|
private |
Definition at line 84 of file ZGlobalVsSAIsolationAnalyzer.cc.
References dir, pat::EcalIso, reco::LeafCandidate::eta(), Exception, reco::Candidate::get(), pat::HcalIso, edm::errors::InvalidReference, pat::Lepton< LeptonType >::isoDeposit(), isolated(), reco::Candidate::masterClone(), RPCpg::mu, reco::LeafCandidate::phi(), selGlobal_, selSA_, totGlobal_, totSA_, and pat::TrackIso.
Referenced by analyze().
|
private |
Definition at line 67 of file ZGlobalVsSAIsolationAnalyzer.cc.
References alpha, beta, dREcal, dRHcal, dRTrk, dRVeto, etEcalThreshold, etHcalThreshold, isoCut_, ptThreshold, and reco::IsoDeposit::sumWithin().
Referenced by evaluate().
|
private |
Definition at line 44 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 44 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 42 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 42 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 42 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 41 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 43 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 43 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 45 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 43 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by isolated().
|
private |
Definition at line 46 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by endJob(), and evaluate().
|
private |
Definition at line 46 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by endJob(), and evaluate().
|
private |
Definition at line 40 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 46 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by endJob(), and evaluate().
|
private |
Definition at line 46 of file ZGlobalVsSAIsolationAnalyzer.cc.
Referenced by endJob(), and evaluate().