Skip to content
Snippets Groups Projects
Commit 9f6bc3e0 authored by Jihee Kim's avatar Jihee Kim
Browse files

Changed the number of events from 100 to 500.

parent d171b9cf
Branches
No related tags found
1 merge request!8Change in the number of events
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -15,7 +15,7 @@
using namespace HepMC3;
void zdc_photons(){
WriterAscii hepmc_output("./data/zdc_photons.hepmc");
WriterAscii hepmc_output("./data/zdc_photons_evt500.hepmc");
int events_parsed = 0;
GenEvent evt(Units::GEV, Units::MM);
......@@ -25,7 +25,7 @@ void zdc_photons(){
std::uniform_real_distribution<double> uniform_theta(0.0,2.0*TMath::DegToRad()); // 2[degree]
std::uniform_real_distribution<double> uniform_phi(0.0,2.0*TMath::Pi()); // 360[degree]
for (events_parsed = 0; events_parsed < 100; events_parsed++) {
for (events_parsed = 0; events_parsed < 500; events_parsed++) {
// FourVector(px,py,pz,e,pdgid,status)
// type 4 is beam
// pdgid 11 - electron
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment