class holding information about momentum reduction and an additional noise term due to significant energy loss (bremsstrahlung)
More...
#include <EstimatedBremOnTrack.h>
class holding information about momentum reduction and an additional noise term due to significant energy loss (bremsstrahlung)
- Author
- Wolfgang.Liebig http://consult.cern.ch/xwho/people/
Definition at line 29 of file EstimatedBremOnTrack.h.
◆ MaterialEffectsDerivedType
| Enumerator |
|---|
| ESTIMATED_BREM_ON_TRACK | |
| MATERIAL_EFFECTS_ON_TRACK | |
| NTYPES | |
Definition at line 37 of file MaterialEffectsBase.h.
37 {
41 };
@ MATERIAL_EFFECTS_ON_TRACK
@ ESTIMATED_BREM_ON_TRACK
◆ MaterialEffectsType
| Enumerator |
|---|
| ScatteringEffects | contains material effects due to multiple scattering
|
| EnergyLossEffects | contains energy loss corrections
|
| MaterialThickness | contains only thickness, needs M.E.Updator to calculate effects
|
| BremPoint | contains q/p covariance noise term
|
| UsesMeasurement | contains energy loss correction based on Calo measurement
|
| FittedMaterialEffects | contains values obtained by fitting the scatterer or e-loss
|
| Unknown | new category
|
| NumberOfMaterialEffectsTypes | |
Definition at line 42 of file MaterialEffectsBase.h.
43 {
47
60
61 };
@ NumberOfMaterialEffectsTypes
@ BremPoint
contains q/p covariance noise term
@ ScatteringEffects
contains material effects due to multiple scattering
@ UsesMeasurement
contains energy loss correction based on Calo measurement
@ FittedMaterialEffects
contains values obtained by fitting the scatterer or e-loss
@ EnergyLossEffects
contains energy loss corrections
@ MaterialThickness
contains only thickness, needs M.E.Updator to calculate effects
◆ EstimatedBremOnTrack() [1/4]
| Trk::EstimatedBremOnTrack::EstimatedBremOnTrack |
( |
| ) |
|
|
default |
default constructor for POOL
◆ EstimatedBremOnTrack() [2/4]
| Trk::EstimatedBremOnTrack::EstimatedBremOnTrack |
( |
double | thicknessInX0, |
|
|
double | retainedEnFraction, |
|
|
double | sigmaRetainedEnFraction, |
|
|
double | sigmaQoverPsquared, |
|
|
const Surface & | sf, |
|
|
const SearchDirection | searchDirection = bothway ) |
Full constructor.
- Parameters
-
| [in] | thicknessInX0 | material thickness in terms of rad length, \( t/X_0 \) |
| [in] | retainedEnFraction | retained energy fraction after brem, \( z
\) |
| [in] | sigmaRetainedEnFraction | error on estimated retained energy fraction, \( \sigma(z) \) |
| [in] | sigmaQoverPsquared | noise term added to cov matrix momentum parameter, \( \sigma^2(q/p) \) |
| [in] | sf | tracking surface with which material effects are associated |
| [in] | searchDirection | for progressive brem recovery or seeded tracks |
Definition at line 15 of file EstimatedBremOnTrack.cxx.
21 : Trk::MaterialEffectsBase(
22 tInX0,
23 sf,
29{}
double m_retainedEnFraction
- the momentum retained after energy loss
double m_sigmaQoverPsquared
- the applied straggling on the momentum correction
SearchDirection searchDirection() const
returns if the brem was discovered with a particular search direction
SearchDirection m_bremSearchDirection
if brem was found in particular direction, outward, inward or global
double m_sigmaRetainedEnFraction
- uncertainty on the momentum retained after Eloss
double retainedEnFraction() const
returns
◆ EstimatedBremOnTrack() [3/4]
| Trk::EstimatedBremOnTrack::EstimatedBremOnTrack |
( |
const EstimatedBremOnTrack & | ebrot | ) |
|
|
default |
◆ EstimatedBremOnTrack() [4/4]
| Trk::EstimatedBremOnTrack::EstimatedBremOnTrack |
( |
EstimatedBremOnTrack && | ebrot | ) |
|
|
defaultnoexcept |
◆ ~EstimatedBremOnTrack()
| virtual Trk::EstimatedBremOnTrack::~EstimatedBremOnTrack |
( |
| ) |
|
|
virtualdefault |
◆ associatedSurface()
| const Surface & Trk::MaterialEffectsBase::associatedSurface |
( |
| ) |
const |
|
inherited |
returns the surface to which these m.eff. are associated.
◆ clone()
|
|
inlinefinaloverridevirtual |
◆ cloneHelper()
Helper for cloning or not when we need depending on if we have an associatedDetectorElement.
Definition at line 213 of file SurfaceHolderImpl.h.
214 {
215 return (
input &&
input->associatedDetectorElement() ==
nullptr
218 }
◆ derivedType()
|
|
inlinefinaloverridevirtual |
◆ destroySurface()
destroySurface deletes the ptr if not null and the surface has not a associatedDetectorElement Usefull also for testing
Definition at line 201 of file SurfaceHolderImpl.h.
◆ dump() [1/2]
| MsgStream & Trk::EstimatedBremOnTrack::dump |
( |
MsgStream & | sl | ) |
const |
|
finaloverridevirtual |
Interface method for output.
Reimplemented from Trk::MaterialEffectsBase.
Definition at line 34 of file EstimatedBremOnTrack.cxx.
35{
36 sl <<
"EstimatedBremOnTrack based on" <<
endmsg;
43 return sl;
44}
double sigmaQoverPsquared() const
returns the additional noise term
double sigmaRetainedEnFraction() const
return
virtual MsgStream & dump(MsgStream &sl) const
Interface method for output, can be overloaded by child classes.
◆ dump() [2/2]
| std::ostream & Trk::EstimatedBremOnTrack::dump |
( |
std::ostream & | sl | ) |
const |
|
finaloverridevirtual |
◆ dumpType()
| std::string Trk::MaterialEffectsBase::dumpType |
( |
| ) |
const |
|
inherited |
returns a string with the type of the object
Definition at line 16 of file MaterialEffectsBase.cxx.
17{
21 switch (i) {
23 type +=
"Scattering ";
24 break;
26 type +=
"EnergyLoss ";
27 break;
29 type +=
"UpdatorInput ";
30 break;
33 break;
35 type +=
"UsesMeasurement ";
36 break;
38 type +=
"FittedMaterialEffects ";
39 break;
40 default:
42 break;
43 }
44 }
45 }
47}
bool type(const MaterialEffectsType &type) const
returns the flags (bits) which types of ME are present
◆ operator=() [1/2]
◆ operator=() [2/2]
Move Assignment operator.
◆ release()
◆ retainedEnFraction()
| double Trk::EstimatedBremOnTrack::retainedEnFraction |
( |
| ) |
const |
|
inline |
◆ searchDirection()
◆ setValues()
| virtual void Trk::MaterialEffectsBase::setValues |
( |
const Surface * | assocSurface | ) |
|
|
protectedvirtualinherited |
allows POOL converter to recreate transient links to DetStore
◆ sigmaQoverPsquared()
| double Trk::EstimatedBremOnTrack::sigmaQoverPsquared |
( |
| ) |
const |
|
inline |
◆ sigmaRetainedEnFraction()
| double Trk::EstimatedBremOnTrack::sigmaRetainedEnFraction |
( |
| ) |
const |
|
inline |
◆ surfacePtr()
◆ thicknessInX0()
| double Trk::MaterialEffectsBase::thicknessInX0 |
( |
| ) |
const |
|
inherited |
returns the actually traversed material \( t/X_0 \).
Leave 0.0 for external ME.
◆ type()
returns the flags (bits) which types of ME are present
Use this method to find out if the ME is of a certain type: i.e. if ( mefot->type(MaterialEffectsBase::EnergyLoss) { //etc }
- Returns
- true if the MaterialEffectsBase is of this type
◆ uniqueClone()
NVI uniqueClone.
Definition at line 74 of file EstimatedBremOnTrack.h.
75 {
76 return std::unique_ptr<EstimatedBremOnTrack>(
clone());
77 }
virtual EstimatedBremOnTrack * clone() const override final
Virtual constructor.
◆ m_associatedSurface
◆ m_bremSearchDirection
◆ m_retainedEnFraction
| double Trk::EstimatedBremOnTrack::m_retainedEnFraction { 0.0 } |
|
private |
◆ m_sigmaQoverPsquared
| double Trk::EstimatedBremOnTrack::m_sigmaQoverPsquared { 0.0 } |
|
private |
\( \sigma^2(q/p) \) - the applied straggling on the momentum correction
Definition at line 102 of file EstimatedBremOnTrack.h.
◆ m_sigmaRetainedEnFraction
| double Trk::EstimatedBremOnTrack::m_sigmaRetainedEnFraction { 0.0 } |
|
private |
◆ m_tInX0
| double Trk::MaterialEffectsBase::m_tInX0 {} |
|
privateinherited |
◆ m_typeFlags
| long Trk::MaterialEffectsBase::m_typeFlags {} |
|
privateinherited |
The documentation for this class was generated from the following files: