class that is similar to MaterialEffectsOnTrack, but has 'set' methods for more flexibility during track fitting
More...
#include <GXFMaterialEffects.h>
class that is similar to MaterialEffectsOnTrack, but has 'set' methods for more flexibility during track fitting
- Author
- thijs.nosp@m..cor.nosp@m.nelis.nosp@m.sen@.nosp@m.cern..nosp@m.ch
Definition at line 24 of file GXFMaterialEffects.h.
◆ GXFMaterialEffects() [1/4]
Constructor that captures the properties of a more standard MaterialEffectsOnTrack object.
This is one of the possible constructors for GXFMaterialEffects. It takes as an argument a MaterialEffectsOnTrack, which is the more widely used class to represent material effects. It copies the properties of the passed object pointer.
- Note
- This method assumes no ownership of the passed pointer whatsoever, and ownership of the MaterialEffectsOnTrack remains the responsibility of the original owner.
Definition at line 12 of file GXFMaterialEffects.cxx.
15 if (meot.energyLoss() !=
nullptr) {
16 m_deltae = meot.energyLoss()->deltaE();
20 if (meot.scatteringAngles() ==
nullptr) {
21 m_eloss = std::unique_ptr<EnergyLoss>(meot.energyLoss()->clone());
33 double x0 = meot.thicknessInX0();
34 const ScatteringAngles *scatangles = meot.scatteringAngles();
36 if ((scatangles !=
nullptr) &&
x0 > 0) {
38 m_sintheta = scatangles->sigmaDeltaTheta() / scatangles->sigmaDeltaPhi();
◆ GXFMaterialEffects() [2/4]
Trk::GXFMaterialEffects::GXFMaterialEffects |
( |
| ) |
|
|
default |
◆ GXFMaterialEffects() [3/4]
◆ GXFMaterialEffects() [4/4]
◆ ~GXFMaterialEffects()
Trk::GXFMaterialEffects::~GXFMaterialEffects |
( |
| ) |
|
|
default |
◆ associatedSurface()
const Surface & Trk::GXFMaterialEffects::associatedSurface |
( |
| ) |
const |
◆ delta_p()
double Trk::GXFMaterialEffects::delta_p |
( |
| ) |
const |
◆ deltaE()
double Trk::GXFMaterialEffects::deltaE |
( |
| ) |
const |
◆ deltaPhi()
double Trk::GXFMaterialEffects::deltaPhi |
( |
| ) |
const |
◆ deltaTheta()
double Trk::GXFMaterialEffects::deltaTheta |
( |
| ) |
const |
◆ isKink()
bool Trk::GXFMaterialEffects::isKink |
( |
| ) |
const |
◆ isMeasuredEloss()
bool Trk::GXFMaterialEffects::isMeasuredEloss |
( |
| ) |
const |
◆ makeMEOT()
Definition at line 210 of file GXFMaterialEffects.cxx.
211 std::optional<ScatteringAngles> scatangles;
217 std::bitset<MaterialEffectsBase::NumberOfMaterialEffectsTypes> typePattern;
219 std::unique_ptr<const Trk::EnergyLoss> neweloss;
223 neweloss.reset(
m_eloss->clone());
229 return std::make_unique<MaterialEffectsOnTrack>(
230 m_x0, scatangles, std::move(neweloss), *
m_surf, typePattern);
◆ materialProperties()
◆ measuredDeltaPhi()
double Trk::GXFMaterialEffects::measuredDeltaPhi |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setdelta_p()
void Trk::GXFMaterialEffects::setdelta_p |
( |
double |
delta_p | ) |
|
◆ setDeltaE()
void Trk::GXFMaterialEffects::setDeltaE |
( |
double |
deltae | ) |
|
◆ setEloss()
void Trk::GXFMaterialEffects::setEloss |
( |
std::unique_ptr< EnergyLoss > |
eloss | ) |
|
Set the energy loss properties of this material effect.
This method sets the energy loss properties of the material effects instance through an instance of Trk::EnergyLoss.
- Note
- This method assumes full ownership of the passed pointer.
Definition at line 135 of file GXFMaterialEffects.cxx.
◆ setKink()
void Trk::GXFMaterialEffects::setKink |
( |
bool |
iskink | ) |
|
◆ setMaterialProperties()
Set the material properties of this material effects instance.
- Note
- The argument pointer is a raw, non-owning pointer and the method assumes no ownership of the pointee.
Definition at line 237 of file GXFMaterialEffects.cxx.
◆ setMeasuredDeltaPhi()
void Trk::GXFMaterialEffects::setMeasuredDeltaPhi |
( |
double |
measdf | ) |
|
◆ setMeasuredEloss()
void Trk::GXFMaterialEffects::setMeasuredEloss |
( |
bool |
ismeasuredeloss | ) |
|
◆ setScatteringAngles()
void Trk::GXFMaterialEffects::setScatteringAngles |
( |
double |
scatphi, |
|
|
double |
scattheta |
|
) |
| |
◆ setScatteringSigmas()
void Trk::GXFMaterialEffects::setScatteringSigmas |
( |
double |
scatsigmaphi, |
|
|
double |
scatsigmatheta |
|
) |
| |
◆ setSigmaDeltaE()
void Trk::GXFMaterialEffects::setSigmaDeltaE |
( |
double |
sigmadeltae | ) |
|
◆ setSigmaDeltaENeg()
void Trk::GXFMaterialEffects::setSigmaDeltaENeg |
( |
double |
sigmadeltaeneg | ) |
|
◆ setSigmaDeltaEPos()
void Trk::GXFMaterialEffects::setSigmaDeltaEPos |
( |
double |
sigmadeltaepos | ) |
|
◆ setSurface()
void Trk::GXFMaterialEffects::setSurface |
( |
const Surface * |
surf | ) |
|
Set the surface for this material effects instance.
This method links the instance of GXFMaterialEffects to a surface. The surface can then be accessed through the surface() method.
- Note
- This method does NOT assume ownership of the passed pointer.
Definition at line 206 of file GXFMaterialEffects.cxx.
◆ setX0()
void Trk::GXFMaterialEffects::setX0 |
( |
double |
x0 | ) |
|
◆ sigmaDeltaE()
double Trk::GXFMaterialEffects::sigmaDeltaE |
( |
| ) |
const |
◆ sigmaDeltaEAve()
double Trk::GXFMaterialEffects::sigmaDeltaEAve |
( |
| ) |
const |
◆ sigmaDeltaENeg()
double Trk::GXFMaterialEffects::sigmaDeltaENeg |
( |
| ) |
const |
◆ sigmaDeltaEPos()
double Trk::GXFMaterialEffects::sigmaDeltaEPos |
( |
| ) |
const |
◆ sigmaDeltaPhi()
double Trk::GXFMaterialEffects::sigmaDeltaPhi |
( |
| ) |
const |
◆ sigmaDeltaTheta()
double Trk::GXFMaterialEffects::sigmaDeltaTheta |
( |
| ) |
const |
◆ x0()
double Trk::GXFMaterialEffects::x0 |
( |
| ) |
const |
◆ m_deltae
double Trk::GXFMaterialEffects::m_deltae = 0 |
|
private |
◆ m_deltap
double Trk::GXFMaterialEffects::m_deltap = 0 |
|
private |
◆ m_eloss
◆ m_iskink
bool Trk::GXFMaterialEffects::m_iskink = false |
|
private |
◆ m_ismeasuredeloss
bool Trk::GXFMaterialEffects::m_ismeasuredeloss = false |
|
private |
◆ m_matprop
◆ m_measscatphi
double Trk::GXFMaterialEffects::m_measscatphi = 0 |
|
private |
◆ m_scatphi
double Trk::GXFMaterialEffects::m_scatphi = 0 |
|
private |
◆ m_scattheta
double Trk::GXFMaterialEffects::m_scattheta = 0 |
|
private |
◆ m_sigmadeltae
double Trk::GXFMaterialEffects::m_sigmadeltae = 0 |
|
private |
◆ m_sigmadeltaeneg
double Trk::GXFMaterialEffects::m_sigmadeltaeneg = 0 |
|
private |
◆ m_sigmadeltaepos
double Trk::GXFMaterialEffects::m_sigmadeltaepos = 0 |
|
private |
◆ m_sigmascatphi
double Trk::GXFMaterialEffects::m_sigmascatphi = 0 |
|
private |
◆ m_sigmascattheta
double Trk::GXFMaterialEffects::m_sigmascattheta = 0 |
|
private |
◆ m_sintheta
double Trk::GXFMaterialEffects::m_sintheta = 1 |
|
private |
◆ m_surf
◆ m_x0
double Trk::GXFMaterialEffects::m_x0 = 0 |
|
private |
The documentation for this class was generated from the following files: