ATLAS Offline Software
Loading...
Searching...
No Matches
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
82
84
86
87namespace MuonG4R4 {
88
90
91
92public:
95
96 G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
97
98
99private:
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
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
const MuonGMR4::RpcReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
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::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.
Eigen::Matrix< double, 3, 1 > Vector3D
Include the common definitions from the MuonReadoutGeometry.