Skip to content

Commit

Permalink
Electron gun setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cdean-github committed Jul 16, 2021
1 parent 7d88fe9 commit 5d2dbe2
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("pi+", 1);
INPUTGENERATOR::SimpleEventGenerator[0]->add_particles("e-", 1);
if (Input::HEPMC || Input::EMBED)
{
INPUTGENERATOR::SimpleEventGenerator[0]->set_reuse_existing_vertex(true);
Expand All @@ -155,7 +155,7 @@ int Fun4All_G4_EICDetector(
INPUTGENERATOR::SimpleEventGenerator[0]->set_vertex_distribution_mean(0., 0., 0.);
INPUTGENERATOR::SimpleEventGenerator[0]->set_vertex_distribution_width(0., 0., 5.);
}
INPUTGENERATOR::SimpleEventGenerator[0]->set_eta_range(-3, 3);
INPUTGENERATOR::SimpleEventGenerator[0]->set_eta_range(-3.5, 3.5);
INPUTGENERATOR::SimpleEventGenerator[0]->set_phi_range(-M_PI, M_PI);
INPUTGENERATOR::SimpleEventGenerator[0]->set_p_range(0., 20.);
}
Expand Down

0 comments on commit 5d2dbe2

Please sign in to comment.