FairShip
Loading...
Searching...
No Matches
PyTr1Rng Class Reference

#include <HNLPythia8Generator.h>

Inheritance diagram for PyTr1Rng:
[legend]
Collaboration diagram for PyTr1Rng:
[legend]

Public Member Functions

 PyTr1Rng ()
 ~PyTr1Rng () override=default
Double_t flat () override

Private Attributes

std::unique_ptr< TRandom1 > rng

Detailed Description

Definition at line 22 of file HNLPythia8Generator.h.

Constructor & Destructor Documentation

◆ PyTr1Rng()

PyTr1Rng::PyTr1Rng ( )
inline

Definition at line 24 of file HNLPythia8Generator.h.

24: rng(std::make_unique<TRandom1>(gRandom->GetSeed())) {}
std::unique_ptr< TRandom1 > rng

◆ ~PyTr1Rng()

PyTr1Rng::~PyTr1Rng ( )
overridedefault

Member Function Documentation

◆ flat()

Double_t PyTr1Rng::flat ( )
inlineoverride

Definition at line 27 of file HNLPythia8Generator.h.

27{ return rng->Rndm(); };

Member Data Documentation

◆ rng

std::unique_ptr<TRandom1> PyTr1Rng::rng
private

Definition at line 30 of file HNLPythia8Generator.h.


The documentation for this class was generated from the following file: