ATLAS Offline Software
TgcSensitiveDetector.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 MUONG4R4_TGCSensitiveDetector_H
5 #define MUONG4R4_TGCSensitiveDetector_H
6 
8 
14 
15 namespace MuonG4R4 {
16 
18  public:
21 
22  virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
23 
24 
25  private:
29  const MuonGMR4::TgcReadoutElement* getReadoutElement(const G4TouchableHistory* touchHist) const;
36  const MuonGMR4::TgcReadoutElement* readOutEle,
37  const Amg::Vector3D& hitAtGapPlane, bool phiGap) const;
38 };
39 }
40 
41 #endif
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
WriteHandle.h
Handle class for recording to StoreGate.
MuonG4R4
Include the common definitions from the MuonReadoutGeometry.
Definition: MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h:14
MuonG4R4::MuonSensitiveDetector
Definition: MuonSensitiveDetector.h:22
MuonDetectorManager.h
MuonSimHitContainer.h
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonG4R4::TgcSensitiveDetector
Definition: TgcSensitiveDetector.h:17
MuonSensitiveDetector.h
MuonG4R4::TgcSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsGeometryContext &gctx, const MuonGMR4::TgcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane, bool phiGap) const
Constructs the Identifier of the gasGap using the readoutElement and the hit expressed in it's local ...
Definition: TgcSensitiveDetector.cxx:70
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonG4R4::TgcSensitiveDetector::~TgcSensitiveDetector
~TgcSensitiveDetector()=default
AthMessaging.h
MuonG4R4::TgcSensitiveDetector::getReadoutElement
const MuonGMR4::TgcReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the readout element that's associates with the TouchableHistory.
Definition: TgcSensitiveDetector.cxx:50
TgcReadoutElement.h
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:19
MuonG4R4::TgcSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition: TgcSensitiveDetector.cxx:21
Identifier
Definition: IdentifierFieldParser.cxx:14