ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
G4Sim
MCTruth
src
VTrackInformation.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MCTruth/VTrackInformation.h
"
6
7
VTrackInformation::VTrackInformation
(
TrackClassification
tc
)
8
:
m_classify
(
tc
)
9
{
10
}
11
12
void
VTrackInformation::SetPrimaryGenParticle
(
HepMC::GenParticlePtr
p)
13
{
14
m_primaryGenParticle
= std::move(p);
15
}
16
17
bool
VTrackInformation::GetReturnedToISF
()
const
18
{
19
return
false
;
20
}
21
22
void
VTrackInformation::SetCurrentGenParticle
(
HepMC::GenParticlePtr
/*p*/
)
23
{
24
// you should not call this, perhaps throw an exception?
25
std::cerr<<
"ERROR VTrackInformation::SetCurrentGenParticle() not supported "
<<std::endl;
26
}
27
28
void
VTrackInformation::SetBaseISFParticle
(
ISF::ISFParticle
*
/*p*/
)
29
{
30
// you should not call this, perhaps throw an exception?
31
std::cerr<<
"ERROR VTrackInformation::SetBaseISFParticle() not supported "
<<std::endl;
32
}
33
34
void
VTrackInformation::SetReturnedToISF
(
bool
)
35
{
36
std::cerr<<
"ERROR VTrackInformation::SetReturnedToISF() not supported "
<<std::endl;
37
}
tc
static Double_t tc
Definition
LArPhysWaveHECTool.cxx:38
VTrackInformation.h
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
VTrackInformation::SetBaseISFParticle
virtual void SetBaseISFParticle(ISF::ISFParticle *)
set the pointer to the ISFParticle corresponding to the current G4Track.
Definition
VTrackInformation.cxx:28
VTrackInformation::SetPrimaryGenParticle
void SetPrimaryGenParticle(HepMC::GenParticlePtr)
set the pointer to the GenParticle used to create the initial G4PrimaryParticle from which the curren...
Definition
VTrackInformation.cxx:12
VTrackInformation::GetReturnedToISF
virtual bool GetReturnedToISF() const
Is the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF?
Definition
VTrackInformation.cxx:17
VTrackInformation::TrackClassification
TrackClassification
Definition
VTrackInformation.h:32
VTrackInformation::m_classify
TrackClassification m_classify
Definition
VTrackInformation.h:107
VTrackInformation::m_primaryGenParticle
HepMC::GenParticlePtr m_primaryGenParticle
Definition
VTrackInformation.h:108
VTrackInformation::VTrackInformation
VTrackInformation(TrackClassification tc=Primary)
Definition
VTrackInformation.cxx:7
VTrackInformation::SetReturnedToISF
virtual void SetReturnedToISF(bool)
Flag whether the ISFParticle corresponding to the current G4Track scheduled to be returned to the ISF...
Definition
VTrackInformation.cxx:34
VTrackInformation::SetCurrentGenParticle
virtual void SetCurrentGenParticle(HepMC::GenParticlePtr)
set the pointer to the GenParticle corresponding to the current G4Track.
Definition
VTrackInformation.cxx:22
HepMC::GenParticlePtr
GenParticle * GenParticlePtr
Definition
GenParticle.h:37
Generated on
for ATLAS Offline Software by
1.14.0