File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Generators/include/Generators Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,12 @@ class GeneratorPythia8 : public Generator
163163
164164 typedef std::function<bool (const Pythia8::Particle&)> UserFilterFcn;
165165
166+ // / A function allowing to set the initial value used in seeding Pythia.
167+ // / The function needs to be called before GeneratorPythia8::Init is invoked.
168+ // / The function value will be true upon success, or false if either Init has already been called or if the see is smaller than 0.
169+ // / For values of seed >= 0, a truncation to the range [0:90000000] will automatically take place via a modulus operation.
170+ bool setInitialSeed (long seed);
171+
166172 protected:
167173 /* * copy constructor **/
168174 GeneratorPythia8 (const GeneratorPythia8&);
@@ -254,12 +260,6 @@ class GeneratorPythia8 : public Generator
254260 // / performs seeding of the random state of Pythia (called from Init)
255261 void seedGenerator ();
256262
257- // / A function allowing to set the initial value used in seeding Pythia.
258- // / The function needs to be called before GeneratorPythia8::Init is invoked.
259- // / The function value will be true upon success, or false if either Init has already been called or if the see is smaller than 0.
260- // / For values of seed >= 0, a truncation to the range [0:90000000] will automatically take place via a modulus operation.
261- bool setInitialSeed (long seed);
262-
263263 /* * Pythia8 **/
264264 Pythia8::Pythia mPythia ; // !
265265
You can’t perform that action at this time.
0 commit comments