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
virtual reco::TrackRef track() const
refrence to a Track
reco::TrackRef track_
reference to a Track
double energyIn() const
ECAL energy in the inner cone around tau jet.
void setSumPtPxl(double sumptpxl)
virtual double eta() const final
momentum pseudorapidity
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
virtual double phi() const final
momentum azimuthal angle
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)
virtual double px() const final
x coordinate of momentum vector
virtual IsolatedPixelTrackCandidate * clone() const
returns a clone of the candidate
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
virtual double p() const final
magnitude of momentum vector
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
virtual ~IsolatedPixelTrackCandidate()
destructor
virtual l1t::TauRef l1ttau() const
get reference to L1 tau jet from lt1
virtual bool overlap(const Candidate &) const
check overlap with another candidate
virtual double pz() const final
z coordinate of momentum vector
virtual l1extra::L1JetParticleRef l1tau() const
get reference to L1 tau jet
std::pair< double, double > etaPhiEcal() const
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
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
bool etaPhiEcalValid() const
IsolatedPixelTrackCandidate()
bool etaPhiEcal_
eta, phi at ECAL
IsolatedPixelTrackCandidate(const reco::TrackRef &tr, const l1extra::L1JetParticleRef &tauRef, double max, double sum)
constructor from a track
void setTrack(const reco::TrackRef &tr)
virtual double py() const final
y coordinate of momentum vector
std::pair< int, int > towerIndex() const
get index of tower which track is hitting