StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarGenerator
EvtGen1_06_00
EvtGenBase
EvtSpinType.hh
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
EvtSpinType
Definition:
EvtSpinType.hh:27
Generated by
1.8.5