#include <BaseTau.h>
Public Member Functions | |
math::XYZTLorentzVector | alternatLorentzVect () const |
BaseTau () | |
BaseTau (Charge q, const LorentzVector &, const Point &=Point(0, 0, 0)) | |
BaseTau * | clone () const |
returns a clone of the Candidate object | |
virtual const reco::TrackRefVector & | isolationTracks () const |
virtual reco::TrackRef | leadTrack () const |
void | setalternatLorentzVect (math::XYZTLorentzVector) |
void | setisolationTracks (const TrackRefVector &) |
void | setleadTrack (const TrackRef &) |
void | setsignalTracks (const TrackRefVector &) |
virtual const reco::TrackRefVector & | signalTracks () const |
virtual | ~BaseTau () |
Private Member Functions | |
virtual bool | overlap (const Candidate &) const |
check overlap with another candidate | |
Private Attributes | |
math::XYZTLorentzVector | alternatLorentzVect_ |
reco::TrackRefVector | isolationTracks_ |
reco::TrackRef | leadTrack_ |
reco::TrackRefVector | signalTracks_ |
BaseTau::BaseTau | ( | ) |
Definition at line 5 of file BaseTau.cc.
References alternatLorentzVect_.
Referenced by clone().
{ alternatLorentzVect_.SetPx(NAN); alternatLorentzVect_.SetPy(NAN); alternatLorentzVect_.SetPz(NAN); alternatLorentzVect_.SetE(NAN); }
BaseTau::BaseTau | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point(0,0,0) |
||
) |
Definition at line 13 of file BaseTau.cc.
References alternatLorentzVect_.
: RecoCandidate(q,p4,vtx,-15*q){ alternatLorentzVect_.SetPx(NAN); alternatLorentzVect_.SetPy(NAN); alternatLorentzVect_.SetPz(NAN); alternatLorentzVect_.SetE(NAN); }
math::XYZTLorentzVector BaseTau::alternatLorentzVect | ( | ) | const |
Definition at line 23 of file BaseTau.cc.
References alternatLorentzVect_.
{return(alternatLorentzVect_);}
BaseTau * BaseTau::clone | ( | void | ) | const [virtual] |
returns a clone of the Candidate object
Reimplemented from reco::RecoCandidate.
Reimplemented in pat::Tau, reco::CaloTau, reco::PFTau, and pat::Lepton< reco::BaseTau >.
Definition at line 21 of file BaseTau.cc.
References BaseTau().
{return new BaseTau(*this);}
const TrackRefVector & BaseTau::isolationTracks | ( | ) | const [virtual] |
Reimplemented in pat::Tau.
Definition at line 30 of file BaseTau.cc.
References isolationTracks_.
Referenced by EwkMuTauHistManager::fillHistograms(), PFTauQualityCutWrapper::isolationChargedObjects(), and TauElementsOperators::TauElementsOperators().
{return isolationTracks_;}
TrackRef BaseTau::leadTrack | ( | ) | const [virtual] |
Reimplemented in pat::Tau.
Definition at line 26 of file BaseTau.cc.
References leadTrack_.
Referenced by FWTauProxyBuilderBase::addLeadTrack(), pat::Tau::embedLeadTrack(), EwkMuTauHistManager::fillHistograms(), and TCTauAlgorithm::recalculateEnergy().
{return leadTrack_;}
bool BaseTau::overlap | ( | const Candidate & | ) | const [private, virtual] |
check overlap with another candidate
Implements reco::RecoCandidate.
Reimplemented in reco::CaloTau, and reco::PFTau.
Definition at line 33 of file BaseTau.cc.
References reco::RecoCandidate::checkOverlap(), and reco::RecoCandidate::track().
{ const RecoCandidate* theRecoCand=dynamic_cast<const RecoCandidate *>(&theCand); return (theRecoCand!=0 && (checkOverlap(track(),theRecoCand->track()))); }
void BaseTau::setalternatLorentzVect | ( | math::XYZTLorentzVector | x | ) |
Definition at line 24 of file BaseTau.cc.
References alternatLorentzVect_, and x.
Referenced by reco::tau::RecoTauObjectEmbedder< T >::operator()().
void BaseTau::setisolationTracks | ( | const TrackRefVector & | myTracks | ) |
Definition at line 31 of file BaseTau.cc.
References isolationTracks_.
{ isolationTracks_ = myTracks;}
void BaseTau::setleadTrack | ( | const TrackRef & | myTrack | ) |
void BaseTau::setsignalTracks | ( | const TrackRefVector & | myTracks | ) |
const TrackRefVector & BaseTau::signalTracks | ( | ) | const [virtual] |
Reimplemented in pat::Tau.
Definition at line 28 of file BaseTau.cc.
References signalTracks_.
Referenced by FWTauProxyBuilderBase::addConstituentTracks(), EwkMuTauHistManager::fillHistograms(), and PFTauQualityCutWrapper::signalChargedObjects().
{return signalTracks_;}
Definition at line 44 of file BaseTau.h.
Referenced by alternatLorentzVect(), BaseTau(), and setalternatLorentzVect().
Reimplemented in pat::Tau.
Definition at line 46 of file BaseTau.h.
Referenced by isolationTracks(), and setisolationTracks().
reco::TrackRef reco::BaseTau::leadTrack_ [private] |
Reimplemented in pat::Tau.
Definition at line 45 of file BaseTau.h.
Referenced by leadTrack(), and setleadTrack().
Reimplemented in pat::Tau.
Definition at line 46 of file BaseTau.h.
Referenced by setsignalTracks(), and signalTracks().