ATLAS Offline Software
Loading...
Searching...
No Matches
TrackBarcodeInfo.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MCTRUTH_TRACKBARCODEINFO_H
6#define MCTRUTH_TRACKBARCODEINFO_H
7
8#include "VTrackInformation.h"
9
10namespace ISF {
11 class ISFParticle;
12}
13
29public:
30 TrackBarcodeInfo(int uid, int bc, ISF::ISFParticle* baseIsp=0);
31
36 virtual const ISF::ISFParticle *GetBaseISFParticle() const override {return m_theBaseISFParticle;}
38
45 virtual void SetBaseISFParticle(ISF::ISFParticle*) override;
46
51 virtual bool GetReturnedToISF() const override {return m_returnedToISF;}
56 virtual void SetReturnedToISF(bool returned) override;
57
58 virtual int GetParticleBarcode() const override {return m_barcode;} // TODO Drop this once UniqueID and Status are used instead
59 virtual int GetParticleUniqueID() const override {return m_uniqueID;}
60 virtual int GetParticleStatus() const override {return m_status;}
61private:
63 int m_barcode; // TODO Drop this once UniqueID and Status are used instead
65 int m_status{0}; //FIXME
67};
68
69
70#endif // MCTRUTH_TRACKBARCODEINFO_H
The generic ISF particle definition,.
Definition ISFParticle.h:42
virtual const ISF::ISFParticle * GetBaseISFParticle() const override
return a pointer to the ISFParticle corresponding to the current G4Track.
virtual int GetParticleUniqueID() const override
virtual void SetBaseISFParticle(ISF::ISFParticle *) override
set the pointer to the ISFParticle corresponding to the current G4Track.
virtual int GetParticleBarcode() const override
ISF::ISFParticle * m_theBaseISFParticle
virtual ISF::ISFParticle * GetBaseISFParticle() override
virtual int GetParticleStatus() const override
virtual void SetReturnedToISF(bool returned) override
Flag whether the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF...
virtual bool GetReturnedToISF() const override
Is the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF?
TrackBarcodeInfo(int uid, int bc, ISF::ISFParticle *baseIsp=0)
VTrackInformation(TrackClassification tc=Primary)
ISFParticleOrderedQueue.