StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StAntiProton.cc
1 /***************************************************************************
2  *
3  * $Id: StAntiProton.cc,v 1.1 1999/05/14 18:47:18 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: StAntiProton.cc,v $
17  * Revision 1.1 1999/05/14 18:47:18 ullrich
18  * Initial Revision
19  *
20  **************************************************************************/
21 #include "StAntiProton.hh"
22 #include "PhysicalConstants.h"
23 
24 StAntiProton::StAntiProton(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  : StBaryon(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 StAntiProton StAntiProton::mAntiProton(
57  "anti_proton", 0.9382723*GeV, 0.0*MeV, -1.0*eplus,
58  1, +1, 0,
59  1, -1, 0,
60  "baryon", 0, -1, -2212,
61  true, -1.0
62 );