ATLAS Offline Software
Loading...
Searching...
No Matches
MuonG4R4 Namespace Reference

Include the common definitions from the MuonReadoutGeometry. More...

Classes

class  MdtSensitiveDetector
class  MdtSensitiveDetectorTool
 Tool implementation that creates the MDT sensitive detector. More...
class  MmSensitiveDetector
 Sensitive detector implementation to record G4 hits in the micromega detectors. More...
class  MmSensitiveDetectorTool
 Tool implementation that creates the Micromega sensitive detector. More...
class  MuonSensitiveDetector
class  MuonSensitiveDetectorTool
 Baseline MuonSensitive detector tool to store the sim hits. More...
class  RpcSensitiveDetector
 Sensitive detector implementation to record G4 hits in the Rpc detectors. More...
class  RpcSensitiveDetectorTool
 Tool implementation that creates the Rpc sensitive detector. More...
class  sTgcSensitiveDetector
 Sensitive detector implementation to record G4 hits in the sTgc detectors. More...
class  sTgcSensitiveDetectorTool
 Tool implementation that creates the sTgc sensitive detector. More...
class  TgcSensitiveDetector
 Sensitive detector implementation to record G4 hits in the Tgc detectors. More...
class  TgcSensitiveDetectorTool
 Tool implementation that creates the Tgc sensitive detector. More...

Typedefs

using MuonSimHitsVec
 Helper type which can be filled into the HitCollectionMap storing the event content in the event.

Functions

Amg::Transform3D getTransform (const G4VTouchable *history, unsigned int level)
 Extracts the local -> global transformation from a TouchableHistory at a given level.

Detailed Description

Include the common definitions from the MuonReadoutGeometry.

Basic MuonSensitiveDetector class from which all the other sensitive detectors inherit.

The base implementation provides the output container to store gate, creates the GeometryContext of interest and unifies the criteria whether a Step shall be processed or not. Finally, it keeps track whether a particle from a G4 step has already been recorded and updates then the last hit accordingly

Typedef Documentation

◆ MuonSimHitsVec

Initial value:
MuonSimHitAuxContainer_v1 MuonSimHitAuxContainer
Define the version of the pixel cluster container.
MuonSimHitContainer_v1 MuonSimHitContainer
Define the version of the pixel cluster container.
Helper for event-local xAOD hit collections with a separate auxiliary store.

Helper type which can be filled into the HitCollectionMap storing the event content in the event.

Definition at line 32 of file MuonSensitiveDetector.h.

Function Documentation

◆ getTransform()

Amg::Transform3D MuonG4R4::getTransform ( const G4VTouchable * history,
unsigned int level )
inline

Extracts the local -> global transformation from a TouchableHistory at a given level.

Parameters
historyPointer to the history of the G4 track
levelLevel inside the history - should not exceed GetNDepth() of the history
Returns
: The transformation to go from the local into the global coordinate frame

Definition at line 32 of file MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/MuonSensitiveDetectorsR4/Utils.h.

32 {
33 return Amg::Translation3D{Amg::Hep3VectorToEigen(history->GetTranslation(level))}*
34 Amg::CLHEPRotationToEigen(*history->GetRotation(level)).inverse();
35 }
Amg::Vector3D Hep3VectorToEigen(const CLHEP::Hep3Vector &CLHEPvector)
Converts a CLHEP-based CLHEP::Hep3Vector into an Eigen-based Amg::Vector3D.
RotationMatrix3D CLHEPRotationToEigen(const CLHEP::HepRotation &CLHEProtation)
Converts a CLHEP::HepRotation into an Eigen-based Amg::RotationMatrix3D.
Eigen::Translation< double, 3 > Translation3D