ATLAS Offline Software
Loading...
Searching...
No Matches
MdtSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSENSITIVEDETECTORSR4_MDTSENSITIVEDETECTOR_H
5#define MUONSENSITIVEDETECTORSR4_MDTSENSITIVEDETECTOR_H
6
7
69
71
76
78
79
80
81class G4TouchableHistory;
82
83
84namespace MuonG4R4 {
85
86
88
89 public:
91
93
94 virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
95
96 private:
98 const MuonGMR4::MdtReadoutElement* getReadoutElement(const G4TouchableHistory* touchHist) const;
101 const MuonGMR4::MdtReadoutElement* reElement,
102 const G4TouchableHistory* touchHist) const;
103 };
104
105}
106#endif
Handle class for recording to StoreGate.
virtual 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::MdtReadoutElement *reElement, const G4TouchableHistory *touchHist) const
Retrieves from the Readoutelement & the touchable history the Identifier.
const MuonGMR4::MdtReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Include the common definitions from the MuonReadoutGeometry.