StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHyperTriton.cc
1 /***************************************************************************
2  *
3  * $Id: StHyperTriton.cc,v 1.1 2010/01/28 20:01:00 jwebb Exp $
4  * Hypertriton decaying into He3 + pion
5  *
6  * Author: Thomas Ullrich, May 99 (based on Geant4 code, see below)
7  ***************************************************************************
8  *
9  * The design of the StParticleDefinition class and all concrete
10  * classes derived from it is largely based on the design of the
11  * G4ParticleDefinition class from Geant4 (RD44).
12  * Although the code is in large parts different (modified or rewritten)
13  * and adapted to the STAR framework the basic idea stays the same.
14  *
15  ***************************************************************************
16  *
17  * $Log: StHyperTriton.cc,v $
18  * Revision 1.1 2010/01/28 20:01:00 jwebb
19  * Added two 'STAR' particle classes. The (fake) Dalitz particle, which
20  * is really just a pi0 with its Dalitz decay branch at 100%. It is added
21  * so the embedding team can access it by the geant ID defined in gstar_part.g.
22  * The hypertriton is also added.
23  *
24  * In both cases we define a fake PDG id in the header file StarPDGEncoding.hh.
25  *
26  * Revision 1.1 1999/05/14 18:47:49 ullrich
27  * Initial Revision
28  *
29  **************************************************************************/
30 #include "StHyperTriton.hh"
31 #include "PhysicalConstants.h"
32 
33 #include "StarPDGEncoding.hh"
34 
35 StHyperTriton::StHyperTriton(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 
68 StHyperTriton StHyperTriton::mHyperTriton(
69  "HyperTriton", 2.991 *GeV, 0.0*MeV, +1.0*eplus,
70  1, +1, 0,
71  0, 0, 0,
72  "hypernucleus", 0, +3, kHyperTriton,
73  false, 2.632e-10
74  );
Definition: StIon.hh:26