diff --git a/detectors/EICDetector/Fun4All_G4_EICDetector.C b/detectors/EICDetector/Fun4All_G4_EICDetector.C index cf21ddc2..76bd272e 100644 --- a/detectors/EICDetector/Fun4All_G4_EICDetector.C +++ b/detectors/EICDetector/Fun4All_G4_EICDetector.C @@ -141,7 +141,7 @@ int Fun4All_G4_EICDetector( // add the settings for other with [1], next with [2]... if (Input::SIMPLE) { - INPUTGENERATOR::SimpleEventGenerator[0]->add_particles(particleType, 5); + INPUTGENERATOR::SimpleEventGenerator[0]->add_particles(particleType, 1); if (Input::HEPMC || Input::EMBED) { INPUTGENERATOR::SimpleEventGenerator[0]->set_reuse_existing_vertex(true); @@ -157,7 +157,7 @@ int Fun4All_G4_EICDetector( } INPUTGENERATOR::SimpleEventGenerator[0]->set_eta_range(-4, 4); INPUTGENERATOR::SimpleEventGenerator[0]->set_phi_range(-M_PI, M_PI); - INPUTGENERATOR::SimpleEventGenerator[0]->set_pt_range(0.1, 20.); + INPUTGENERATOR::SimpleEventGenerator[0]->set_p_range(0.1, 20.); } // Upsilons // if you run more than one of these Input::UPSILON_NUMBER > 1