ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
Trk::EnergyLoss Class Reference

This class describes energy loss material effects in the ATLAS tracking EDM. More...

#include <EnergyLoss.h>

Inheritance diagram for Trk::EnergyLoss:
Collaboration diagram for Trk::EnergyLoss:

Public Member Functions

 EnergyLoss ()=default
 default constructor for POOL More...
 
 EnergyLoss (const EnergyLoss &)=default
 
 EnergyLoss (EnergyLoss &&) noexcept=default
 
EnergyLossoperator= (const EnergyLoss &)=default
 
EnergyLossoperator= (EnergyLoss &&) noexcept=default
 
virtual ~EnergyLoss ()=default
 
 EnergyLoss (double deltaE, double sigmaDeltaE, double sigmaMinusDeltaE=0.0, double sigmaPlusDeltaE=0.0)
 Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and asym. errors. More...
 
 EnergyLoss (double deltaE, double sigmaDeltaE, double mean_ioni, double sigma_ioni, double mean_rad, double sigma_rad)
 Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and component info. More...
 
 EnergyLoss (double deltaE, double sigmaDeltaE, double sigmaMinusDeltaE, double sigmaPlusDeltaE, double mean_ioni, double sigma_ioni, double mean_rad, double sigma_rad, double length)
 Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and component info. More...
 
virtual EnergyLossclone () const
 Virtual constructor. More...
 
double deltaE () const
 returns the \( \Delta E \) More...
 
double sigmaDeltaE () const
 returns the symmatric error \( \sigma(\Delta E) \) More...
 
double sigmaMinusDeltaE () const
 returns the negative side \( \sigma(\Delta E) \) More...
 
double sigmaPlusDeltaE () const
 returns the positive side \( \sigma(\Delta E) \) More...
 
double meanIoni () const
 
double sigmaIoni () const
 
double meanRad () const
 
double sigmaRad () const
 
double length () const
 
void update (double ioni, double sigi, double rad, double sigr, bool mpv=false)
 
void update (const EnergyLoss &, bool mpv=false)
 
void set (double eLoss, double sigde, double ioni, double sigi, double rad, double sigr)
 
virtual MsgStream & dump (MsgStream &sl) const
 Interface method for output, can be overloaded by child classes. More...
 
virtual std::ostream & dump (std::ostream &sl) const
 Interface method for output, can be overloaded by child classes. More...
 

Private Attributes

double m_deltaE = 0
 \( \Delta E \) - the estimated or measured energy loss More...
 
double m_sigmaDeltaE = 0
 \( \sigma(\Delta E) \) - negative error on the energy loss More...
 
double m_sigmaMinusDeltaE = 0
 \( \sigma(\Delta E) \) - positive error on the energy loss More...
 
double m_sigmaPlusDeltaE = 0
 
double m_mean_ioni = 0
 
double m_sig_ioni = 0
 
double m_mean_rad = 0
 
double m_sig_rad = 0
 
double m_length = 0
 

Friends

class ::TrackCollectionCnv
 

Detailed Description

This class describes energy loss material effects in the ATLAS tracking EDM.

Energy loss through ionisation and/or radiation leads to a change (reduction) of the momentum. It uncertainty can be asymmetric in this class. The quantity is energy since the calculation from energy to momentum can be done better inside the MEFupdators (which know the particle hypothesis) than the DetDescr tools.

Author
Common tracking software group

Definition at line 33 of file EnergyLoss.h.

Constructor & Destructor Documentation

◆ EnergyLoss() [1/6]

Trk::EnergyLoss::EnergyLoss ( )
default

default constructor for POOL

◆ EnergyLoss() [2/6]

Trk::EnergyLoss::EnergyLoss ( const EnergyLoss )
default

◆ EnergyLoss() [3/6]

Trk::EnergyLoss::EnergyLoss ( EnergyLoss &&  )
defaultnoexcept

◆ ~EnergyLoss()

virtual Trk::EnergyLoss::~EnergyLoss ( )
virtualdefault

◆ EnergyLoss() [4/6]

Trk::EnergyLoss::EnergyLoss ( double  deltaE,
double  sigmaDeltaE,
double  sigmaMinusDeltaE = 0.0,
double  sigmaPlusDeltaE = 0.0 
)

Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and asym. errors.

◆ EnergyLoss() [5/6]

Trk::EnergyLoss::EnergyLoss ( double  deltaE,
double  sigmaDeltaE,
double  mean_ioni,
double  sigma_ioni,
double  mean_rad,
double  sigma_rad 
)

Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and component info.

◆ EnergyLoss() [6/6]

Trk::EnergyLoss::EnergyLoss ( double  deltaE,
double  sigmaDeltaE,
double  sigmaMinusDeltaE,
double  sigmaPlusDeltaE,
double  mean_ioni,
double  sigma_ioni,
double  mean_rad,
double  sigma_rad,
double  length 
)

