ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsFatras::PhotonConversion Class Reference

This class handles the photon conversion. More...

#include <ActsFatras/Physics/ElectroMagnetic/PhotonConversion.hpp>

Public Member Functions

template<typename generator_t>
std::pair< double, double > generatePathLimits (generator_t &generator, const Particle &particle) const
 Method for evaluating the distance after which the photon conversion will occur.
template<typename generator_t>
bool run (generator_t &generator, Particle &particle, std::vector< Particle > &generated) const
 This method evaluates the final state due to the photon conversion.

Public Attributes

double childEnergyScaleFactor = 2.
 Scaling factor of children energy.
double conversionProbScaleFactor = 0.98
 Scaling factor for photon conversion probability.

Detailed Description

This class handles the photon conversion.

It evaluates the distance after which the interaction will occur and the final state due the interaction itself.

Member Function Documentation

◆ generatePathLimits()

template<typename generator_t>
std::pair< double, double > ActsFatras::PhotonConversion::generatePathLimits ( generator_t & generator,
const Particle & particle ) const

Method for evaluating the distance after which the photon conversion will occur.

Template Parameters
generator_tType of the random number generator
Parameters
[in,out]generatorThe random number generator
[in]particleThe particle
Returns
valid X0 limit and no limit on L0

◆ run()

template<typename generator_t>
bool ActsFatras::PhotonConversion::run ( generator_t & generator,
Particle & particle,
std::vector< Particle > & generated ) const

This method evaluates the final state due to the photon conversion.

Template Parameters
generator_tType of the random number generator
Parameters
[in,out]generatorThe random number generator
[in,out]particleThe interacting photon
[out]generatedList of generated particles
Returns
True if the conversion occurred, else false

Member Data Documentation

◆ childEnergyScaleFactor

double ActsFatras::PhotonConversion::childEnergyScaleFactor = 2.

Scaling factor of children energy.

◆ conversionProbScaleFactor

double ActsFatras::PhotonConversion::conversionProbScaleFactor = 0.98

Scaling factor for photon conversion probability.