ATLAS Offline Software
ElectronCombinedMaterialEffects.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef TrkElectronCombinedMaterialEffects_H
14 #define TrkElectronCombinedMaterialEffects_H
15 
18 //
22 
23 namespace Trk {
24 
26 {
27 public:
30  {
31  double weight;
32  double mean;
33  double variance;
34  };
36  std::array<ComponentValues, GSFConstants::maxNumberofMatComponents>;
37 
38  using Polynomial = std::array<double, GSFConstants::polynomialCoefficients>;
39 
40  // ctor with arguments
42  const std::string& parameterisationFileName,
43  const std::string& parameterisationFileNameHighX0);
44 
45  // ctor with arguments
48  default;
51  const ElectronCombinedMaterialEffects&) = default;
55 
59  double,
61 
62 private:
63  // Electron enrrgy loss due to Bremsstrahlung
65  const ComponentParameters& componentParameters,
66  const MaterialProperties& materialProperties,
67  double pathLenght,
68  PropDirection direction = anyDirection) const;
69 
74 
75  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
77  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
79  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
81  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
83  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
85  std::array<Polynomial, GSFConstants::maxNumberofMatComponents>
87 };
88 
89 } // end Trk namespace
90 
91 #endif
Trk::anyDirection
@ anyDirection
Definition: PropDirection.h:22
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialWeightsHighX0
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialWeightsHighX0
Definition: ElectronCombinedMaterialEffects.h:82
Trk::ElectronCombinedMaterialEffects::BetheHeitler
void BetheHeitler(GsfMaterial::EnergyLoss &cache, const ComponentParameters &componentParameters, const MaterialProperties &materialProperties, double pathLenght, PropDirection direction=anyDirection) const
Definition: ElectronCombinedMaterialEffects.cxx:385
Trk::ElectronCombinedMaterialEffects::Polynomial
std::array< double, GSFConstants::polynomialCoefficients > Polynomial
Definition: ElectronCombinedMaterialEffects.h:38
GsfMaterial::EnergyLoss
Helper struct for energy loss effects, multicomponent description.
Definition: GsfMaterial.h:23
MaterialProperties.h
Trk::ElectronCombinedMaterialEffects::m_BHtransformationCode
int m_BHtransformationCode
Definition: ElectronCombinedMaterialEffects.h:71
Trk::ElectronCombinedMaterialEffects::m_BHnumberOfComponents
int m_BHnumberOfComponents
Definition: ElectronCombinedMaterialEffects.h:70
Trk::ElectronCombinedMaterialEffects::ElectronCombinedMaterialEffects
ElectronCombinedMaterialEffects()=default
PropDirection.h
Trk::ElectronCombinedMaterialEffects::ElectronCombinedMaterialEffects
ElectronCombinedMaterialEffects(ElectronCombinedMaterialEffects &&)=default
GsfMaterial.h
Trk::ElectronCombinedMaterialEffects::MixtureParameters
std::array< ComponentValues, GSFConstants::maxNumberofMatComponents > MixtureParameters
Definition: ElectronCombinedMaterialEffects.h:36
Trk::ElectronCombinedMaterialEffects::compute
void compute(GsfMaterial::Combined &, const Trk::ComponentParameters &, const Trk::MaterialProperties &, double, Trk::PropDirection=anyDirection) const
Definition: ElectronCombinedMaterialEffects.cxx:322
Trk::ElectronCombinedMaterialEffects::~ElectronCombinedMaterialEffects
~ElectronCombinedMaterialEffects()=default
Trk::PropDirection
PropDirection
Definition: PropDirection.h:19
Trk::ElectronCombinedMaterialEffects
Definition: ElectronCombinedMaterialEffects.h:26
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialVariances
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialVariances
Definition: ElectronCombinedMaterialEffects.h:80
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialMeansHighX0
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialMeansHighX0
Definition: ElectronCombinedMaterialEffects.h:84
Trk::ElectronCombinedMaterialEffects::operator=
ElectronCombinedMaterialEffects & operator=(const ElectronCombinedMaterialEffects &)=default
Trk::ElectronCombinedMaterialEffects::ComponentValues::mean
double mean
Definition: ElectronCombinedMaterialEffects.h:32
Trk::ElectronCombinedMaterialEffects::ComponentValues::weight
double weight
Definition: ElectronCombinedMaterialEffects.h:31
GsfMaterial::Combined
Helper struct for combined material effects, multicomponent description.
Definition: GsfMaterial.h:48
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::ElectronCombinedMaterialEffects::m_BHtransformationCodeHighX0
int m_BHtransformationCodeHighX0
Definition: ElectronCombinedMaterialEffects.h:73
Trk::ComponentParameters
Definition: ComponentParameters.h:22
ComponentParameters.h
Definition of component parameters for use in a mixture of many components. In this regime each track...
Trk::ElectronCombinedMaterialEffects::m_BHnumberOfComponentsHighX0
int m_BHnumberOfComponentsHighX0
Definition: ElectronCombinedMaterialEffects.h:72
Trk::MaterialProperties
Definition: MaterialProperties.h:40
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialVariancesHighX0
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialVariancesHighX0
Definition: ElectronCombinedMaterialEffects.h:86
Trk::ElectronCombinedMaterialEffects::ComponentValues::variance
double variance
Definition: ElectronCombinedMaterialEffects.h:33
Trk::ElectronCombinedMaterialEffects::ElectronCombinedMaterialEffects
ElectronCombinedMaterialEffects(const ElectronCombinedMaterialEffects &)=default
Trk::ElectronCombinedMaterialEffects::ComponentValues
Helper Struct for multiple Gaussian components.
Definition: ElectronCombinedMaterialEffects.h:30
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialWeights
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialWeights
Definition: ElectronCombinedMaterialEffects.h:76
GsfConstants.h
Trk::ElectronCombinedMaterialEffects::m_BHpolynomialMeans
std::array< Polynomial, GSFConstants::maxNumberofMatComponents > m_BHpolynomialMeans
Definition: ElectronCombinedMaterialEffects.h:78
Trk::ElectronCombinedMaterialEffects::operator=
ElectronCombinedMaterialEffects & operator=(ElectronCombinedMaterialEffects &&)=default