4#ifndef MUONSENSITIVEDETECTORSR4_MMSENSITIVEDETECTOR_H
5#define MUONSENSITIVEDETECTORSR4_MMSENSITIVEDETECTOR_H
38 virtual G4bool
ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist)
override final;
44 const G4TouchableHistory* touchHist)
const;
const MuonGMR4::MmReadoutElement * getReadoutElement(const ActsTrk::GeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
member functions
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::MmReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gasGap layer of the hit.
~MmSensitiveDetector()=default
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Eigen::Matrix< double, 3, 1 > Vector3D
Include the common definitions from the MuonReadoutGeometry.