StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StOpticalPhoton.hh
1 /***************************************************************************
2  *
3  * $Id: StOpticalPhoton.hh,v 1.1 1999/05/14 18:49:57 ullrich 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: StOpticalPhoton.hh,v $
17  * Revision 1.1 1999/05/14 18:49:57 ullrich
18  * Initial Revision
19  *
20  **************************************************************************/
21 #ifndef StOpticalPhoton_hh
22 #define StOpticalPhoton_hh
23 
24 #include "StBoson.hh"
25 
26 class StOpticalPhoton : public StBoson {
27 public:
28  static StOpticalPhoton* instance() {return &mOpticalPhoton;}
29  static StOpticalPhoton* opticalPhoton() {return &mOpticalPhoton;}
30 
31 private:
32  static StOpticalPhoton mOpticalPhoton;
33 
34  StOpticalPhoton(const string & aName,
35  double mass,
36  double width,
37  double charge,
38  int iSpin,
39  int iParity,
40  int iConjugation,
41  int iIsospin,
42  int iIsospinZ,
43  int gParity,
44  const string & pType,
45  int lepton,
46  int baryon,
47  int encoding,
48  bool stable,
49  double lifetime);
50 };
51 
52 #endif