PFRecoTauDiscriminationByLeadingObjectPtCut::PFRecoTauDiscriminationByLeadingObjectPtCut |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
inlineexplicit |
PFRecoTauDiscriminationByLeadingObjectPtCut::~PFRecoTauDiscriminationByLeadingObjectPtCut |
( |
| ) |
|
|
inlineoverride |
double PFRecoTauDiscriminationByLeadingObjectPtCut::discriminate |
( |
const PFTauRef & |
pfTau | ) |
const |
|
override |
Definition at line 30 of file PFRecoTauDiscriminationByLeadingObjectPtCut.cc.
References edm::Ref< C, T, F >::isNonnull().
31 double leadObjectPt = -1.;
35 if (thePFTauRef->leadChargedHadrCand().isNonnull()) {
36 leadObjectPt = thePFTauRef->leadChargedHadrCand()->pt();
44 if (thePFTauRef->leadCand().isNonnull() && thePFTauRef->leadChargedHadrCand().isNonnull()) {
45 leadObjectPt = thePFTauRef->leadCand()->pt();
bool PFRecoTauDiscriminationByLeadingObjectPtCut::chargedOnly_ |
|
private |
double PFRecoTauDiscriminationByLeadingObjectPtCut::minPtLeadObject_ |
|
private |