|
ATLAS Offline Software
|
Go to the documentation of this file.
29 return StatusCode::SUCCESS;
34 if (!trkCont.isValid()) {
36 return StatusCode::FAILURE;
47 std::vector<std::vector<unsigned int>>& chId = acc_ChId(*
tp);
48 std::vector<float>& deltaTrans = acc_DeltaTrans(*
tp);
49 std::vector<float>& sigmaDeltaTrans = acc_SigmaDeltaTrans(*
tp);
50 std::vector<float>& deltaAngle = acc_deltaAngle(*
tp);
51 std::vector<float>& sigmaDeltaAngle = acc_sigmaDeltaAngle(*
tp);
62 std::set<unsigned int> chIdSet;
67 std::vector<unsigned int> chIdVec;
68 std::copy(chIdSet.begin(), chIdSet.end(), std::back_inserter(chIdVec));
69 chId.push_back(std::move(chIdVec));
76 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTransKey
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
const std::vector< Identifier > & vectorOfAffectedTSOS() const
Returns a vector of the affected TSOS in the track.
double deltaAngle() const
returns the
const std::string & key() const
Return the StoreGate ID for the referenced object.
MuonTrkAEOTDecorationAlg(const std::string &name, ISvcLocator *pSvcLocator)
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis...
@ Alignment
This TSOS contains a Trk::AlignmentEffectsOnTrack.
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode execute(const EventContext &ctx) const override
represents the track state (measurement, material, fit parameters and quality) at a surface.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chIdKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaAngleKey
double sigmaDeltaTranslation() const
returns the
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
double deltaTranslation() const
returns the
Class describing a TrackParticle.
Handle class for reading from StoreGate.
double sigmaDeltaAngle() const
returns the
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTransKey