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 pz() const final
z coordinate of momentum vector
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
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.
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)
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
double py() const final
y coordinate of momentum vector
virtual l1t::TauRef l1ttau() const
get reference to L1 tau jet from lt1
virtual l1extra::L1JetParticleRef l1tau() const
get reference to L1 tau jet
int nhitOut_
number of hits in inner cone
double energyOut() const
ECAL energy in the outer cone around tau jet.
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
reco::TrackRef track() const override
refrence to a Track
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
bool etaPhiEcalValid() const
~IsolatedPixelTrackCandidate() override
destructor
IsolatedPixelTrackCandidate()
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< int, int > towerIndex() const
get index of tower which track is hitting
bool overlap(const Candidate &) const override
check overlap with another candidate
double eta() const final
momentum pseudorapidity