thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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
18struct FixGlobal1 {
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
31BOOST_GLOBAL_FIXTURE(FixGlobal1);
32
33#endif
StandardRandom inherits from the RandomGenerator class and is an interface to the CLHEP::JamesRandom ...
This UseRandom class keeps a static stack of RandomGenerator objects which can be used anywhere by an...
Definition: UseRandom.h:33