thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
TestLHAPDF.h
1// -*- C++ -*-
2//
3// TestLHAPDF.h is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
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_TestLHAPDF_H
10#define ThePEG_TestLHAPDF_H
11//
12// This is the declaration of the <!id>TestLHAPDF<!!id> class.
13//
14// CLASSDOC SUBSECTION Description:
15//
16//
17//
18// CLASSDOC SUBSECTION See also:
19//
20// <a href="http:.html">.h</a>,
21// <a href="http:.html">.h</a>.
22//
23
24#include "ThePEG/Repository/Main.h"
25
26namespace ThePEG {
27
31class TestLHAPDF: public Main {
32
33public:
34
39 static void Init();
40
41private:
42
47
51 TestLHAPDF & operator=(const TestLHAPDF &) = delete;
52
53};
54
55}
56
57// CLASSDOC OFF
58
59#include "ThePEG/Utilities/ClassTraits.h"
60
61namespace ThePEG {
62
65// The following template specialization informs ThePEG about the
66// base class of TestLHAPDF.
67template <>
68struct BaseClassTrait<ThePEG::TestLHAPDF,1>: public ClassTraitsType {
69 typedef Main NthBase;
70};
71
72// The following template specialization informs ThePEG about the
73// name of this class and the shared object where it is defined.
74template <>
75struct ClassTraits<ThePEG::TestLHAPDF>
76 : public ClassTraitsBase<ThePEG::TestLHAPDF> {
77 static string className() { return "ThePEG::TestLHAPDF"; }
78 // Return the class name.
79 static string library() { return "TestLHAPDF.so"; }
80 // Return the name of the shared library to be loaded to get
81 // access to this class and every other class it uses
82 // (except the base class).
83};
84
87}
88
89#endif /* ThePEG_TestLHAPDF_H */
This is a base class for classes implementing a main steering routine for running an EventGenerator,...
Definition: Main.h:35
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
Class derived from Main to do simple tests of the LHAPDF class.
Definition: TestLHAPDF.h:31
TestLHAPDF & operator=(const TestLHAPDF &)=delete
Private and non-existent assignment operator.
static void Init()
Standard Init function used to initialize the interfaces.
static NoPIOClassDescription< TestLHAPDF > initTestLHAPDF
Describe a concrete class without persistent data.
Definition: TestLHAPDF.h:46
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition: ClassTraits.h:161
static string className()
Return the name of class T.
Definition: ClassTraits.h:66
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition: ClassTraits.h:85