#include <fstream>
#include "TF1.h"
#include "FastSimulation/MaterialEffects/interface/PetrukhinModel.h"
#include <cmath>
Go to the source code of this file.
double PetrukhinFunc |
( |
double * |
x, |
|
|
double * |
p |
|
) |
| |
Definition at line 22 of file PetrukhinModel.cc.
References funct::A, alpha, TtFullHadDaughter::B, CommonMethods::delta(), validate-o2o-wbm::f, funct::pow(), and BeamSpotPI::Z.
Referenced by MuonBremsstrahlungSimulator::compute(), and fastsim::MuonBremsstrahlung::interact().
68 double Z13 =
pow(Z, -1. / 3.);
69 double Z23 =
pow(Z, -2. / 3.);
72 double emass = 0.0005109990615;
73 double mumass = 0.105658367;
75 double alpha = 0.00729735;
76 double constant = 1.85736e-30;
78 double Dn = 1.54 * (
pow(A, 0.27));
79 double Dnl =
pow(Dn, (1. - 1. / Z));
81 double delta = (mumass * mumass * nu) / (2. * E * (1. - nu));
83 double Phi_n = TMath::Log(B * Z13 * (mumass + delta * (Dnl * ee - 2)) / (Dnl * (emass + delta * ee * B * Z13)));
86 TMath::Log((Bl * Z23 * mumass) / (1. + delta * mumass / (emass * emass * ee)) / (emass + delta * ee * Bl * Z23));
89 double f = 16. / 3. * alpha * constant * Z * (Z * Phi_n + Phi_e) * (1. / nu) * (1. - nu + 0.75 * nu * nu);
uint16_t const *__restrict__ x
static const std::string B
Power< A, B >::type pow(const A &a, const B &b)