Skip to content

Commit

Permalink
Revert "make function protected"
Browse files Browse the repository at this point in the history
This reverts commit a516347.
  • Loading branch information
sawenzel committed Jul 11, 2024
1 parent a516347 commit d4b03d4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Generators/include/Generators/GeneratorPythia8.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ class GeneratorPythia8 : public Generator

typedef std::function<bool(const Pythia8::Particle&)> UserFilterFcn;

/// A function allowing to set the initial value used in seeding Pythia.
/// The function needs to be called before GeneratorPythia8::Init is invoked.
/// 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.
/// For values of seed >= 0, a truncation to the range [0:90000000] will automatically take place via a modulus operation.
bool setInitialSeed(long seed);

protected:
/** copy constructor **/
GeneratorPythia8(const GeneratorPythia8&);
Expand Down Expand Up @@ -254,12 +260,6 @@ class GeneratorPythia8 : public Generator
/// performs seeding of the random state of Pythia (called from Init)
void seedGenerator();

/// A function allowing to set the initial value used in seeding Pythia.
/// The function needs to be called before GeneratorPythia8::Init is invoked.
/// 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.
/// For values of seed >= 0, a truncation to the range [0:90000000] will automatically take place via a modulus operation.
bool setInitialSeed(long seed);

/** Pythia8 **/
Pythia8::Pythia mPythia; //!

Expand Down

0 comments on commit d4b03d4

Please sign in to comment.