quark.h
Go to the documentation of this file.
1 /*
2  -------------------------------------------------------------------
3 
4  Copyright (C) 2006-2017, Andrew W. Steiner
5 
6  This file is part of O2scl.
7 
8  O2scl is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  O2scl is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with O2scl. If not, see <http://www.gnu.org/licenses/>.
20 
21  -------------------------------------------------------------------
22 */
23 #ifndef O2SCL_QUARK_H
24 #define O2SCL_QUARK_H
25 
26 /** \file quark.h
27  \brief File defining \ref o2scl::quark
28 */
29 
30 #include <string>
31 #include <iostream>
32 #include <fstream>
33 #include <math.h>
34 #include <o2scl/constants.h>
35 #include <o2scl/mroot.h>
36 #include <o2scl/inte.h>
37 
38 #include <o2scl/fermion.h>
39 
40 #ifndef DOXYGEN_NO_O2NS
41 namespace o2scl {
42 #endif
43 
44  /** \brief Quark class
45 
46  */
47  class quark : public fermion {
48 
49  public:
50 
51  /// Contribution to the bag constant
52  double B;
53 
54  /// Quark condensate
55  double qq;
56 
57  /// Create a boson with mass \c m and degeneracy \c g
58  quark(double m=0.0, double g=0.0);
59 
60  /// Return string denoting type ("quark")
61  virtual const char *type() { return "quark"; }
62 
63  };
64 
65 #ifndef DOXYGEN_NO_O2NS
66 }
67 #endif
68 
69 #endif
quark(double m=0.0, double g=0.0)
Create a boson with mass m and degeneracy g.
Fermion class.
Definition: fermion.h:52
double m
Mass.
Definition: part.h:99
double qq
Quark condensate.
Definition: quark.h:55
Quark class.
Definition: quark.h:47
virtual const char * type()
Return string denoting type ("quark")
Definition: quark.h:61
double B
Contribution to the bag constant.
Definition: quark.h:52
double g
Degeneracy (e.g. spin and color if applicable)
Definition: part.h:97

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).