Constructor with \(\Delta E\), \(\sigma(\Delta E)\) and component info.

Member Function Documentation

◆ clone()

virtual EnergyLoss* Trk::EnergyLoss::clone ( ) const
virtual

Virtual constructor.

Reimplemented in CaloEnergy.

◆ deltaE()

double Trk::EnergyLoss::deltaE ( ) const

returns the \( \Delta E \)

◆ dump() [1/2]

MsgStream & Trk::EnergyLoss::dump ( MsgStream &  sl) const
virtual

Interface method for output, can be overloaded by child classes.

Definition at line 30 of file EnergyLoss.cxx.

31 {
32  sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
33  << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
34  return sl;
35 }

◆ dump() [2/2]

std::ostream & Trk::EnergyLoss::dump ( std::ostream &  sl) const
virtual

Interface method for output, can be overloaded by child classes.

Definition at line 38 of file EnergyLoss.cxx.

39 {
40  sl << "EnergyLoss : ( delta(E), sigma(dE) ) = \t"
41  << "(" << deltaE() << ", \t" << sigmaDeltaE() << ")";
42  return sl;
43 }

◆ length()

double Trk::EnergyLoss::length ( ) const

◆ meanIoni()

double Trk::EnergyLoss::meanIoni ( ) const

◆ meanRad()

double Trk::EnergyLoss::meanRad ( ) const

◆ operator=() [1/2]

EnergyLoss& Trk::EnergyLoss::operator= ( const EnergyLoss )
default

◆ operator=() [2/2]

EnergyLoss& Trk::EnergyLoss::operator= ( EnergyLoss &&  )
defaultnoexcept

◆ set()

void Trk::EnergyLoss::set ( double  eLoss,
double  sigde,
double  ioni,
double  sigi,
double  rad,
double  sigr 
)

◆ sigmaDeltaE()

double Trk::EnergyLoss::sigmaDeltaE ( ) const

returns the symmatric error \( \sigma(\Delta E) \)

◆ sigmaIoni()

double Trk::EnergyLoss::sigmaIoni ( ) const

◆ sigmaMinusDeltaE()

double Trk::EnergyLoss::sigmaMinusDeltaE ( ) const

returns the negative side \( \sigma(\Delta E) \)

◆ sigmaPlusDeltaE()

double Trk::EnergyLoss::sigmaPlusDeltaE ( ) const

returns the positive side \( \sigma(\Delta E) \)

◆ sigmaRad()

double Trk::EnergyLoss::sigmaRad ( ) const

◆ update() [1/2]

void Trk::EnergyLoss::update ( const EnergyLoss ,
bool  mpv = false 
)

◆ update() [2/2]

void Trk::EnergyLoss::update ( double  ioni,
double  sigi,
double  rad,
double  sigr,
bool  mpv = false 
)

Friends And Related Function Documentation

◆ ::TrackCollectionCnv

friend class ::TrackCollectionCnv
friend

Definition at line 35 of file EnergyLoss.h.

Member Data Documentation

◆ m_deltaE

double Trk::EnergyLoss::m_deltaE = 0
private

\( \Delta E \) - the estimated or measured energy loss

\( \sigma(\Delta E) \) - error on the energy loss

Definition at line 117 of file EnergyLoss.h.

◆ m_length

double Trk::EnergyLoss::m_length = 0
private

Definition at line 129 of file EnergyLoss.h.

◆ m_mean_ioni

double Trk::EnergyLoss::m_mean_ioni = 0
private

Definition at line 125 of file EnergyLoss.h.

◆ m_mean_rad

double Trk::EnergyLoss::m_mean_rad = 0
private

Definition at line 127 of file EnergyLoss.h.

◆ m_sig_ioni

double Trk::EnergyLoss::m_sig_ioni = 0
private

Definition at line 126 of file EnergyLoss.h.

◆ m_sig_rad

double Trk::EnergyLoss::m_sig_rad = 0
private

Definition at line 128 of file EnergyLoss.h.

◆ m_sigmaDeltaE

double Trk::EnergyLoss::m_sigmaDeltaE = 0
private

\( \sigma(\Delta E) \) - negative error on the energy loss

Definition at line 119 of file EnergyLoss.h.

◆ m_sigmaMinusDeltaE

double Trk::EnergyLoss::m_sigmaMinusDeltaE = 0
private

\( \sigma(\Delta E) \) - positive error on the energy loss

Definition at line 121 of file EnergyLoss.h.

◆ m_sigmaPlusDeltaE

double Trk::EnergyLoss::m_sigmaPlusDeltaE = 0
private

Definition at line 123 of file EnergyLoss.h.


The documentation for this class was generated from the following files:
Trk::EnergyLoss::sigmaDeltaE
double sigmaDeltaE() const
returns the symmatric error
Trk::EnergyLoss::deltaE
double deltaE() const
returns the