ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
82
83
#include "
MuonSensitiveDetector.h
"
84
#include <
MuonReadoutGeometryR4/sTgcReadoutElement.h
>
85
86
namespace
MuonG4R4
{
93
class
sTgcSensitiveDetector
:
public
MuonSensitiveDetector
{
94
public
:
96
using
MuonSensitiveDetector::MuonSensitiveDetector
;
98
~sTgcSensitiveDetector
()=
default
;
100
virtual
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
101
private
:
106
const
MuonGMR4::sTgcReadoutElement
*
getReadoutElement
(
const
ActsTrk::GeometryContext
& gctx,
107
const
G4TouchableHistory* touchHist)
const
;
114
Identifier
getIdentifier
(
const
ActsTrk::GeometryContext
& gctx,
115
const
MuonGMR4::sTgcReadoutElement
* readOutEle,
116
const
Amg::Vector3D
& hitAtGapPlane)
const
;
117
};
118
}
119
#endif
sTgcReadoutElement.h
MuonSensitiveDetector.h
ActsTrk::GeometryContext
Definition
GeometryContext.h:30
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
MuonG4R4::sTgcSensitiveDetector
Sensitive detector implementation to record G4 hits in the sTgc detectors.
Definition
sTgcSensitiveDetector.h:93
MuonG4R4::sTgcSensitiveDetector::MuonSensitiveDetector
MuonSensitiveDetector(const std::string &name, const std::string &output_key, const std::string &trf_storeKey, const MuonGMR4::MuonDetectorManager *detMgr)
Recycle the constructor from the MuonSensitiveDetector.
Definition
MuonSensitiveDetector.cxx:27
MuonG4R4::sTgcSensitiveDetector::getReadoutElement
const MuonGMR4::sTgcReadoutElement * getReadoutElement(const ActsTrk::GeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the MuonReadoutElement associated to the rpc chamber in which the energy deposit is taking ...
Definition
sTgcSensitiveDetector.cxx:71
MuonG4R4::sTgcSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::sTgcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gas gap in which the G4 hit produced.
Definition
sTgcSensitiveDetector.cxx:53
MuonG4R4::sTgcSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition
sTgcSensitiveDetector.cxx:26
MuonG4R4::sTgcSensitiveDetector::~sTgcSensitiveDetector
~sTgcSensitiveDetector()=default
Default destructor.
MuonGMR4::sTgcReadoutElement
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/sTgcReadoutElement.h:20
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
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