Skip to content

Commit

Permalink
make function protected
Browse files Browse the repository at this point in the history
  • Loading branch information
sawenzel committed Jul 10, 2024
1 parent b6adf2a commit a516347
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,12 +163,6 @@ 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 @@ -260,6 +254,12 @@ 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 a516347

Please sign in to comment.