thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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 
26 namespace ThePEG {
27 
31 class TestLHAPDF: public Main {
32 
33 public:
34 
39  static void Init();
40 
41 private:
42 
47 
51  TestLHAPDF & operator=(const TestLHAPDF &) = delete;
52 
53 };
54 
55 }
56 
57 // CLASSDOC OFF
58 
59 #include "ThePEG/Utilities/ClassTraits.h"
60 
61 namespace ThePEG {
62 
65 // The following template specialization informs ThePEG about the
66 // base class of TestLHAPDF.
67 template <>
68 struct 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.
74 template <>
75 struct 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 */
ClassTraitsType is an empty, non-polymorphic, base class.
Definition: ClassTraits.h:30
static void Init()
Standard Init function used to initialize the interfaces.
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
This is a base class for classes implementing a main steering routine for running an EventGenerator...
Definition: Main.h:35
static NoPIOClassDescription< TestLHAPDF > initTestLHAPDF
Describe a concrete class without persistent data.
Definition: TestLHAPDF.h:46
The default concrete implementation of ClassTraitsBase.
Definition: ClassTraits.h:134
TestLHAPDF & operator=(const TestLHAPDF &)=delete
Private and non-existent assignment operator.
BaseClassTraits describes the base classes of the templated class.
Definition: ClassTraits.h:156
Class derived from Main to do simple tests of the LHAPDF class.
Definition: TestLHAPDF.h:31
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
Definition: ClassTraits.h:52