ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Sim
MCTruth
MCTruth
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
10
namespace
ISF
{
11
class
ISFParticle
;
12
}
13
28
class
TrackBarcodeInfo
:
public
VTrackInformation
{
29
public
:
30
TrackBarcodeInfo
(
int
uid,
int
bc,
ISF::ISFParticle
* baseIsp=0);
31
36
virtual
const
ISF::ISFParticle
*
GetBaseISFParticle
()
const override
{
return
m_theBaseISFParticle
;}
37
virtual
ISF::ISFParticle
*
GetBaseISFParticle
()
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
;}
61
private
:
62
ISF::ISFParticle
*
m_theBaseISFParticle
{};
63
int
m_barcode
;
// TODO Drop this once UniqueID and Status are used instead
64
int
m_uniqueID
;
65
int
m_status
{0};
//FIXME
66
bool
m_returnedToISF
;
67
};
68
69
70
#endif
// MCTRUTH_TRACKBARCODEINFO_H
VTrackInformation.h
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
TrackBarcodeInfo::GetBaseISFParticle
virtual const ISF::ISFParticle * GetBaseISFParticle() const override
return a pointer to the ISFParticle corresponding to the current G4Track.
Definition
TrackBarcodeInfo.h:36
TrackBarcodeInfo::GetParticleUniqueID
virtual int GetParticleUniqueID() const override
Definition
TrackBarcodeInfo.h:59
TrackBarcodeInfo::m_uniqueID
int m_uniqueID
Definition
TrackBarcodeInfo.h:64
TrackBarcodeInfo::SetBaseISFParticle
virtual void SetBaseISFParticle(ISF::ISFParticle *) override
set the pointer to the ISFParticle corresponding to the current G4Track.
Definition
TrackBarcodeInfo.cxx:16
TrackBarcodeInfo::GetParticleBarcode
virtual int GetParticleBarcode() const override
Definition
TrackBarcodeInfo.h:58
TrackBarcodeInfo::m_status
int m_status
Definition
TrackBarcodeInfo.h:65
TrackBarcodeInfo::m_returnedToISF
bool m_returnedToISF
Definition
TrackBarcodeInfo.h:66
TrackBarcodeInfo::m_theBaseISFParticle
ISF::ISFParticle * m_theBaseISFParticle
Definition
TrackBarcodeInfo.h:62
TrackBarcodeInfo::GetBaseISFParticle
virtual ISF::ISFParticle * GetBaseISFParticle() override
Definition
TrackBarcodeInfo.h:37
TrackBarcodeInfo::GetParticleStatus
virtual int GetParticleStatus() const override
Definition
TrackBarcodeInfo.h:60
TrackBarcodeInfo::SetReturnedToISF
virtual void SetReturnedToISF(bool returned) override
Flag whether the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF...
Definition
TrackBarcodeInfo.cxx:21
TrackBarcodeInfo::GetReturnedToISF
virtual bool GetReturnedToISF() const override
Is the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF?
Definition
TrackBarcodeInfo.h:51
TrackBarcodeInfo::TrackBarcodeInfo
TrackBarcodeInfo(int uid, int bc, ISF::ISFParticle *baseIsp=0)
Definition
TrackBarcodeInfo.cxx:7
TrackBarcodeInfo::m_barcode
int m_barcode
Definition
TrackBarcodeInfo.h:63
VTrackInformation::VTrackInformation
VTrackInformation(TrackClassification tc=Primary)
Definition
VTrackInformation.cxx:7
ISF
ISFParticleOrderedQueue.
Definition
PrimaryParticleInformation.h:13
Generated on
for ATLAS Offline Software by
1.14.0