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

#include <HNLPythia8Generator.h>

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

Public Member Functions

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

Private Attributes

std::unique_ptr< TRandom3 > rng

Detailed Description

Definition at line 33 of file HNLPythia8Generator.h.

Constructor & Destructor Documentation

◆ PyTr3Rng()

PyTr3Rng::PyTr3Rng ( )
inline

Definition at line 35 of file HNLPythia8Generator.h.

35: rng(std::make_unique<TRandom3>(gRandom->GetSeed())) {}
std::unique_ptr< TRandom3 > rng

◆ ~PyTr3Rng()

PyTr3Rng::~PyTr3Rng ( )
overridedefault

Member Function Documentation

◆ flat()

Double_t PyTr3Rng::flat ( )
inlineoverride

Definition at line 38 of file HNLPythia8Generator.h.

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

Member Data Documentation

◆ rng

std::unique_ptr<TRandom3> PyTr3Rng::rng
private

Definition at line 41 of file HNLPythia8Generator.h.


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