|
ATLAS Offline Software
|
Go to the documentation of this file.
13 constexpr
float dummy_val = -999.;
43 return StatusCode::SUCCESS;
48 if (!trkCont.isValid()) {
50 return StatusCode::FAILURE;
63 dec_deltaphi_1(*
tp) = dummy_val;
64 dec_deltatheta_1(*
tp) = dummy_val;
65 dec_sigmadeltaphi_1(*
tp) = dummy_val;
66 dec_sigmadeltatheta_1(*
tp) = dummy_val;
68 dec_deltaphi_0(*
tp) = dummy_val;
69 dec_deltatheta_0(*
tp) = dummy_val;
70 dec_sigmadeltaphi_0(*
tp) = dummy_val;
71 dec_sigmadeltatheta_0(*
tp) = dummy_val;
73 if (!
tp->track() || !
tp->track()->trackStateOnSurfaces())
continue;
75 if (tsos->materialEffectsOnTrack()) {
84 }
else if (nscatter == 1) {
93 if (nscatter > 1)
break;
96 return StatusCode::SUCCESS;
double deltaPhi() const
returns the
virtual StatusCode execute(const EventContext &ctx) const override
const std::string & key() const
Return the StoreGate ID for the referenced object.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTheta1Key
represents the full description of deflection and e-loss of a track in material.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTheta1Key
double sigmaDeltaTheta() const
returns the
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaPhi0Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTheta0Key
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
double deltaE() const
returns the
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaPhi1Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaPhi1Key
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
represents the track state (measurement, material, fit parameters and quality) at a surface.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaPhi0Key
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTheta0Key
const EnergyLoss * energyLoss() const
returns the energy loss object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
const ScatteringAngles * scatteringAngles() const
returns the MCS-angles object.
double sigmaDeltaPhi() const
returns the
Class describing a TrackParticle.
double deltaTheta() const
returns the
Handle class for reading from StoreGate.
MuonTrkIDMSScatterDecorAlg(const std::string &name, ISvcLocator *pSvcLocator)