1#ifndef MUONG4R4_sTgcSensitiveDetector_H
2#define MUONG4R4_sTgcSensitiveDetector_H
100 virtual G4bool
ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist)
override final;
107 const G4TouchableHistory* touchHist)
const;
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.