LOGO

RestFrames  v1.0.1
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 
47  ppLabGenFrame(const std::string& sname,
48  const std::string& stitle);
49  virtual ~ppLabGenFrame();
50 
52  virtual void Clear();
53 
57  void SetEnergyP1(double E);
58 
62  void SetEnergyP2(double E);
63 
67  double GetEnergyP1() const;
68 
72  double GetEnergyP2() const;
73 
75  void SetPDFqqbar();
76 
78  void SetPDFgg();
79 
81  void SetPDFgq();
82 
84  void SetPDFqq();
85 
86 
95 
97  virtual double GetProbMCMC(double mass = -1.) const;
98 
100 
101  protected:
102  virtual bool InitializeGenAnalysis();
103  virtual bool IterateMCMC();
104 
105  private:
106  double m_Ep1;
107  double m_Ep2;
108 
109  double m_deltaLogX;
110 
111  bool m_PDFqqbar;
112  bool m_PDFgg;
113  bool m_PDFgq;
114  bool m_PDFqq;
115  virtual double pPDF_q(double x) const;
116  virtual double pPDF_qbar(double x) const;
117  virtual double pPDF_g(double x) const;
118 
119  // proton PDF parameters
120  static double m_PDF_eta_1;
121  static double m_PDF_eta_2;
122  static double m_PDF_eps_u;
123  static double m_PDF_g_u;
124  static double m_PDF_del_S;
125  static double m_PDF_eta_S;
126  static double m_PDF_eps_S;
127  static double m_PDF_g_S;
128  static double m_PDF_A_g;
129  static double m_PDF_del_g;
130  static double m_PDF_eta_g;
131  static double m_PDF_eps_g;
132  static double m_PDF_g_g;
133  static double m_PDF_A_g1;
134  static double m_PDF_del_g1;
135  static double m_PDF_eta_g1;
136 
137  };
138 
139 }
140 
141 #endif
RestFrames::ppLabGenFrame::SetEnergyP2
void SetEnergyP2(double E)
Sets energy for colliding beam #2.
Definition: ppLabGenFrame.cc:100
RestFrames::ppLabGenFrame::SetPDFgg
void SetPDFgg()
Sets parton distribution function for gluon-gluon interaction.
Definition: ppLabGenFrame.cc:70
RestFrames::ppLabGenFrame::SetPDFqq
void SetPDFqq()
Sets parton distribution function for valence quark-valence quark interaction.
Definition: ppLabGenFrame.cc:86
RestFrames::ppLabGenFrame
Definition: ppLabGenFrame.hh:40
RestFrames::ppLabGenFrame::GetEnergyP2
double GetEnergyP2() const
Returns energy of colliding beam #2.
Definition: ppLabGenFrame.cc:110
RestFrames::ppLabGenFrame::ppLabGenFrame
ppLabGenFrame(const std::string &sname, const std::string &stitle)
Standard constructor.
Definition: ppLabGenFrame.cc:38
RestFrames::ppLabGenFrame::GetProbMCMC
virtual double GetProbMCMC(double mass=-1.) const
Evaluates probability of the state is in right now or the probablility of a state it could go in.
Definition: ppLabGenFrame.cc:167
RestFrames::ppLabGenFrame::SetPDFgq
void SetPDFgq()
Sets parton distribution function for gluon-valence quark interaction.
Definition: ppLabGenFrame.cc:78
RestFrames::ppLabGenFrame::SetEnergyP1
void SetEnergyP1(double E)
Sets energy for colliding beam #1.
Definition: ppLabGenFrame.cc:94
LabGenFrame.hh
RestFrames::LabGenFrame
Definition: LabGenFrame.hh:41
RestFrames::ppLabGenFrame::Clear
virtual void Clear()
Clears ppLabGenFrame to all connections from other objects.
Definition: ppLabGenFrame.cc:57
RestFrames::ppLabGenFrame::GetEnergyP1
double GetEnergyP1() const
Returns energy of colliding beam #1.
Definition: ppLabGenFrame.cc:106
RestFrames::ppLabGenFrame::SetPDFqqbar
void SetPDFqqbar()
Sets parton distribution function for valence quark-sea quarks.
Definition: ppLabGenFrame.cc:62