27 for (
int i=1;
i<21;
i++)
36 if (delta<0) delta=delta+2*acos(-1);
37 if (fabs(
track_->eta())<1.740)
39 for (
int i=0;
i<72;
i++)
41 if (delta<(
i+1)*0.087266462&&delta>
i*0.087266462) iphi=
i;
46 for (
int i=0;
i<36;
i++)
48 if (delta<2*(
i+1)*0.087266462&&delta>2*
i*0.087266462) iphi=2*
i;
52 return std::pair<int,int>(ieta,iphi);
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
virtual IsolatedPixelTrackCandidate * clone() const
returns a clone of the candidate
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
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
IsolatedPixelTrackCandidate()
default constructor
std::pair< int, int > towerIndex() const
get index of tower which track is hitting