StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StGeantino.hh
1 /***************************************************************************
2  *
3  * $Id: StGeantino.hh,v 1.1 2011/03/25 18:17:46 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: StGeantino.hh,v $
17  * Revision 1.1 2011/03/25 18:17:46 jwebb
18  * Updates to StParticleTable and additions to STAR Class Library
19  *
20  * (1) resolve ticket 2097
21  * (2) include all particles/deays defined in gstar_part.g
22  * (3) added few anti-nuclei in anticipation of future needs.
23  * (3) added the geantino for completeness
24  *
25  * Revision 1.1 1999/05/14 18:48:40 ullrich
26  * Initial Revision
27  *
28  **************************************************************************/
29 #ifndef StGeantino_hh
30 #define StGeantino_hh
31 
32 #include "StIon.hh"
33 
34 class StGeantino : public StIon {
35 public:
36  static StGeantino* instance() {return &mGeantino;}
37  static StGeantino* alpha() {return &mGeantino;}
38 
39 private:
40  static StGeantino mGeantino;
41 
42  StGeantino(const string & aName,
43  double mass,
44  double width,
45  double charge,
46  int iSpin,
47  int iParity,
48  int iConjugation,
49  int iIsospin,
50  int iIsospinZ,
51  int gParity,
52  const string & pType,
53  int lepton,
54  int baryon,
55  int encoding,
56  bool stable,
57  double lifetime);
58 };
59 
60 #endif
Definition: StIon.hh:26