ATLAS Offline Software
Simulation
G4Sim
MCTruth
src
TruthController.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MCTruth/TruthController.h
"
6
#include "
SimHelpers/TrackVisualizationHelper.h
"
7
8
const
TruthController
*
TruthController::getTruthController
()
9
{
10
static
const
TruthController
tc;
11
return
&tc;
12
}
13
14
TruthController::TruthController
()
15
{
16
m_theVisHelper
=
new
TrackVisualizationHelper
;
17
}
18
19
TruthController::~TruthController
()
20
{
21
if
(
m_theVisHelper
)
delete
m_theVisHelper
;
22
}
23
void
TruthController::setVisualizationHelper
(
TrackVisualizationHelper
*
h
)
24
{
25
if
(
m_theVisHelper
==
h
)
return
;
26
delete
m_theVisHelper
;
27
m_theVisHelper
=
h
;
28
}
TrackVisualizationHelper.h
TruthController::~TruthController
~TruthController()
Definition:
TruthController.cxx:19
TruthController
Definition:
TruthController.h:10
TruthController.h
TruthController::m_theVisHelper
TrackVisualizationHelper * m_theVisHelper
Definition:
TruthController.h:24
TruthController::setVisualizationHelper
void setVisualizationHelper(TrackVisualizationHelper *)
Definition:
TruthController.cxx:23
extractSporadic.h
list h
Definition:
extractSporadic.py:97
TrackVisualizationHelper
Definition:
TrackVisualizationHelper.h:8
TruthController::getTruthController
static const TruthController * getTruthController()
Definition:
TruthController.cxx:8
h
TruthController::TruthController
TruthController()
Definition:
TruthController.cxx:14
Generated on Thu Nov 7 2024 21:31:05 for ATLAS Offline Software by
1.8.18