thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Repository
tests
repositoryTestsGlobalFixture.h
1
// -*- C++ -*-
2
//
3
// repositoryTestGlobalFixture.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad, 2015 Marco A. Harrendorf
5
//
6
// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8
//
9
#ifndef ThePEG_Repository_Tests_GlobalFixture_H
10
#define ThePEG_Repository_Tests_GlobalFixture_H
11
12
#include <boost/test/unit_test.hpp>
13
14
#include "ThePEG/Repository/StandardRandom.h"
15
#include "ThePEG/Repository/UseRandom.h"
16
#include "ThePEG/Config/Unitsystem.h"
17
18
struct
FixGlobal1
{
19
ThePEG::StandardRandom
srng;
20
ThePEG::UseRandom
urng;
21
22
FixGlobal1
() : srng(), urng(&srng) {
23
BOOST_TEST_MESSAGE(
"setup global fixture for repositoryTest"
);
24
}
25
26
~FixGlobal1
() {
27
BOOST_TEST_MESSAGE(
"teardown global fixture for repositoryTest"
);
28
}
29
};
30
31
BOOST_GLOBAL_FIXTURE(
FixGlobal1
);
32
33
#endif
ThePEG::StandardRandom
StandardRandom inherits from the RandomGenerator class and is an interface to the CLHEP::JamesRandom ...
Definition:
StandardRandom.h:26
ThePEG::UseRandom
This UseRandom class keeps a static stack of RandomGenerator objects which can be used anywhere by an...
Definition:
UseRandom.h:33
FixGlobal1
Definition:
repositoryTestsGlobalFixture.h:18
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6