We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff205f commit 6365759Copy full SHA for 6365759
MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C
@@ -30,6 +30,9 @@ public:
30
31
auto seed = (gRandom->TRandom::GetSeed() % 900000000);
32
33
+ int offset = (int)(gRandom->Uniform(lInverseTriggerRatio)); // create offset to mitigate edge effects due to small number of events per job
34
+ lGeneratedEvents += offset;
35
+
36
cout << "Initalizing extra PYTHIA object used to generate min-bias events..." << endl;
37
TString pathconfigMB = gSystem->ExpandPathName("$O2DPG_ROOT/MC/config/PWGEM/pythia8/generator/pythia8_MB_gapevent.cfg");
38
pythiaObjectMinimumBias.readFile(pathconfigMB.Data());
0 commit comments