ATLAS Offline Software
MuonSpectrometer
MuonPhaseII
MuonG4
MuonSensitiveDetectorsR4
src
sTgcSensitiveDetector.h
Go to the documentation of this file.
1
#ifndef MUONG4R4_sTgcSensitiveDetector_H
2
#define MUONG4R4_sTgcSensitiveDetector_H
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
83
#include "
MuonSensitiveDetector.h
"
84
#include <
MuonReadoutGeometryR4/sTgcReadoutElement.h
>
85
86
namespace
MuonG4R4
{
87
88
class
sTgcSensitiveDetector
:
public
MuonSensitiveDetector
{
89
90
91
public
:
92
using
MuonSensitiveDetector::MuonSensitiveDetector
;
93
~sTgcSensitiveDetector
()=
default
;
94
96
virtual
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
97
98
99
private
:
101
const
MuonGMR4::sTgcReadoutElement
*
getReadoutElement
(
const
ActsGeometryContext
& gctx,
102
const
G4TouchableHistory* touchHist)
const
;
103
104
Identifier
getIdentifier
(
const
ActsGeometryContext
& gctx,
105
const
MuonGMR4::sTgcReadoutElement
* readOutEle,
106
const
Amg::Vector3D
& hitAtGapPlane,
107
sTgcIdHelper::sTgcChannelTypes
chType
)
const
;
108
};
109
}
110
#endif
MuonG4R4::sTgcSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsGeometryContext &gctx, const MuonGMR4::sTgcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane, sTgcIdHelper::sTgcChannelTypes chType) const
Definition:
sTgcSensitiveDetector.cxx:57
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
MuonG4R4::sTgcSensitiveDetector::~sTgcSensitiveDetector
~sTgcSensitiveDetector()=default
sTgcIdHelper::sTgcChannelTypes
sTgcChannelTypes
Definition:
sTgcIdHelper.h:190
sTgcReadoutElement.h
MuonG4R4
Include the common definitions from the MuonReadoutGeometry.
Definition:
MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h:14
MuonG4R4::MuonSensitiveDetector
Definition:
MuonSensitiveDetector.h:22
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition:
ActsGeometryContext.h:27
MuonSensitiveDetector.h
MuonG4R4::sTgcSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
member functions
Definition:
sTgcSensitiveDetector.cxx:29
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
MuonGMR4::sTgcReadoutElement
Definition:
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h:20
MuonG4R4::sTgcSensitiveDetector::getReadoutElement
const MuonGMR4::sTgcReadoutElement * getReadoutElement(const ActsGeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the matching readout element to a G4 hit.
Definition:
sTgcSensitiveDetector.cxx:75
MuonG4R4::sTgcSensitiveDetector
Definition:
sTgcSensitiveDetector.h:88
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Mon Sep 29 2025 21:19:12 for ATLAS Offline Software by
1.8.18