|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRACKRECORD_TRACKRECORD_H
6 #define TRACKRECORD_TRACKRECORD_H
8 #include "CLHEP/Vector/ThreeVector.h"
26 const CLHEP::Hep3Vector& postition,
30 const std::string& volumeName)
158 #endif // TRACKRECORD_TRACKRECORD_H
void SetID(int uniqueID)
Set uniqueID.
TrackRecord(const TrackRecord &trc)
Constructor.
int id() const
unique ID - fall back to HepMcParticeLink if m_id has not been set directly
constexpr int INVALID_PARTICLE_ID
CLHEP::Hep3Vector m_position
TrackRecord & operator=(const TrackRecord &trc)
Assignement Operator.
int status() const
status.
void SetPDGCode(int pcode)
Set PDG code.
std::unique_ptr< HepMcParticleLink > m_partLink
void SetVolName(const std::string &theName)
Set Volume name.
virtual ~TrackRecord()=default
Default destructor.
double GetTime() const
Time.
CLHEP::Hep3Vector m_momentum
CLHEP::Hep3Vector GetPosition() const
Position.
void SetTime(double time)
Set time.
void SetPosition(CLHEP::Hep3Vector p)
Set position.
void SetBarcode(int barcode)
Set barcode.
constexpr int UNDEFINED_ID
TrackRecord()=default
Default constructor.
void SetMomentum(CLHEP::Hep3Vector e)
Set momentum.
double GetEnergy() const
Energy.
CLHEP::Hep3Vector GetMomentum() const
Momentum.
TrackRecord(int pdg, int status, double energy, const CLHEP::Hep3Vector &momentum, const CLHEP::Hep3Vector &postition, double time, int barcode, int id, const std::string &volumeName)
Constructor.
void SetStatus(int status)
Set status.
const std::string & GetVolName() const
Volume name.
int barcode() const
bar code.
def time(flags, cells_name, *args, **kw)
void SetEnergy(double e)
Set energy.
int GetPDGCode() const
PDG Code.