22 return StatusCode::SUCCESS;
29 return StatusCode::FAILURE;
41 std::vector<std::vector<unsigned int>>& chId = acc_ChId(*tp);
42 std::vector<float>& deltaTrans = acc_DeltaTrans(*tp);
43 std::vector<float>& sigmaDeltaTrans = acc_SigmaDeltaTrans(*tp);
44 std::vector<float>& deltaAngle = acc_deltaAngle(*tp);
45 std::vector<float>& sigmaDeltaAngle = acc_sigmaDeltaAngle(*tp);
56 std::set<unsigned int> chIdSet{};
61 std::vector<unsigned int> chIdVec{};
62 chIdVec.insert(chIdVec.end(), chIdSet.begin(), chIdSet.end());
63 chId.push_back(std::move(chIdVec));
70 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
Handle class for adding a decoration to an object.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrkContainer
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_chIdKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaTransKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_sigmaDeltaAngleKey
SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > m_deltaAngleKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Handle class for adding a decoration to an object.
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis...
double sigmaDeltaAngle() const
returns the
const std::vector< Identifier > & vectorOfAffectedTSOS() const
Returns a vector of the affected TSOS in the track.
double deltaAngle() const
returns the
double sigmaDeltaTranslation() const
returns the
double deltaTranslation() const
returns the
represents the track state (measurement, material, fit parameters and quality) at a surface.
@ Alignment
This TSOS contains a Trk::AlignmentEffectsOnTrack.
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
constexpr int toInt(const EnumType enumVal)
TrackParticle_v1 TrackParticle
Reference the current persistent version: