StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StDalitz.cc
1 /***************************************************************************
2  *
3  * $Id: StDalitz.cc,v 1.1 2010/01/28 20:01:00 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: StDalitz.cc,v $
17  * Revision 1.1 2010/01/28 20:01:00 jwebb
18  * Added two 'STAR' particle classes. The (fake) Dalitz particle, which
19  * is really just a pi0 with its Dalitz decay branch at 100%. It is added
20  * so the embedding team can access it by the geant ID defined in gstar_part.g.
21  * The hypertriton is also added.
22  *
23  * In both cases we define a fake PDG id in the header file StarPDGEncoding.hh.
24  *
25  * Revision 1.1 1999/05/14 18:48:16 ullrich
26  * Initial Revision
27  *
28  **************************************************************************/
29 #include "StDalitz.hh"
30 #include "PhysicalConstants.h"
31 
32 StDalitz::StDalitz(const string & aName,
33  double mass,
34  double width,
35  double charge,
36  int iSpin,
37  int iParity,
38  int iConjugation,
39  int iIsospin,
40  int iIsospinZ,
41  int gParity,
42  const string & pType,
43  int lepton,
44  int baryon,
45  int encoding,
46  bool stable,
47  double lifetime)
48  : StMeson(aName, mass, width, charge, iSpin, iParity,
49  iConjugation, iIsospin, iIsospinZ, gParity,
50  pType, lepton, baryon, encoding, stable,
51  lifetime) {/* noop */}
52 
53 // ......................................................................
54 // ... static member definitions ...
55 // ......................................................................
56 //
57 // Arguments for constructor are as follows
58 // name mass width charge
59 // 2*spin parity C-conjugation
60 // 2*Isospin 2*Isospin3 G-parity
61 // type lepton number baryon number PDG encoding
62 // stable lifetime
63 //
64 #include "StarPDGEncoding.hh"
65 StDalitz StDalitz::mDalitz(
66  "dalitz", 0.1349764*GeV, 0.0*MeV, 0.0,
67  0, -1, +1,
68  2, 0, -1,
69  "meson", 0, 0, kDalitz,
70  false, 8.4e-8*nanosecond
71 );