ATLAS Offline Software
MuonSimHitSortingAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONSIMHITSORTING_MUONSIMHITSORTINGALG_H
5 #define MUONSIMHITSORTING_MUONSIMHITSORTINGALG_H
6 
12 
14  public:
15  MuonSimHitSortingAlg(const std::string& name, ISvcLocator* pSvcLocator);
16 
17  ~MuonSimHitSortingAlg() = default;
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
ReadHandleKeyArray.h
MuonSimHitSortingAlg::m_readKeys
SG::ReadHandleKeyArray< xAOD::MuonSimHitContainer > m_readKeys
Definition: MuonSimHitSortingAlg.h:22
MuonSimHitSortingAlg::~MuonSimHitSortingAlg
~MuonSimHitSortingAlg()=default
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
MuonSimHitSortingAlg::m_writeKey
SG::WriteHandleKey< xAOD::MuonSimHitContainer > m_writeKey
Definition: MuonSimHitSortingAlg.h:23
MuonSimHitSortingAlg::initialize
StatusCode initialize() override
Definition: MuonSimHitSortingAlg.cxx:21
MuonSimHitSortingAlg
Definition: MuonSimHitSortingAlg.h:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonSimHitContainer.h
MuonSimHitSortingAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonSimHitSortingAlg.h:25
MuonSimHitSortingAlg::m_writeDeepCopy
Gaudi::Property< bool > m_writeDeepCopy
Definition: MuonSimHitSortingAlg.h:26
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonSimHitSortingAlg::MuonSimHitSortingAlg
MuonSimHitSortingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MuonSimHitSortingAlg.cxx:18
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MuonSimHitSortingAlg::execute
StatusCode execute(const EventContext &ctx) const override
Definition: MuonSimHitSortingAlg.cxx:31
MuonSimHitSortingAlg::m_removeDuplicates
Gaudi::Property< bool > m_removeDuplicates
Definition: MuonSimHitSortingAlg.h:28
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >