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