ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TrueHitInChamb Struct Reference

Helper struct to map all muons in the same chamber. More...

Collaboration diagram for TrueHitInChamb:

Public Member Functions

bool operator< (const TrueHitInChamb &other) const
 

Public Attributes

Identifier stationId {}
 
Amg::Vector3D lDir {Amg::Vector3D::Zero()}
 
Amg::Vector3D lPos {Amg::Vector3D::Zero()}
 
const xAOD::MuonSimHitsimHit {}
 

Detailed Description

Helper struct to map all muons in the same chamber.

Definition at line 15 of file SimHitCsvDumperAlg.cxx.

Member Function Documentation

◆ operator<()

bool TrueHitInChamb::operator< ( const TrueHitInChamb other) const
inline

Definition at line 20 of file SimHitCsvDumperAlg.cxx.

20  {
21  if (stationId != other.stationId) return stationId < other.stationId;
22  return simHit->genParticleLink().barcode() < other.simHit->genParticleLink().barcode();
23  }

Member Data Documentation

◆ lDir

Amg::Vector3D TrueHitInChamb::lDir {Amg::Vector3D::Zero()}

Definition at line 17 of file SimHitCsvDumperAlg.cxx.

◆ lPos

Amg::Vector3D TrueHitInChamb::lPos {Amg::Vector3D::Zero()}

Definition at line 18 of file SimHitCsvDumperAlg.cxx.

◆ simHit

const xAOD::MuonSimHit* TrueHitInChamb::simHit {}

Definition at line 19 of file SimHitCsvDumperAlg.cxx.

◆ stationId

Identifier TrueHitInChamb::stationId {}

Definition at line 16 of file SimHitCsvDumperAlg.cxx.


The documentation for this struct was generated from the following file:
TrueHitInChamb::simHit
const xAOD::MuonSimHit * simHit
Definition: SimHitCsvDumperAlg.cxx:19
xAOD::MuonSimHit_v1::genParticleLink
const HepMcParticleLink & genParticleLink() const
Returns the link to the HepMC particle producing this hit.
Definition: xAODMuonSimHit_V1.cxx:67
TrueHitInChamb::stationId
Identifier stationId
Definition: SimHitCsvDumperAlg.cxx:16
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16