#include <PairProductionSimulator.h>
Public Member Functions | |
PairProductionSimulator (double photonEnergyCut) | |
Constructor. More... | |
~PairProductionSimulator () override | |
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 *) override |
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 7 of file PairProductionSimulator.cc.
References SiStripPI::max, photonEnergy, and fastSimProducer_cff::photonEnergyCut.
|
inlineoverride |
|
overrideprivatevirtual |
Generate an e+e- pair according to the probability that it happens.
Implements MaterialEffectsSimulator.
Definition at line 12 of file PairProductionSimulator.cc.
References MaterialEffectsSimulator::_theUpdatedState, funct::cos(), MaterialEffectsSimulator::eMass(), RandomEngineAndDistribution::flatShoot(), gbteth(), dqm-mbProfile::log, M_PI, makeParticle(), SiStripPI::max, phi, photonEnergy, MaterialEffectsSimulator::radLengths, funct::sin(), and mathSSE::sqrt().
|
private |
A universal angular distribution - still from GEANT.
Definition at line 89 of file PairProductionSimulator.cc.
References HLT_FULL_cff::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 34 of file PairProductionSimulator.h.
Referenced by compute(), PairProductionSimulator(), and Jet.Jet::photonEnergyFraction().