ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonG4
MuonSensitiveDetectorsR4
src
RpcSensitiveDetector.h
Go to the documentation of this file.
1
#ifndef MUONG4R4_RPCSensitiveDetector_H
2
#define MUONG4R4_RPCSensitiveDetector_H
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
#include "
MuonSensitiveDetector.h
"
7
8
#include <
MuonReadoutGeometryR4/RpcReadoutElement.h
>
9
10
namespace
MuonG4R4
{
17
class
RpcSensitiveDetector
:
public
MuonSensitiveDetector
{
18
public
:
20
using
MuonSensitiveDetector::MuonSensitiveDetector
;
22
~RpcSensitiveDetector
() =
default
;
24
virtual
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
25
private
:
30
const
MuonGMR4::RpcReadoutElement
*
getReadoutElement
(
const
G4TouchableHistory* touchHist)
const
;
37
Identifier
getIdentifier
(
const
ActsTrk::GeometryContext
& gctx,
38
const
MuonGMR4::RpcReadoutElement
* readOutEle,
39
const
Amg::Vector3D
& hitAtGapPlane)
const
;
40
};
41
}
42
#endif
RpcReadoutElement.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::RpcSensitiveDetector
Sensitive detector implementation to record G4 hits in the Rpc detectors.
Definition
RpcSensitiveDetector.h:17
MuonG4R4::RpcSensitiveDetector::getReadoutElement
const MuonGMR4::RpcReadoutElement * getReadoutElement(const G4TouchableHistory *touchHist) const
Retrieves the MuonReadoutElement associated to the rpc chamber in which the energy deposit is taking ...
Definition
RpcSensitiveDetector.cxx:85
MuonG4R4::RpcSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition
RpcSensitiveDetector.cxx:22
MuonG4R4::RpcSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::RpcReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gas gap in which the G4 hit produced.
Definition
RpcSensitiveDetector.cxx:59
MuonG4R4::RpcSensitiveDetector::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::RpcSensitiveDetector::~RpcSensitiveDetector
~RpcSensitiveDetector()=default
Default destructor.
MuonGMR4::RpcReadoutElement
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/RpcReadoutElement.h:17
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