40 for (
int i=1;
i<21;
i++)
49 if (delta<0) delta=delta+2*acos(-1);
50 if (fabs(
track_->eta())<1.740)
52 for (
int i=0;
i<72;
i++)
54 if (delta<(
i+1)*0.087266462&&delta>
i*0.087266462) iphi=
i;
59 for (
int i=0;
i<36;
i++)
61 if (delta<2*(
i+1)*0.087266462&&delta>2*
i*0.087266462) iphi=2*
i;
65 return std::pair<int,int>(ieta,iphi);
double enOut_
energy in outer cone around L1 tau jet
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
virtual reco::TrackRef track() const
refrence to a Track
reco::TrackRef track_
reference to a Track
virtual reco::TrackRef track() const
reference to a Track
double sumPtPxl_
Pt sum of other pixel tracks in the cone around the candidate.
virtual IsolatedPixelTrackCandidate * clone() const
returns a clone of the candidate
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 bool overlap(const Candidate &) const
check overlap with another candidate
virtual l1extra::L1JetParticleRef l1tau() const
get reference to L1 tau jet
int nhitOut_
number of hits in inner cone
double enIn_
energy in inner cone around L1 tau jet
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
IsolatedPixelTrackCandidate()
bool etaPhiEcal_
eta, phi at ECAL
std::pair< int, int > towerIndex() const
get index of tower which track is hitting