LOGO

RestFrames  v1.0.0
RestFrames HEP Event Analysis Software Library
ppLabGenFrame.hh
Go to the documentation of this file.
1 // RestFrames: particle physics event analysis library
3 // --------------------------------------------------------------------
4 // Copyright (c) 2014-2016, Christopher Rogan
14 // This file is part of RestFrames.
15 //
16 // RestFrames is free software; you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation; either version 2 of the License, or
19 // (at your option) any later version.
20 //
21 // RestFrames is distributed in the hope that it will be useful,
22 // but WITHOUT ANY WARRANTY; without even the implied warranty of
23 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 // GNU General Public License for more details.
25 //
26 // You should have received a copy of the GNU General Public License
27 // along with RestFrames. If not, see <http://www.gnu.org/licenses/>.
29 
30 #ifndef ppLabGenFrame_HH
31 #define ppLabGenFrame_HH
32 
34 
35 namespace RestFrames {
36 
38  // ppLabGenFrame class
40  class ppLabGenFrame : public LabGenFrame {
41  public:
42  ppLabGenFrame(const std::string& sname,
43  const std::string& stitle);
44  virtual ~ppLabGenFrame();
45 
46  virtual void Clear();
47 
48  void SetEnergyP1(double E);
49  void SetEnergyP2(double E);
50 
51  double GetEnergyP1() const;
52  double GetEnergyP2() const;
53 
54  void SetPDFqqbar();
55  void SetPDFgg();
56  void SetPDFgq();
57  void SetPDFqq();
58 
59  virtual double GetProbMCMC(double mass = -1.) const;
60 
61  protected:
62  virtual bool InitializeGenAnalysis();
63  virtual bool IterateMCMC();
64 
65  private:
66  double m_Ep1;
67  double m_Ep2;
68 
69  double m_deltaLogX;
70 
71  bool m_PDFqqbar;
72  bool m_PDFgg;
73  bool m_PDFgq;
74  bool m_PDFqq;
75  virtual double pPDF_q(double x) const;
76  virtual double pPDF_qbar(double x) const;
77  virtual double pPDF_g(double x) const;
78 
79  // proton PDF parameters
80  static double m_PDF_eta_1;
81  static double m_PDF_eta_2;
82  static double m_PDF_eps_u;
83  static double m_PDF_g_u;
84  static double m_PDF_del_S;
85  static double m_PDF_eta_S;
86  static double m_PDF_eps_S;
87  static double m_PDF_g_S;
88  static double m_PDF_A_g;
89  static double m_PDF_del_g;
90  static double m_PDF_eta_g;
91  static double m_PDF_eps_g;
92  static double m_PDF_g_g;
93  static double m_PDF_A_g1;
94  static double m_PDF_del_g1;
95  static double m_PDF_eta_g1;
96 
97  };
98 
99 }
100 
101 #endif
virtual void Clear()
Clears GeneratorFrame of all connections to other objects.