Belle II Software
development
EvtGenFwRandEngine.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <EvtGenBase/EvtRandomEngine.hh>
12
#include <TRandom3.h>
13
15
class
EvtGenFwRandEngine
:
public
EvtRandomEngine {
16
public
:
17
18
/* Constructor. */
19
virtual
double
random
()
20
{
21
return
gRandom->Uniform(1.0);
22
}
23
};
24
EvtGenFwRandEngine
Evtgen random generator.
Definition:
EvtGenFwRandEngine.h:15
EvtGenFwRandEngine::random
virtual double random()
Definition:
EvtGenFwRandEngine.h:19
generators
evtgen
include
EvtGenFwRandEngine.h
Generated on Tue Nov 12 2024 02:38:06 for Belle II Software by
1.9.6