File: SimpleAlphaEM.h

package info (click to toggle)
thepeg 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 9,312 kB
  • ctags: 11,509
  • sloc: cpp: 57,129; sh: 11,315; java: 3,212; lisp: 1,402; makefile: 830; ansic: 58; perl: 3
file content (106 lines) | stat: -rw-r--r-- 2,779 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// -*- C++ -*-
//
// SimpleAlphaEM.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef ThePEG_SimpleAlphaEM_H
#define ThePEG_SimpleAlphaEM_H
// This is the declaration of the SimpleAlphaEM class.

#include "AlphaEMBase.h"

namespace ThePEG {

/**
 * SimpleAlphaEM inherits from AlphaEMBase and implements a simple
 * running of the electromagnetic coupling as parameterized by
 * H.~Buckhardt et al.
 *
 * @see \ref SimpleAlphaEMInterfaces "The interfaces"
 * defined for SimpleAlphaEM.
 */
class SimpleAlphaEM: public AlphaEMBase {

public:

  /**
   * The \f$\alpha_{EM}\f$. Return the value of the coupling at a
   * given \a scale using the given standard model object, \a sm.
   */
  virtual double value(Energy2 scale, const StandardModelBase &) const;

  /**
   * Return the number of loops contributing to
   * the running this coupling.
   */
  virtual unsigned int nloops () const { return 1; }

public:

  /**
   * Standard Init function used to initialize the interface.
   */
  static void Init();

protected:

  /** @name Clone Methods. */
  //@{
  /**
   * Make a simple clone of this object.
   * @return a pointer to the new object.
   */
  virtual IBPtr clone() const;

  /** Make a clone of this object, possibly modifying the cloned object
   * to make it sane.
   * @return a pointer to the new object.
   */
  virtual IBPtr fullclone() const;
  //@}

private:

  /**
   * Describe a concrete class without persistent data.
   */
  static NoPIOClassDescription<SimpleAlphaEM> initSimpleAlphaEM;

  /**
   *  Private and non-existent assignment operator.
   */
  SimpleAlphaEM & operator=(const SimpleAlphaEM &);

};

/** @cond TRAITSPECIALIZATIONS */

/** This template specialization informs ThePEG about the base classes
 *  of SimpleAlphaEM. */
template <>
struct BaseClassTrait<SimpleAlphaEM,1>: public ClassTraitsType {
  /** Typedef of the first base class of SimpleAlphaEM. */
  typedef AlphaEMBase NthBase;
};

/** This template specialization informs ThePEG about the name of the
 *  SimpleAlphaEM class and the shared object where it is
 *  defined. */
template <>
struct ClassTraits<SimpleAlphaEM>: public ClassTraitsBase<SimpleAlphaEM> {
  /** Return a platform-independent class name */
  static string className() { return "ThePEG::SimpleAlphaEM"; }
  /** Return the name of the shared library be loaded to get access to
   *  the SimpleAlphaEM class and every other class it uses
   *  (except the base class). */
  static string library() { return "SimpleAlphaEM.so"; }
};

/** @endcond */

}

#endif /* ThePEG_SimpleAlphaEM_H */