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