StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StCerenkov.cc
1 /***************************************************************************
2  *
3  * $Id: StCerenkov.cc,v 1.1 2011/03/25 18:17:45 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: StCerenkov.cc,v $
17  * Revision 1.1 2011/03/25 18:17:45 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:47:47 ullrich
26  * Initial Revision
27  *
28  **************************************************************************/
29 #include "StCerenkov.hh"
30 #include "PhysicalConstants.h"
31 
32 StCerenkov::StCerenkov(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  : StBoson(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 StCerenkov StCerenkov::mCerenkov(
65  "cerenkov", 0.0*MeV, 0.0*MeV, 0.0,
66  2, -1, -1,
67  0, 0, 0,
68  "cerenkov", 0, 0, 22,
69  true, 0.0
70 );