Go to the documentation of this file. 1 #ifndef HcalIsolatedTrack_IsolatedPixelTrackCandidate_h
2 #define HcalIsolatedTrack_IsolatedPixelTrackCandidate_h
IsolatedPixelTrackCandidate(const reco::TrackRef &tr, const l1extra::L1JetParticleRef &tauRef, double max, double sum)
constructor from a track
IsolatedPixelTrackCandidate(const l1extra::L1JetParticleRef &tauRef, double enIn, double enOut, int nhitIn, int nhitOut)
constructor from tau jet
bool overlap(const Candidate &) const override
check overlap with another candidate
virtual l1extra::L1JetParticleRef l1tau() const
get reference to L1 tau jet
bool etaPhiEcalValid() const
l1t::TauRef l1ttauJet_
reference to a S2 L1 tau jet
void setEnergyOut(double a)
void setSumPtPxl(double sumptpxl)
double maxPtPxl() const
highest Pt of other pixel tracks in the cone around the candidate
IsolatedPixelTrackCandidate * clone() const override
returns a clone of the candidate
double py() const final
y coordinate of momentum vector
double sumPtPxl_
Pt sum of other pixel tracks in the cone around the candidate.
IsolatedPixelTrackCandidate(const LorentzVector &v)
constructor from LorentzVector
void setMaxPtPxl(double mptpxl)
virtual l1t::TauRef l1ttau() const
get reference to L1 tau jet from lt1
double maxPtPxl_
highest Pt of other pixel tracks in the cone around the candidate
T get() const
get a component
double eta() const final
momentum pseudorapidity
void setEtaPhiEcal(double eta, double phi)
eta, phi at ECAL surface
int nhitIn_
number of hits in inner cone
void setL1TauJet(const l1extra::L1JetParticleRef &tauRef)
void setL1TTauJet(const l1t::TauRef &tauRef)
IsolatedPixelTrackCandidate()
void setEnergyIn(double a)
double energyIn() const
ECAL energy in the inner cone around tau jet.
int nhitOut_
number of hits in inner cone
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
double phi() const final
momentum azimuthal angle
void setTrack(const reco::TrackRef &tr)
~IsolatedPixelTrackCandidate() override
destructor
double p() const final
magnitude of momentum vector
int nHitOut() const
number of ECAL hits in the outer cone around tau jet
reco::TrackRef track() const override
refrence to a Track
double sumPtPxl() const
Pt sum of other pixel tracks in the cone around the candidate.
std::pair< int, int > towerIndex() const
get index of tower which track is hitting
bool etaPhiEcal_
eta, phi at ECAL
double enOut_
energy in outer cone around L1 tau jet
double enIn_
energy in inner cone around L1 tau jet
double energyOut() const
ECAL energy in the outer cone around tau jet.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
IsolatedPixelTrackCandidate(const reco::TrackRef &tr, const l1t::TauRef &tauRef, double max, double sum)
int nHitIn() const
number of ECAL hits in the inner cone around tau jet
reco::TrackRef track_
reference to a Track
double px() const final
x coordinate of momentum vector
double pz() const final
z coordinate of momentum vector
IsolatedPixelTrackCandidate(const l1t::TauRef &tauRef, double enIn, double enOut, int nhitIn, int nhitOut)
constructor from tau jet using l1t
std::pair< double, double > etaPhiEcal() const