ATLAS Offline Software
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 
22 #include "MuonSensitiveDetector.h"
23 
24 
26 
27 namespace 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
MuonGMR4::MmReadoutElement
Definition: MmReadoutElement.h:18
MuonG4R4::MuonSensitiveDetector::MuonSensitiveDetector
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Definition: MuonSensitiveDetector.cxx:26
MuonG4R4::MmSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsGeometryContext &gctx, const MuonGMR4::MmReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gasGap layer of the hit.
Definition: MmSensitiveDetector.cxx:57
MuonG4R4
Include the common definitions from the MuonReadoutGeometry.
Definition: MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h:14
MuonG4R4::MuonSensitiveDetector
Definition: MuonSensitiveDetector.h:22
MuonG4R4::MmSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
member functions
Definition: MmSensitiveDetector.cxx:32
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonSensitiveDetector.h
MuonG4R4::MmSensitiveDetector
Definition: MmSensitiveDetector.h:29
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonG4R4::MmSensitiveDetector::getReadoutElement
const MuonGMR4::MmReadoutElement * getReadoutElement(const ActsGeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
Definition: MmSensitiveDetector.cxx:76
MuonG4R4::MmSensitiveDetector::~MmSensitiveDetector
~MmSensitiveDetector()=default
MmReadoutElement.h
Identifier
Definition: IdentifierFieldParser.cxx:14