ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonG4
MuonSensitiveDetectorsR4
src
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
27
#include <
GeoPrimitives/GeoPrimitives.h
>
28
29
#include <
StoreGate/WriteHandle.h
>
30
#include <
MuonReadoutGeometryR4/MuonDetectorManager.h
>
31
#include <
xAODMuonSimHit/MuonSimHitContainer.h
>
32
#include <
AthenaBaseComps/AthMessaging.h
>
33
34
#include "
MuonSensitiveDetector.h
"
35
36
37
38
class
G4TouchableHistory;
39
40
41
namespace
MuonG4R4
{
42
43
44
class
MdtSensitiveDetector
:
public
MuonSensitiveDetector
{
45
public
:
47
using
MuonSensitiveDetector::MuonSensitiveDetector
;
49
~MdtSensitiveDetector
() =
default
;
51
virtual
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
52
private
:
57
const
MuonGMR4::MdtReadoutElement
*
getReadoutElement
(
const
G4TouchableHistory* touchHist)
const
;
65
Identifier
getIdentifier
(
const
ActsTrk::GeometryContext
& gctx,
66
const
MuonGMR4::MdtReadoutElement
* reElement,
67
const
G4TouchableHistory* touchHist)
const
;
68
};
69
70
}
71
#endif
AthMessaging.h
GeoPrimitives.h
MuonDetectorManager.h
MuonSensitiveDetector.h
MuonSimHitContainer.h
WriteHandle.h
Handle class for recording to StoreGate.
ActsTrk::GeometryContext
Definition
GeometryContext.h:30
MuonG4R4::MdtSensitiveDetector
Definition
MdtSensitiveDetector.h:44
MuonG4R4::MdtSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition
MdtSensitiveDetector.cxx:48
MuonG4R4::MdtSensitiveDetector::MuonSensitiveDetector
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.
Definition
MuonSensitiveDetector.cxx:27
MuonG4R4::MdtSensitiveDetector::~MdtSensitiveDetector
~MdtSensitiveDetector()=default
Default destructor.
MuonG4R4::MdtSensitiveDetector::getIdentifier
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.
Definition
MdtSensitiveDetector.cxx:106
MuonG4R4::MdtSensitiveDetector::getReadoutElement
const MuonGMR4::MdtReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the MuonReadoutElement associated to the multilayer in which the energy deposit is taking p...
Definition
MdtSensitiveDetector.cxx:22
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:27
MuonGMR4::MdtReadoutElement
Readout element to describe the Monitored Drift Tube (Mdt) chambers Mdt chambers usually comrpise out...
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MdtReadoutElement.h:25
Identifier
Definition
IdentifierFieldParser.cxx:14
MuonG4R4
Include the common definitions from the MuonReadoutGeometry.
Definition
MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h:22
Generated on
for ATLAS Offline Software by
1.17.0