ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace 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
Handle class for recording to StoreGate.
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
const MuonGMR4::TgcReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the readout element that's associates with the TouchableHistory.
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::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 ...
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Eigen::Matrix< double, 3, 1 > Vector3D
Include the common definitions from the MuonReadoutGeometry.