CMS 3D CMS Logo

Functions

reco::tau::helpers Namespace Reference

Functions

unsigned int nCharged (const GenJet &jet)
unsigned int nCharged (const PFTau &tau)
unsigned int nGammas (const PFTau &tau)
unsigned int nGammas (const GenJet &jet)

Function Documentation

unsigned int reco::tau::helpers::nCharged ( const GenJet &  jet)
unsigned int reco::tau::helpers::nCharged ( const PFTau &  tau)

Definition at line 47 of file RecoTauObjectEmbedderPlugin.cc.

References reco::PFTau::signalPFChargedHadrCands(), and edm::RefVector< C, T, F >::size().

                                        {
  return tau.signalPFChargedHadrCands().size();
}
unsigned int reco::tau::helpers::nGammas ( const PFTau &  tau)

Definition at line 50 of file RecoTauObjectEmbedderPlugin.cc.

References reco::PFTau::signalPiZeroCandidates().

                                       {
  return tau.signalPiZeroCandidates().size();
}
unsigned int reco::tau::helpers::nGammas ( const GenJet &  jet)