ATLAS Offline Software
Loading...
Searching...
No Matches
MmSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSENSITIVEDETECTORSR4_MMSENSITIVEDETECTOR_H
5#define MUONSENSITIVEDETECTORSR4_MMSENSITIVEDETECTOR_H
6
21
23
24
26
27namespace MuonG4R4 {
28
30
31
32 public:
34
36
38 virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
39
40
41 private:
44 const G4TouchableHistory* touchHist) const;
47 const MuonGMR4::MmReadoutElement* readOutEle,
48 const Amg::Vector3D& hitAtGapPlane) const;
49
50 };
51}
52#endif
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.
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.