herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
IsoSpin.h
1// -*- C++ -*-
2//
3// IsoSpin.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2017 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef HERWIG_IsoSpin_H
10#define HERWIG_IsoSpin_H
11//
12// This is the declaration of the Isospin namespace and values.
13//
14namespace Herwig {
15 namespace IsoSpin {
16
20 enum IsoSpin { IUnknown, IZero, IHalf, IOne, IThreeHalf};
21
25 enum I3 { I3Unknown, I3MinusOne, I3MinusThreeHalf, I3MinusHalf, I3Zero, I3Half, I3One, I3ThreeHalf};
26 }
27 namespace Strangeness {
31 enum Strange { Unknown, ssbar, Zero, PlusOne, MinusOne};
32 }
33 namespace Charm {
37 enum Charm { Unknown, ccbar, Zero, PlusOne, MinusOne};
38 }
39 namespace Beauty {
43 enum Bottom { Unknown, bbbar, Zero, PlusOne, MinusOne};
44 }
45
46 struct FlavourInfo {
47
51 FlavourInfo() : I(IsoSpin::IUnknown), I3(IsoSpin::I3Unknown),
52 strange(Strangeness::Unknown), charm(Charm::Unknown), bottom(Beauty::Unknown)
53 {}
54
58 FlavourInfo(IsoSpin::IsoSpin Iin, IsoSpin::I3 I3in, Strangeness::Strange Sin=Strangeness::Unknown,
59 Charm::Charm Cin=Charm::Unknown, Beauty::Bottom Bin=Beauty::Unknown) :
60 I(Iin), I3(I3in),strange(Sin), charm(Cin), bottom(Bin)
61 {}
62
66 IsoSpin::IsoSpin I;
67
71 IsoSpin::I3 I3;
72
76 Strangeness::Strange strange;
77
81 Charm::Charm charm;
82
86 Beauty::Bottom bottom;
87 };
88}
89
90#endif /* HERWIG_IsoSpin_H */
-*- C++ -*-
Charm::Charm charm
Charm.
Definition: IsoSpin.h:81
IsoSpin::IsoSpin I
Total isospin.
Definition: IsoSpin.h:66
IsoSpin::I3 I3
Definition: IsoSpin.h:71
FlavourInfo()
Constructor.
Definition: IsoSpin.h:51
FlavourInfo(IsoSpin::IsoSpin Iin, IsoSpin::I3 I3in, Strangeness::Strange Sin=Strangeness::Unknown, Charm::Charm Cin=Charm::Unknown, Beauty::Bottom Bin=Beauty::Unknown)
Constructor.
Definition: IsoSpin.h:58
Beauty::Bottom bottom
Strange.
Definition: IsoSpin.h:86
Strangeness::Strange strange
Strange.
Definition: IsoSpin.h:76