ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
customRndm Class Reference

#include <Pythia8_i.h>

Inheritance diagram for customRndm:
Collaboration diagram for customRndm:

Public Member Functions

 customRndm ()
 
double flat ()
 
void init (CLHEP::HepRandomEngine *engine)
 
CLHEP::HepRandomEngine * getEngine ()
 
unsigned long long int getRNCalls ()
 

Private Attributes

unsigned long long int m_RNC {}
 
CLHEP::HepRandomEngine * m_engine {}
 

Detailed Description

Definition at line 39 of file Pythia8_i.h.

Constructor & Destructor Documentation

◆ customRndm()

customRndm::customRndm ( )
inline

Definition at line 43 of file Pythia8_i.h.

43 {}

Member Function Documentation

◆ flat()

double customRndm::flat ( )
inline

Definition at line 46 of file Pythia8_i.h.

46  {
47  m_RNC++;
48  return CLHEP::RandFlat::shoot(m_engine);
49  };

◆ getEngine()

CLHEP::HepRandomEngine* customRndm::getEngine ( )
inline

Definition at line 53 of file Pythia8_i.h.

53 { return m_engine; }

◆ getRNCalls()

unsigned long long int customRndm::getRNCalls ( )
inline

Definition at line 54 of file Pythia8_i.h.

54 {return m_RNC;}

◆ init()

void customRndm::init ( CLHEP::HepRandomEngine *  engine)
inline

Definition at line 52 of file Pythia8_i.h.

52 {m_engine=engine; m_RNC=0;}

Member Data Documentation

◆ m_engine

CLHEP::HepRandomEngine* customRndm::m_engine {}
private

Definition at line 57 of file Pythia8_i.h.

◆ m_RNC

unsigned long long int customRndm::m_RNC {}
private

Definition at line 56 of file Pythia8_i.h.


The documentation for this class was generated from the following file:
customRndm::m_engine
CLHEP::HepRandomEngine * m_engine
Definition: Pythia8_i.h:57
customRndm::m_RNC
unsigned long long int m_RNC
Definition: Pythia8_i.h:56