ATLAS Offline Software
Tracking
TrkExtrapolation
TrkExUtils
TrkExUtils
ExtrapolationCache.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ExtrapolationCache.h
8
9
#ifndef TRKEXUTILS_EXTRAPOLATIONCACHE_H
10
#define TRKEXUTILS_EXTRAPOLATIONCACHE_H
11
19
#include "
TrkMaterialOnTrack/EnergyLoss.h
"
20
21
namespace
Trk
{
22
23
class
Energyloss;
24
25
class
ExtrapolationCache
26
{
27
28
public
:
29
//
30
// Constructor
31
//
32
ExtrapolationCache
() =
default
;
33
ExtrapolationCache
(
const
ExtrapolationCache
&
other
) =
default
;
34
ExtrapolationCache
(
ExtrapolationCache
&&
other
) =
default
;
35
ExtrapolationCache
&
operator=
(
const
ExtrapolationCache
&
other
) =
default
;
36
ExtrapolationCache
&
operator=
(
ExtrapolationCache
&&
other
) =
default
;
37
38
ExtrapolationCache
(
double
x0tot
);
39
ExtrapolationCache
(
double
x0tot
,
EnergyLoss
*
eloss
);
40
~ExtrapolationCache
() =
default
;
41
43
ExtrapolationCache
*
clone
()
const
;
44
45
// total X0
46
double
x0tot
()
const
;
47
// total Eloss
48
const
EnergyLoss
*
eloss
()
const
;
49
// reset to zero
50
void
reset
();
51
// add X0 value
52
void
updateX0
(
double
x0);
53
// add Eloss values
54
void
updateEloss
(
double
ioni,
double
sigi,
double
rad
,
double
sigr);
55
56
private
:
57
double
m_x0tot
{};
58
EnergyLoss
*
m_eloss
{};
// We do not own this ptr
59
};
60
61
}
62
#include "
TrkExUtils/ExtrapolationCache.icc
"
63
#endif
Trk::ExtrapolationCache::updateX0
void updateX0(double x0)
Trk::ExtrapolationCache::~ExtrapolationCache
~ExtrapolationCache()=default
EnergyLoss.h
Trk::ExtrapolationCache::m_x0tot
double m_x0tot
Definition:
ExtrapolationCache.h:57
Trk::ExtrapolationCache::m_eloss
EnergyLoss * m_eloss
Definition:
ExtrapolationCache.h:58
Trk::ExtrapolationCache::reset
void reset()
Trk::ExtrapolationCache::operator=
ExtrapolationCache & operator=(const ExtrapolationCache &other)=default
Trk::ExtrapolationCache::clone
ExtrapolationCache * clone() const
Destructor.
Trk::ExtrapolationCache::ExtrapolationCache
ExtrapolationCache(double x0tot)
Trk::ExtrapolationCache::ExtrapolationCache
ExtrapolationCache(double x0tot, EnergyLoss *eloss)
Trk::ExtrapolationCache::ExtrapolationCache
ExtrapolationCache(const ExtrapolationCache &other)=default
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::EnergyLoss
This class describes energy loss material effects in the ATLAS tracking EDM.
Definition:
EnergyLoss.h:34
ExtrapolationCache.icc
Trk::ExtrapolationCache::updateEloss
void updateEloss(double ioni, double sigi, double rad, double sigr)
Trk::ExtrapolationCache::operator=
ExtrapolationCache & operator=(ExtrapolationCache &&other)=default
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
Trk::ExtrapolationCache::x0tot
double x0tot() const
Trk::ExtrapolationCache::ExtrapolationCache
ExtrapolationCache(ExtrapolationCache &&other)=default
Trk::ExtrapolationCache
Definition:
ExtrapolationCache.h:26
Trk::ExtrapolationCache::ExtrapolationCache
ExtrapolationCache()=default
python.SystemOfUnits.rad
int rad
Definition:
SystemOfUnits.py:111
Trk::ExtrapolationCache::eloss
const EnergyLoss * eloss() const
Generated on Thu Nov 7 2024 21:15:08 for ATLAS Offline Software by
1.8.18