ATLAS Offline Software
Loading...
Searching...
No Matches
MdtSensitiveDetector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONSENSITIVEDETECTORSR4_MDTSENSITIVEDETECTOR_H
5#define MUONSENSITIVEDETECTORSR4_MDTSENSITIVEDETECTOR_H
6
7
26
28
33
35
36
37
38class G4TouchableHistory;
39
40
41namespace MuonG4R4 {
42
43
45 public:
51 virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override final;
52 private:
57 const MuonGMR4::MdtReadoutElement* getReadoutElement(const G4TouchableHistory* touchHist) const;
66 const MuonGMR4::MdtReadoutElement* reElement,
67 const G4TouchableHistory* touchHist) const;
68 };
69
70}
71#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)
Recylce the constructor from the MuonSensitiveDetector.
~MdtSensitiveDetector()=default
Default destructor.
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::MdtReadoutElement *reElement, const G4TouchableHistory *touchHist) const
Constructs the identifier of the actual tube where the energy deposit is taking place.
const MuonGMR4::MdtReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the MuonReadoutElement associated to the multilayer in which the energy deposit is taking p...
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Constructor.
Readout element to describe the Monitored Drift Tube (Mdt) chambers Mdt chambers usually comrpise out...
Include the common definitions from the MuonReadoutGeometry.