1 //--------------------------------------------------------------------------
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.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtSpinType.hh
13 // Description: Class for enumarating the different types of
14 // particles and the number of states they have.
16 // Modification history:
18 // RYD August 12, 1998 Module created
20 //------------------------------------------------------------------------
22 #ifndef EVTSPINTYPE_HH
23 #define EVTSPINTYPE_HH
25 #include "EvtGenBase/EvtReport.hh"
31 enum spintype { SCALAR,VECTOR,TENSOR,DIRAC,PHOTON,NEUTRINO,STRING,
32 RARITASCHWINGER,SPIN3,SPIN4,SPIN5HALF,SPIN7HALF};
34 static int getSpin2(spintype stype);
36 static int getSpinStates(spintype stype);