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

#include <EvtInclusiveDecay.h>

Inheritance diagram for EvtInclusiveAtRndmGen:
Collaboration diagram for EvtInclusiveAtRndmGen:

Public Member Functions

 EvtInclusiveAtRndmGen (CLHEP::HepRandomEngine *engine)
 
virtual ~EvtInclusiveAtRndmGen ()=default
 
double random ()
 
CLHEP::HepRandomEngine * getEngine ()
 

Private Attributes

CLHEP::HepRandomEngine * m_engine {}
 

Detailed Description

Definition at line 46 of file EvtInclusiveDecay.h.

Constructor & Destructor Documentation

◆ EvtInclusiveAtRndmGen()

EvtInclusiveAtRndmGen::EvtInclusiveAtRndmGen ( CLHEP::HepRandomEngine *  engine)

Definition at line 899 of file EvtInclusiveDecay.cxx.

900  : m_engine(engine)
901 {}

◆ ~EvtInclusiveAtRndmGen()

virtual EvtInclusiveAtRndmGen::~EvtInclusiveAtRndmGen ( )
virtualdefault

Member Function Documentation

◆ getEngine()

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

Definition at line 51 of file EvtInclusiveDecay.h.

51 { return m_engine; }

◆ random()

double EvtInclusiveAtRndmGen::random ( )

Definition at line 903 of file EvtInclusiveDecay.cxx.

903  {
904  return CLHEP::RandFlat::shoot(m_engine);
905 }

Member Data Documentation

◆ m_engine

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

Definition at line 53 of file EvtInclusiveDecay.h.


The documentation for this class was generated from the following files:
EvtInclusiveAtRndmGen::m_engine
CLHEP::HepRandomEngine * m_engine
Definition: EvtInclusiveDecay.h:53