|
ATLAS Offline Software
|
Go to the documentation of this file.
13 declareInterface<IInsituTrackTools>(
this);
38 float TrackPTIsolation1 = 0.0;
49 float TrackPTIsolation1 = 0.0;
61 tvec1.SetPtEtaPhiM(track1->
pt(), track1->
eta(), track1->
phi(), 105.65);
62 tvec2.SetPtEtaPhiM(track2->
pt(), track2->
eta(), track2->
phi(), 105.65);
63 return (tvec1+tvec2).M();
89 double dphi = std::abs(track1->
phi()-track2->
phi());
90 if (dphi>
M_PI) dphi = std::abs(dphi-2.0*
M_PI);
98 if (
sc.isFailure() || !trackTES)
return false;
103 double track_eta = trackParticle->
eta();
104 double track_phi = trackParticle->
phi();
112 for (; trackItr != trackItrE; ++trackItr)
115 id_eta = (*trackItr)->eta();
116 id_phi = (*trackItr)->phi();
119 if ((0.01<
dr) && (
dr<0.4))
122 PtIsolation+=(*trackItr)->pt();
133 if (
getTrackIsolation(trackParticle, PtIsolation, NIsolation)==
true)
return PtIsolation;
141 if (
getTrackIsolation(trackParticle, PtIsolation, NIsolation)==
true)
return NIsolation;
150 if (
sc.isFailure() || !jetTES)
return -1.;
152 double track_eta = trackParticle->
eta();
153 double track_phi = trackParticle->
phi();
155 double jet_energy = 0.0;
156 double jet_eta = 0.0;
164 for(; jetItr != jetItrE; ++jetItr)
166 jet_eta = (*jetItr)->eta();
170 if ((0.01<
dr) && (
dr<0.4)) jet_energy+=(*jetItr)->pt();
Const iterator class for DataVector/DataList.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
virtual double pt() const =0
transverse momentum
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual double eta() const =0
pseudo rapidity
virtual double phi() const =0
phi in [-pi,pi[
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
constexpr int pow(int base, int exp) noexcept
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.