Skip to content

Commit

Permalink
Changed particle generator range from pt to p and number of particles…
Browse files Browse the repository at this point in the history
… per event to 1
  • Loading branch information
cdean-github committed Jan 13, 2022
1 parent d06b38a commit 7bf46da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions detectors/EICDetector/Fun4All_G4_EICDetector.C
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit 7bf46da

Please sign in to comment.