StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPsi2s.cc
1 /***************************************************************************
2  *
3  * $Id: StPsi2s.cc,v 1.1 2014/06/26 12:34:10 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: StPsi2s.cc,v $
17  * Revision 1.1 2014/06/26 12:34:10 jwebb
18  * Added Psi(2s) state.
19  *
20  * Revision 1.1 1999/05/14 18:47:50 ullrich
21  * Initial Revision
22  *
23  **************************************************************************/
24 #include "StPsi2s.hh"
25 #include "PhysicalConstants.h"
26 
27 StPsi2s::StPsi2s(const string & aName,
28  double mass,
29  double width,
30  double charge,
31  int iSpin,
32  int iParity,
33  int iConjugation,
34  int iIsospin,
35  int iIsospinZ,
36  int gParity,
37  const string & pType,
38  int lepton,
39  int baryon,
40  int encoding,
41  bool stable,
42  double lifetime)
43  : StMeson(aName, mass, width, charge, iSpin, iParity,
44  iConjugation, iIsospin, iIsospinZ, gParity,
45  pType, lepton, baryon, encoding, stable,
46  lifetime) {/* noop */}
47 
48 // ......................................................................
49 // ... static member definitions ...
50 // ......................................................................
51 //
52 // Arguments for constructor are as follows
53 // name mass width charge
54 // 2*spin parity C-conjugation
55 // 2*Isospin 2*Isospin3 G-parity
56 // type lepton number baryon number PDG encoding
57 // stable lifetime
58 //
59 StPsi2s StPsi2s::mPsi2s(
60  "J/psi", 3.09688*GeV, 87*MeV, 0.,
61  2, -1, -1,
62  0, 0, -1,
63  "meson", 0, 0, 443,
64  false, 0.0*nanosecond
65 );