Skip to content

Commit 731f62f

Browse files
sawenzelalcaliva
authored andcommitted
make function protected
(cherry picked from commit a516347)
1 parent bfd378c commit 731f62f

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,12 +163,6 @@ 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-
172166
protected:
173167
/** copy constructor **/
174168
GeneratorPythia8(const GeneratorPythia8&);
@@ -260,6 +254,12 @@ class GeneratorPythia8 : public Generator
260254
/// performs seeding of the random state of Pythia (called from Init)
261255
void seedGenerator();
262256

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)