Skip to content

Commit d4b03d4

Browse files
committed
Revert "make function protected"
This reverts commit a516347.
1 parent a516347 commit d4b03d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Generators/include/Generators/GeneratorPythia8.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)