|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include <boost/math/tools/roots.hpp>
13 #include "Pythia8/PhaseSpace.h"
14 #include "Pythia8/Basics.h"
23 return (std::abs(
b -
a) <=
m_eps);
double m_Etot
Total energy of the system.
double m_lambda_plus
solutions in Lambda for shower generation
std::vector< Pythia8::Vec4 > generate_shower()
Generate a shower event, in the rest frame of the showe.
double f(double p)
Maxwell-Boltzman distribution, slightly massaged.
bool operator()(double a, double b)
double reballance_func(double a, const std::vector< Pythia8::Vec4 > &event)
auxiliary function which computes the total energy difference as a function of the momentum vectors a...
double test_fun(double p)
Test function to be solved for p_plus,p_minus.
double m_Temp
Temperature parameter.
double m_A
mass/Temperature ratio
double fp(double p)
Derivative of Maxwell-Boltzmann.
Auxiliary class for SUEP generation.
POOL::TEvent event(POOL::TEvent::kClassAccess)
double m_p_plus
solutions for shower generation.
Pythia8::Rndm * m_rndmEngine
Random number generator, if not provided will use rand()
double m_p_m
convenience function of mass/Temperature ratio
double m_m
Mass of the dark mesons to be generated in the shower.
double m_q_plus
solutions for shower generation.
Suep_shower(double mass, double temperature, double energy, Pythia8::Rndm *rndm=0)
Constructor.
Pythia8::Vec4 generateFourVector()
generate one random 4 vector from the thermal distribution