ATLAS Offline Software
Simulation
G4Sim
MCTruth
src
TrackBarcodeInfo.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MCTruth/TrackBarcodeInfo.h
"
6
7
TrackBarcodeInfo::TrackBarcodeInfo
(
int
uid,
int
bc,
ISF::ISFParticle
* baseIsp)
8
:
VTrackInformation
(BarcodeOnly)
9
, m_theBaseISFParticle(baseIsp)
10
, m_barcode(bc)
11
, m_uniqueID(uid)
12
, m_returnedToISF(false)
13
{
14
}
15
16
void
TrackBarcodeInfo::SetBaseISFParticle
(
ISF::ISFParticle
* isp)
17
{
18
m_theBaseISFParticle
=isp;
19
}
20
21
void
TrackBarcodeInfo::SetReturnedToISF
(
bool
returned)
22
{
23
m_returnedToISF
= returned;
24
}
TrackBarcodeInfo::m_theBaseISFParticle
ISF::ISFParticle * m_theBaseISFParticle
Definition:
TrackBarcodeInfo.h:62
ISF::ISFParticle
Definition:
ISFParticle.h:42
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::TrackBarcodeInfo
TrackBarcodeInfo(int uid, int bc, ISF::ISFParticle *baseIsp=0)
Definition:
TrackBarcodeInfo.cxx:7
TrackBarcodeInfo::SetBaseISFParticle
virtual void SetBaseISFParticle(ISF::ISFParticle *) override
set the pointer to the ISFParticle corresponding to the current G4Track.
Definition:
TrackBarcodeInfo.cxx:16
TrackBarcodeInfo::m_returnedToISF
bool m_returnedToISF
Definition:
TrackBarcodeInfo.h:66
TrackBarcodeInfo.h
VTrackInformation
Instances of classes derived from this class are attached as UserInformation to G4Tracks....
Definition:
VTrackInformation.h:30
Generated on Thu Nov 7 2024 21:28:47 for ATLAS Offline Software by
1.8.18