#include <PairProductionSimulator.h>
Public Member Functions | |
PairProductionSimulator (double photonEnergyCut) | |
Constructor. More... | |
~PairProductionSimulator () | |
Default Destructor. More... | |
Public Member Functions inherited from MaterialEffectsSimulator | |
RHEP_const_iter | beginDaughters () const |
Returns const iterator to the beginning of the daughters list. More... | |
int | closestDaughterId () |
The id of the closest charged daughter (filled for nuclear interactions only) More... | |
double | eMass () const |
Electron mass in GeV/c2. More... | |
RHEP_const_iter | endDaughters () const |
Returns const iterator to the end of the daughters list. More... | |
double | excitE () const |
Mean excitation energy (in GeV) More... | |
MaterialEffectsSimulator (double A=28.0855, double Z=14.0000, double density=2.329, double radLen=9.360) | |
unsigned | nDaughters () const |
Returns the number of daughters. More... | |
XYZVector | orthogonal (const XYZVector &) const |
A vector orthogonal to another one (because it's not in XYZTLorentzVector) More... | |
double | radLenIncm () const |
One radiation length in cm. More... | |
double | rho () const |
Density in g/cm3. More... | |
virtual void | save () |
Used by NuclearInteractionSimulator to save last sampled event. More... | |
void | setNormalVector (const GlobalVector &normal) |
Sets the vector normal to the surface traversed. More... | |
double | theA () const |
A. More... | |
double | theZ () const |
Z. More... | |
void | updateState (ParticlePropagator &myTrack, double radlen, RandomEngineAndDistribution const *) |
Compute the material effect (calls the sub class) More... | |
virtual | ~MaterialEffectsSimulator () |
Private Member Functions | |
void | compute (ParticlePropagator &Particle, RandomEngineAndDistribution const *) |
Generate an e+e- pair according to the probability that it happens. More... | |
double | gbteth (double ener, double partm, double efrac, RandomEngineAndDistribution const *) |
A universal angular distribution - still from GEANT. More... | |
Private Attributes | |
double | photonEnergy |
The minimal photon energy for possible conversion. More... | |
Additional Inherited Members | |
Public Types inherited from MaterialEffectsSimulator | |
typedef std::vector < RawParticle > ::const_iterator | RHEP_const_iter |
Protected Attributes inherited from MaterialEffectsSimulator | |
std::vector< RawParticle > | _theUpdatedState |
double | A |
double | density |
double | radLen |
double | radLengths |
int | theClosestChargedDaughterId |
GlobalVector | theNormalVector |
double | Z |
Definition at line 24 of file PairProductionSimulator.h.
PairProductionSimulator::PairProductionSimulator | ( | double | photonEnergyCut | ) |
Constructor.
Definition at line 6 of file PairProductionSimulator.cc.
References bookConverter::max, and photonEnergy.
|
inline |
|
privatevirtual |
Generate an e+e- pair according to the probability that it happens.
Implements MaterialEffectsSimulator.
Definition at line 13 of file PairProductionSimulator.cc.
References MaterialEffectsSimulator::_theUpdatedState, funct::cos(), MaterialEffectsSimulator::eMass(), RandomEngineAndDistribution::flatShoot(), gbteth(), dqm-mbProfile::log, M_PI, bookConverter::max, phi, photonEnergy, MaterialEffectsSimulator::radLengths, funct::sin(), mathSSE::sqrt(), and histoStyle::weight.
|
private |
A universal angular distribution - still from GEANT.
Definition at line 98 of file PairProductionSimulator.cc.
References beta, ztail::d, RandomEngineAndDistribution::flatShoot(), dqm-mbProfile::log, M_PI, and MaterialEffectsSimulator::theZ().
Referenced by compute().
|
private |
The minimal photon energy for possible conversion.
Definition at line 37 of file PairProductionSimulator.h.
Referenced by compute(), and PairProductionSimulator().