StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StZZeroBoson.cc
1 /***************************************************************************
2  *
3  * $Id: StZZeroBoson.cc,v 1.1 2010/01/28 19:28:00 jwebb Exp $
4  *
5  * Author: Thomas Ullrich, May 99 (based on Geant4 code, see below)
6  ***************************************************************************
7  *
8  * The design of the StParticleDefinition class and all concrete
9  * classes derived from it is largely based on the design of the
10  * G4ParticleDefinition class from Geant4 (RD44).
11  * Although the code is in large parts different (modified or rewritten)
12  * and adapted to the STAR framework the basic idea stays the same.
13  *
14  ***************************************************************************
15  *
16  * $Log: StZZeroBoson.cc,v $
17  * Revision 1.1 2010/01/28 19:28:00 jwebb
18  * Added the W and Z bosons to the particles in the StarClassLibrary. This
19  * makes the particles available by name and by PDG id from the StParticleTable.
20  *
21  * Revision 1.1 1999/05/14 18:47:47 ullrich
22  * Initial Revision
23  *
24  **************************************************************************/
25 #include "StZZeroBoson.hh"
26 #include "PhysicalConstants.h"
27 
28 StZZeroBoson::StZZeroBoson(const string & aName,
29  double mass,
30  double width,
31  double charge,
32  int iSpin,
33  int iParity,
34  int iConjugation,
35  int iIsospin,
36  int iIsospinZ,
37  int gParity,
38  const string & pType,
39  int lepton,
40  int baryon,
41  int encoding,
42  bool stable,
43  double lifetime)
44  : StBoson(aName, mass, width, charge, iSpin, iParity,
45  iConjugation, iIsospin, iIsospinZ, gParity,
46  pType, lepton, baryon, encoding, stable,
47  lifetime) {/* noop */}
48 
49 // ......................................................................
50 // ... static member definitions ...
51 // ......................................................................
52 //
53 // Arguments for constructor are as follows
54 // name mass width charge
55 // 2*spin parity C-conjugation
56 // 2*Isospin 2*Isospin3 G-parity
57 // type lepton number baryon number PDG encoding
58 // stable lifetime
59 //
60 StZZeroBoson StZZeroBoson::mZZeroBoson(
61  "zzero", 91.1876*GeV, 2.4952*GeV, 0.0,
62  2, -1, -1,
63  0, 0, 0,
64  "zzero", 0, 0, 23,
65  false, 0.0
66 );