StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StAntiDeuteron.cc
1 /***************************************************************************
2  *
3  * $Id: StAntiDeuteron.cc,v 1.2 2011/07/20 17:57:52 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: StAntiDeuteron.cc,v $
17  * Revision 1.2 2011/07/20 17:57:52 jwebb
18  * Updated StParticleTable to provide access to anti-nuclei via the "geant" ID.
19  *
20  * Revision 1.1 2011/03/25 18:17:45 jwebb
21  * Updates to StParticleTable and additions to STAR Class Library
22  *
23  * (1) resolve ticket 2097
24  * (2) include all particles/deays defined in gstar_part.g
25  * (3) added few anti-nuclei in anticipation of future needs.
26  * (3) added the geantino for completeness
27  *
28  * Revision 1.1 1999/05/14 18:47:40 ullrich
29  * Initial Revision
30  *
31  **************************************************************************/
32 #include "StAntiDeuteron.hh"
33 #include "PhysicalConstants.h"
34 
35 StAntiDeuteron::StAntiDeuteron(const string & aName,
36  double mass,
37  double width,
38  double charge,
39  int iSpin,
40  int iParity,
41  int iConjugation,
42  int iIsospin,
43  int iIsospinZ,
44  int gParity,
45  const string & pType,
46  int lepton,
47  int baryon,
48  int encoding,
49  bool stable,
50  double lifetime)
51  : StIon(aName, mass, width, charge, iSpin, iParity,
52  iConjugation, iIsospin, iIsospinZ, gParity,
53  pType, lepton, baryon, encoding, stable,
54  lifetime) {/* noop */}
55 
56 // ......................................................................
57 // ... static member definitions ...
58 // ......................................................................
59 //
60 // Arguments for constructor are as follows
61 // name mass width charge
62 // 2*spin parity C-conjugation
63 // 2*Isospin 2*Isospin3 G-parity
64 // type lepton number baryon number PDG encoding
65 // stable lifetime
66 //
67 StAntiDeuteron StAntiDeuteron::mAntiDeuteron(
68  "antideuteron", 1.875613*GeV, 0.0*MeV, -1.0*eplus,
69  2, +1, 0,
70  0, 0, 0,
71  "nucleus", 0, -2, 0,
72  true, -1.0
73 );
Definition: StIon.hh:26