ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSensitiveDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONG4R4_MUONSENSITIVEDETECTORTOOL_H
5#define MUONG4R4_MUONSENSITIVEDETECTORTOOL_H
6
7
13
14
15namespace MuonG4R4 {
24
25 public:
31 virtual StatusCode initialize() override final;
33 virtual StatusCode SetupEvent(HitCollectionMap& hitCollections) override final;
35 virtual StatusCode Gather(HitCollectionMap& hitCollections) override final;
38 const MuonGMR4::MuonDetectorManager* m_detMgr{nullptr};
40 Gaudi::Property<std::string> m_alignStoreKey{this, "AlignStoreKey", ""};
41 };
42}
43#endif
Small wrapper around hit collection map to facilitate accessing the hit collection.
Baseline MuonSensitive detector tool to store the sim hits.
virtual StatusCode initialize() override final
Gaudi::Property< std::string > m_alignStoreKey
: Key to the alignment / transform store per event.
virtual StatusCode SetupEvent(HitCollectionMap &hitCollections) override final
Beginning of an athena event.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Use the standard AthAlgTool constructors.
const MuonGMR4::MuonDetectorManager * m_detMgr
The muon detector manager to retrieve the sensitive elements.
virtual StatusCode Gather(HitCollectionMap &hitCollections) override final
End of an athena event.
~MuonSensitiveDetectorTool()=default
Default the destructor.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Include the common definitions from the MuonReadoutGeometry.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
#define protected
Definition testRead.cxx:26