6 :
RecoCandidate(right), track_(right.track_), l1tauJet_(right.l1tauJet_) {
36 int ieta(0), iphi(0),
nphi(72), kphi(1);
37 double etas[24] = {0.000, 0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609, 0.696, 0.783, 0.870, 0.957,
38 1.044, 1.131, 1.218, 1.305, 1.392, 1.479, 1.566, 1.653, 1.740, 1.830, 1.930, 2.043};
39 for (
int i = 1;
i < 24;
i++) {
40 if (fabs(
track_->eta()) <= etas[
i]) {
41 ieta = (
track_->eta() > 0) ? i : -i;
50 const double dphi =
M_PI / 36.;
54 double delta = phi + (kphi * dphi);
55 for (
int i = 0;
i <
nphi;
i++) {
56 if (delta <= (kphi * (
i + 1) * dphi)) {
62 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
const edm::EventSetup & c
reco::TrackRef track_
reference to a Track
l1t::TauRef l1ttauJet_
reference to a S2 L1 tau jet
virtual reco::TrackRef track() const
reference to a Track
double sumPtPxl_
Pt sum of other pixel tracks in the cone around the candidate.
IsolatedPixelTrackCandidate * clone() const override
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 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 enIn_
energy in inner cone around L1 tau jet
reco::TrackRef track() const override
refrence to a Track
l1extra::L1JetParticleRef l1tauJet_
reference to a L1 tau jet
~IsolatedPixelTrackCandidate() override
destructor
IsolatedPixelTrackCandidate()
bool etaPhiEcal_
eta, phi at ECAL
double phi() const final
momentum azimuthal angle
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