ATLAS Offline Software
Loading...
Searching...
No Matches
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.h
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
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::m_returnedToISF
bool m_returnedToISF
Definition
TrackBarcodeInfo.h:66
TrackBarcodeInfo::m_theBaseISFParticle
ISF::ISFParticle * m_theBaseISFParticle
Definition
TrackBarcodeInfo.h:62
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::m_barcode
int m_barcode
Definition
TrackBarcodeInfo.h:63
VTrackInformation::BarcodeOnly
@ BarcodeOnly
Definition
VTrackInformation.h:32
VTrackInformation::VTrackInformation
VTrackInformation(TrackClassification tc=Primary)
Definition
VTrackInformation.cxx:7
Generated on
for ATLAS Offline Software by
1.14.0