![]() |
ATLAS Offline Software
|
#include <MuonSimHit_v1.h>
Public Member Functions | |
| MuonSimHit_v1 ()=default | |
| MuonSimHit_v1 & | operator= (const MuonSimHit_v1 &other) |
| void | setLocalPosition (MeasVector< 3 > vec) |
| Sets the local position of the traversing particle. | |
| ConstVectorMap< 3 > | localPosition () const |
| Returns the local postion of the traversing particle. | |
| void | setLocalDirection (MeasVector< 3 > vec) |
| Sets the local direction of the traversing particle. | |
| ConstVectorMap< 3 > | localDirection () const |
| Returns the local direction of the traversing particle. | |
| float | stepLength () const |
| Returns the path length of the G4 step. | |
| void | setStepLength (const float length) |
| Set the path length of the G4 step. | |
| float | mass () const |
| Returns the rest-mass of the traversing particle. | |
| void | setMass (const float m) |
| set the rest-mass of the traversing particle | |
| float | kineticEnergy () const |
| Returns the kinetic energy of the traversing particle. | |
| void | setKineticEnergy (const float energy) |
| Sets the kinetic energy of the traversing particle. | |
| float | beta () const |
| returns beta (fraction of speed of light) | |
| float | globalTime () const |
| Returns the time ellapsed since the collision of the traversing particle. | |
| void | setGlobalTime (const float time) |
| Sets the time of the traversing particle. | |
| int | pdgId () const |
| Returns the pdgID of the traversing particle. | |
| int | pdg_id () const |
| void | setPdgId (int id) |
| Sets the pdgID of the traversing particle. | |
| Identifier | identify () const |
| Returns the global ATLAS identifier of the SimHit. | |
| void | setIdentifier (const Identifier &id) |
| Sets the global ATLAS identifier. | |
| float | energyDeposit () const |
| Returns the energy deposited by the traversing particle inside the gas volume. | |
| void | setEnergyDeposit (const float deposit) |
| Sets the energy deposited by the traversing particle inside the gas volume. | |
| const HepMcParticleLink & | genParticleLink () const |
| Returns the link to the HepMC particle producing this hit. | |
| std::unique_ptr< const HepMcParticleLink > | releaseParticleLink () |
| Return the pointer to the HepMC particle link and resets the cache. | |
| void | setGenParticleLink (const HepMcParticleLink &link) |
| Sets the link to the HepMC particle producing this hit. | |
Private Attributes | |
| CxxUtils::CachedUniquePtr< HepMcParticleLink > | m_hepMCLink {} |
Definition at line 17 of file MuonSimHit_v1.h.
|
default |
| float xAOD::MuonSimHit_v1::beta | ( | ) | const |
returns beta (fraction of speed of light)
Definition at line 52 of file MuonSimHit_V1.cxx.
| float xAOD::MuonSimHit_v1::energyDeposit | ( | ) | const |
Returns the energy deposited by the traversing particle inside the gas volume.
| const HepMcParticleLink & xAOD::MuonSimHit_v1::genParticleLink | ( | ) | const |
Returns the link to the HepMC particle producing this hit.
Definition at line 68 of file MuonSimHit_V1.cxx.
| float xAOD::MuonSimHit_v1::globalTime | ( | ) | const |
Returns the time ellapsed since the collision of the traversing particle.
| Identifier xAOD::MuonSimHit_v1::identify | ( | ) | const |
Returns the global ATLAS identifier of the SimHit.
Definition at line 42 of file MuonSimHit_V1.cxx.
| float xAOD::MuonSimHit_v1::kineticEnergy | ( | ) | const |
Returns the kinetic energy of the traversing particle.
| ConstVectorMap< 3 > xAOD::MuonSimHit_v1::localDirection | ( | ) | const |
Returns the local direction of the traversing particle.
Definition at line 66 of file MuonSimHit_V1.cxx.
| ConstVectorMap< 3 > xAOD::MuonSimHit_v1::localPosition | ( | ) | const |
Returns the local postion of the traversing particle.
Definition at line 60 of file MuonSimHit_V1.cxx.
| float xAOD::MuonSimHit_v1::mass | ( | ) | const |
Returns the rest-mass of the traversing particle.
| MuonSimHit_v1 & xAOD::MuonSimHit_v1::operator= | ( | const MuonSimHit_v1 & | other | ) |
Definition at line 33 of file MuonSimHit_V1.cxx.
|
inline |
Definition at line 54 of file MuonSimHit_v1.h.
| int xAOD::MuonSimHit_v1::pdgId | ( | ) | const |
Returns the pdgID of the traversing particle.
| std::unique_ptr< const HepMcParticleLink > xAOD::MuonSimHit_v1::releaseParticleLink | ( | ) |
Return the pointer to the HepMC particle link and resets the cache.
Definition at line 84 of file MuonSimHit_V1.cxx.
Sets the energy deposited by the traversing particle inside the gas volume.
| void xAOD::MuonSimHit_v1::setGenParticleLink | ( | const HepMcParticleLink & | link | ) |
Sets the link to the HepMC particle producing this hit.
Definition at line 78 of file MuonSimHit_V1.cxx.
Sets the time of the traversing particle.
| void xAOD::MuonSimHit_v1::setIdentifier | ( | const Identifier & | id | ) |
Sets the global ATLAS identifier.
Definition at line 43 of file MuonSimHit_V1.cxx.
Sets the kinetic energy of the traversing particle.
| void xAOD::MuonSimHit_v1::setLocalDirection | ( | MeasVector< 3 > | vec | ) |
Sets the local direction of the traversing particle.
Definition at line 62 of file MuonSimHit_V1.cxx.
| void xAOD::MuonSimHit_v1::setLocalPosition | ( | MeasVector< 3 > | vec | ) |
Sets the local position of the traversing particle.
Definition at line 56 of file MuonSimHit_V1.cxx.
| void xAOD::MuonSimHit_v1::setPdgId | ( | int | id | ) |
Sets the pdgID of the traversing particle.
| float xAOD::MuonSimHit_v1::stepLength | ( | ) | const |
Returns the path length of the G4 step.
|
private |
Definition at line 77 of file MuonSimHit_v1.h.