ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonG4
MuonSensitiveDetectorsR4
src
MmSensitiveDetector.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_MMSENSITIVEDETECTOR_H
5
#define MUONSENSITIVEDETECTORSR4_MMSENSITIVEDETECTOR_H
6
7
#include "
MuonSensitiveDetector.h
"
8
9
10
#include <
MuonReadoutGeometryR4/MmReadoutElement.h
>
11
12
namespace
MuonG4R4
{
19
class
MmSensitiveDetector
:
public
MuonSensitiveDetector
{
20
public
:
22
using
MuonSensitiveDetector::MuonSensitiveDetector
;
24
~MmSensitiveDetector
() =
default
;
26
virtual
G4bool
ProcessHits
(G4Step* aStep, G4TouchableHistory* ROhist)
override
final
;
27
private
:
38
const
MuonGMR4::MmReadoutElement
*
getReadoutElement
(
const
ActsTrk::GeometryContext
& gctx,
39
const
G4TouchableHistory* touchHist)
const
;
46
Identifier
getIdentifier
(
const
ActsTrk::GeometryContext
& gctx,
47
const
MuonGMR4::MmReadoutElement
* readOutEle,
48
const
Amg::Vector3D
& hitAtGapPlane)
const
;
49
50
};
51
}
52
#endif
MmReadoutElement.h
MuonSensitiveDetector.h
ActsTrk::GeometryContext
Definition
GeometryContext.h:30
MuonG4R4::MmSensitiveDetector
Sensitive detector implementation to record G4 hits in the micromega detectors.
Definition
MmSensitiveDetector.h:19
MuonG4R4::MmSensitiveDetector::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::MmSensitiveDetector::getIdentifier
Identifier getIdentifier(const ActsTrk::GeometryContext &gctx, const MuonGMR4::MmReadoutElement *readOutEle, const Amg::Vector3D &hitAtGapPlane) const
Identify the gas gap in which the G4 hit produced.
Definition
MmSensitiveDetector.cxx:53
MuonG4R4::MmSensitiveDetector::ProcessHits
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override final
Definition
MmSensitiveDetector.cxx:27
MuonG4R4::MmSensitiveDetector::getReadoutElement
const MuonGMR4::MmReadoutElement * getReadoutElement(const ActsTrk::GeometryContext &gctx, const G4TouchableHistory *touchHist) const
Retrieves the readout element matching the Micromega multiplet in which the G4 energy depsoit is taki...
Definition
MmSensitiveDetector.cxx:72
MuonG4R4::MmSensitiveDetector::~MmSensitiveDetector
~MmSensitiveDetector()=default
Default destructor.
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::MmReadoutElement
Definition
MmReadoutElement.h:18
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