]>
Commit | Line | Data |
---|---|---|
da0e9ce3 | 1 | //-------------------------------------------------------------------------- |
2 | // | |
3 | // Environment: | |
4 | // This software is part of the EvtGen package developed jointly | |
5 | // for the BaBar and CLEO collaborations. If you use all or part | |
6 | // of it, please give an appropriate acknowledgement. | |
7 | // | |
8 | // Copyright Information: See EvtGen/COPYRIGHT | |
9 | // Copyright (C) 1998 Caltech, UCSB | |
10 | // | |
11 | // Module: EvtGen/EvtSpinType.hh | |
12 | // | |
13 | // Description: Class for enumarating the different types of | |
14 | // particles and the number of states they have. | |
15 | // | |
16 | // Modification history: | |
17 | // | |
18 | // RYD August 12, 1998 Module created | |
19 | // | |
20 | //------------------------------------------------------------------------ | |
21 | ||
22 | #ifndef EVTSPINTYPE_HH | |
23 | #define EVTSPINTYPE_HH | |
24 | ||
25 | #include "EvtGenBase/EvtReport.hh" | |
26 | ||
27 | class EvtSpinType{ | |
28 | ||
29 | public: | |
30 | ||
31 | enum spintype { SCALAR,VECTOR,TENSOR,DIRAC,PHOTON,NEUTRINO,STRING, | |
32 | RARITASCHWINGER,SPIN3,SPIN4,SPIN5HALF,SPIN7HALF}; | |
33 | ||
34 | static int getSpin2(spintype stype); | |
35 | ||
36 | static int getSpinStates(spintype stype); | |
37 | ||
38 | private: | |
39 | ||
40 | }; | |
41 | ||
42 | #endif | |
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 |