ATLAS Offline Software
RpcSensitiveDetector.h
Go to the documentation of this file.
1 #ifndef MUONG4R4_RPCSensitiveDetector_H
2 #define MUONG4R4_RPCSensitiveDetector_H
3 /*
4  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5 */
6 
83 #include "MuonSensitiveDetector.h"
84 
86 
87 namespace MuonG4R4 {
88 
90 
91 
92 public:
95 
96  G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
97 
98 
99 private:
101  const MuonGMR4::RpcReadoutElement* getReadoutElement(const G4TouchableHistory* touchHist) const;
104  const MuonGMR4::RpcReadoutElement* readOutEle,
105  const Amg::Vector3D& hitAtGapPlane, bool phiGap) const;
106 
107 };
108 
109 }
110 #endif
MuonG4R4::RpcSensitiveDetector::getReadoutElement
const MuonGMR4::RpcReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
Definition: RpcSensitiveDetector.cxx:90
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::RpcSensitiveDetector
Definition: RpcSensitiveDetector.h:89
MuonG4R4::RpcSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsGeometryContext &gctx, const MuonGMR4::RpcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane, bool phiGap) const
Extracts the gasGap Identifier of the hit expressed at the origin of the local gasGap system.
Definition: RpcSensitiveDetector.cxx:64
MuonGMR4::RpcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:17
MuonG4R4
Include the common definitions from the MuonReadoutGeometry.
Definition: MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h:14
MuonG4R4::MuonSensitiveDetector
Definition: MuonSensitiveDetector.h:22
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonG4R4::RpcSensitiveDetector::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition: RpcSensitiveDetector.cxx:28
MuonSensitiveDetector.h
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
RpcReadoutElement.h
MuonG4R4::RpcSensitiveDetector::~RpcSensitiveDetector
~RpcSensitiveDetector()=default
Identifier
Definition: IdentifierFieldParser.cxx:14