stablejet is hosted by Hepforge, IPPP Durham
StableJet
StandardModel.h
1 // StandardModel.h is a part of the PYTHIA event generator.
2 // Copyright (C) 2011 Torbjorn Sjostrand.
3 // PYTHIA is licenced under the GNU GPL version 2, see COPYING for details.
4 // Please respect the MCnet Guidelines, see GUIDELINES for details.
5 
6 // This file gives access to some Standard Model parameters.
7 // AlphaStrong: fix or first- or second-order running alpha_strong.
8 
9 #ifndef StandardModel_H
10 #define StandardModel_H
11 
12 
13 //==========================================================================
14 
15 // The AlphaStrong class calculates the alpha_strong value at an arbitrary
16 // scale, given the value at m_Z, to zeroth, first or second order.
17 
18 class AlphaStrong {
19 
20 public:
21 
22  // Constructors.
23  AlphaStrong() : isInit(false) {}
24  AlphaStrong(double valueIn, int orderIn = 1) {
25  init( valueIn, orderIn) ;}
26 
27  // Initialization for given value at M_Z and given order.
28  void init(double valueIn = 0.12, int orderIn = 1);
29 
30  // alpha_S value and Lambda values.
31  double alphaS(double scale2) const;
32  double alphaS1Ord(double scale2);
33  double alphaS2OrdCorr(double scale2);
34  double Lambda3() const { return Lambda3Save; }
35  double Lambda4() const { return Lambda4Save; }
36  double Lambda5() const { return Lambda5Save; }
37 
38 protected:
39 
40  // Initialization data member; protected to allow inheritance.
41  bool isInit;
42 
43 private:
44 
45  // Constants: could only be changed in the code itself.
46  static const int NITER;
47  static const double MC, MB, MZ, SAFETYMARGIN1, SAFETYMARGIN2;
48 
49  // Data members.
50  mutable bool lastCallToFull;
51  int order;
52  double valueRef, scale2Min, Lambda3Save,
53  Lambda4Save, Lambda5Save, Lambda3Save2, Lambda4Save2,
54  Lambda5Save2, mc, mb, mZ, mc2, mb2;
55  mutable double scale2Now, valueNow;
56 
57 };
58 
59 
60 
61 #endif // Pythia8_StandardModel_H