ATLAS Offline Software
Loading...
Searching...
No Matches
sTgcSensitiveDetector.h
Go to the documentation of this file.
1#ifndef MUONG4R4_sTgcSensitiveDetector_H
2#define MUONG4R4_sTgcSensitiveDetector_H
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
82
85
86namespace MuonG4R4 {
94 public:
100 virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
101 private:
107 const G4TouchableHistory* touchHist) const;
115 const MuonGMR4::sTgcReadoutElement* readOutEle,
116 const Amg::Vector3D& hitAtGapPlane) const;
117 };
118}
119#endif
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Sensitive detector implementation to record G4 hits in the sTgc detectors.
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Recycle the constructor from the MuonSensitiveDetector.
const MuonGMR4::sTgcReadoutElement * getReadoutElement(const ActsTrk::GeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the MuonReadoutElement associated to the rpc chamber in which the energy deposit is taking ...
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::sTgcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gas gap in which the G4 hit produced.
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
~sTgcSensitiveDetector()=default
Default destructor.
Eigen::Matrix< double, 3, 1 > Vector3D
Include the common definitions from the MuonReadoutGeometry.