 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 declareInterface<IInsituTrackTools>(
this);
39 float TrackPTIsolation1 = 0.0;
50 float TrackPTIsolation1 = 0.0;
64 return (tvec1+tvec2).M();
90 double dphi = std::abs(track1->
phi()-track2->
phi());
91 if (dphi>
M_PI) dphi = std::abs(dphi-2.0*
M_PI);
99 if (
sc.isFailure() || !trackTES)
return false;
104 double track_eta = trackParticle->
eta();
105 double track_phi = trackParticle->
phi();
113 for (; trackItr != trackItrE; ++trackItr)
116 id_eta = (*trackItr)->eta();
117 id_phi = (*trackItr)->phi();
120 if ((0.01<
dr) && (
dr<0.4))
123 PtIsolation+=(*trackItr)->pt();
134 if (
getTrackIsolation(trackParticle, PtIsolation, NIsolation)==
true)
return PtIsolation;
142 if (
getTrackIsolation(trackParticle, PtIsolation, NIsolation)==
true)
return NIsolation;
151 if (
sc.isFailure() || !jetTES)
return -1.;
153 double track_eta = trackParticle->
eta();
154 double track_phi = trackParticle->
phi();
156 double jet_energy = 0.0;
157 double jet_eta = 0.0;
165 for(; jetItr != jetItrE; ++jetItr)
167 jet_eta = (*jetItr)->eta();
171 if ((0.01<
dr) && (
dr<0.4)) jet_energy+=(*jetItr)->pt();
Const iterator class for DataVector/DataList.
constexpr double muonMassInMeV
the mass of the muon (in MeV)
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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.