|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODMUONSIMHIT_VERSION_MUONSIMHIT_V1_H
6 #define XAODMUONSIMHIT_VERSION_MUONSIMHIT_V1_H
10 #include <Identifier/Identifier.h>
void setIdentifier(const Identifier &id)
Sets the global ATLAS identifier.
Identifier identify() const
Returns the global ATLAS identifier of the SimHit.
Base class for elements of a container that can have aux data.
void setPdgId(int id)
Sets the pdgID of the traversing particle.
Cached pointer with atomic update.
float globalTime() const
Returns the time ellapsed since the collision of the traversing particle.
CxxUtils::CachedUniquePtr< HepMcParticleLink > m_hepMCLink
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setLocalPosition(MeasVector< 3 > vec)
Sets the local position of the traversing particle.
std::vector< size_t > vec
void setGenParticleLink(const HepMcParticleLink &link)
Sets the link to the HepMC particle producing this hit.
int pdgId() const
Returns the pdgID of the traversing particle.
void setMass(const float m)
set the rest-mass of the traversing particle
float beta() const
returns beta (fraction of speed of light)
MuonSimHit_v1 & operator=(const MuonSimHit_v1 &other)
a link optimized in size for a GenParticle in a McEventCollection
float kineticEnergy() const
Returns the kinetic energy of the traversing particle.
void setKineticEnergy(const float energy)
Sets the kinetic energy of the traversing particle.
const HepMcParticleLink & genParticleLink() const
Returns the link to the HepMC particle producing this hit.
Cached unique_ptr with atomic update.
ConstVectorMap< 3 > localDirection() const
Returns the local direction of the traversing particle.
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
DATAVECTOR_BASE(xAOD::MuonSimHit_v1, SG::AuxElement)
void setEnergyDeposit(const float deposit)
Sets the energy deposited by the traversing particle inside the gas volume.
void setLocalDirection(MeasVector< 3 > vec)
Sets the local direction of the traversing particle.
An STL vector of pointers that by default owns its pointed-to elements.
ConstVectorMap< 3 > localPosition() const
Returns the local postion of the traversing particle.
float energyDeposit() const
Returns the energy deposited by the traversing particle inside the gas volume.
float mass() const
Returns the rest-mass of the traversing particle.
void setGlobalTime(const float time)
Sets the time of the traversing particle.
Eigen::Map< const MeasVector< N > > ConstVectorMap