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