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