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 875 of file EvtInclusiveDecay.cxx.

876  : m_engine(engine)
877 {}

◆ ~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 879 of file EvtInclusiveDecay.cxx.

879  {
880  return CLHEP::RandFlat::shoot(m_engine);
881 }

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