PandaRoot
ChiGenRandomEngine.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
/*
14
* @author Alexey Luchinsky
15
* @author Stanislav Poslavsky (stvlpos (at) mail.ru)
16
*/
17
18
#ifndef CHIGENRANDOMENGINE_H
19
#define CHIGENRANDOMENGINE_H
20
21
#include "EvtGenBase/EvtRandomEngine.hh"
22
#include "Basics.h"
23
#include "TNamed.h"
24
25
namespace
chigen
{
26
27
class
ChiGenRandomEngine
:
public
EvtRandomEngine,
public
Pythia8::RndmEngine,
public
TNamed {
28
public
:
34
ChiGenRandomEngine
(
long
seed = 1L);
35
36
~ChiGenRandomEngine
();
42
virtual
double
random
();
48
virtual
double
flat
();
49
55
int
getSeed
()
const
{
return
seed; }
56
57
private
:
58
long
seed;
59
};
60
}
// namespace chigen
61
62
#endif
/* CHIGENRANDOMENGINE_H */
chigen::ChiGenRandomEngine::flat
virtual double flat()
chigen
Definition:
ChiGen.h:24
chigen::ChiGenRandomEngine::random
virtual double random()
chigen::ChiGenRandomEngine::getSeed
int getSeed() const
Definition:
ChiGenRandomEngine.h:55
chigen::ChiGenRandomEngine::ChiGenRandomEngine
ChiGenRandomEngine(long seed=1L)
chigen::ChiGenRandomEngine::~ChiGenRandomEngine
~ChiGenRandomEngine()
chigen::ChiGenRandomEngine
Definition:
ChiGenRandomEngine.h:27
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pgenerators
chigen
ChiGenRandomEngine.h
Generated on Fri Nov 22 2024 06:04:40 for PandaRoot by
1.8.13