ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSimHitSortingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSIMHITSORTING_MUONSIMHITSORTINGALG_H
5#define MUONSIMHITSORTING_MUONSIMHITSORTINGALG_H
6
12
14 public:
15 using AthReentrantAlgorithm::AthReentrantAlgorithm;
16
18
19 StatusCode execute(const EventContext& ctx) const override;
20 StatusCode initialize() override;
21 private:
24
25 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
26 Gaudi::Property<bool> m_writeDeepCopy{this, "deepCopy", false,
27 "If set to true. A new xAOD container is created instead of a VIEW_ELEMENTS version"};
28 Gaudi::Property<bool> m_removeDuplicates{this, "removeDuplicates", true,
29 "If set to true. Duplcates of primary hits in the same sensitive detector are removed"};
30};
31
32
33#endif
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_removeDuplicates
SG::ReadHandleKeyArray< xAOD::MuonSimHitContainer > m_readKeys
StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< xAOD::MuonSimHitContainer > m_writeKey
Gaudi::Property< bool > m_writeDeepCopy
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
~MuonSimHitSortingAlg()=default
StatusCode initialize() override
Property holding a SG store/key/clid from which a WriteHandle is made.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray