ThePEG  1.8.0
TestLHAPDF.h
1 // -*- C++ -*-
2 //
3 // TestLHAPDF.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 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 &);
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 */
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 string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition: ClassTraits.h:85
TestLHAPDF & operator=(const TestLHAPDF &)
Private and non-existent assignment operator.
static NoPIOClassDescription< TestLHAPDF > initTestLHAPDF
Describe a concrete class without persistent data.
Definition: TestLHAPDF.h:46
static string className()
Return the name of class T.
Definition: ClassTraits.h:66
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition: ClassTraits.h:161
Class derived from Main to do simple tests of the LHAPDF class.
Definition: TestLHAPDF.h:31