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 44 of file EvtInclusiveDecay.h.

Constructor & Destructor Documentation

◆ EvtInclusiveAtRndmGen()

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

Definition at line 872 of file EvtInclusiveDecay.cxx.

873  : m_engine(engine)
874 {}

◆ ~EvtInclusiveAtRndmGen()

virtual EvtInclusiveAtRndmGen::~EvtInclusiveAtRndmGen ( )
virtualdefault

Member Function Documentation

◆ getEngine()

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

Definition at line 49 of file EvtInclusiveDecay.h.

49 { return m_engine; }

◆ random()

double EvtInclusiveAtRndmGen::random ( )

Definition at line 876 of file EvtInclusiveDecay.cxx.

876  {
877  return CLHEP::RandFlat::shoot(m_engine);
878 }

Member Data Documentation

◆ m_engine

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

Definition at line 51 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:51