Commit c0151a55 authored by Hendrik Hoeth's avatar Hendrik Hoeth
Browse files

speed up AHADIC (merge c19344 from trunk)

parent 86c3f91a
......@@ -280,7 +280,7 @@ ProduceKinematics(const bool & first,const bool & vetodiquark) {
double exparg(m_pt2max_factor*m_pt2max/masscor);
int trials(0);
while ((trials++)<1000) {
while ((trials++)<150) {
rand = ATOOLS::ran->Get();
if (OneMinExpo<=0.)
m_y = ymin * pow(ymax/ymin,rand);
......@@ -319,7 +319,7 @@ ProduceKinematics(const bool & first,const bool & vetodiquark) {
if (m_analyse) {
m_histograms.find(std::string("Kinematics_Trials"))->second->Insert(trials);
}
return (trials<1000);
return (trials<150);
}
bool Splitting_Tools::ConstructKinematics() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment