]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenBase/EvtParticleFactory.hh
An effective FD corretion
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtParticleFactory.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/EvtParticleFactory.hh
12 //
13 // Description:Factory for creating particles
14 //
15 // Modification history:
16 //
17 //    DJL December 27, 1999 Module created.
18 //
19 //------------------------------------------------------------------------
20
21 #ifndef EVTPARTICLEFACTORY_HH
22 #define EVTPARTICLEFACTORY_HH
23
24 #include "EvtGenBase/EvtSpinType.hh"
25
26 class EvtParticle;
27 class EvtId;
28 class EvtVector4R;
29 class EvtSpinDensity;
30
31 class EvtParticleFactory{
32
33 public:
34
35
36 static EvtParticle* particleFactory(EvtSpinType::spintype spinType);
37
38 static EvtParticle* particleFactory(EvtId id, 
39                                     EvtVector4R p4);
40
41 static EvtParticle* particleFactory(EvtId id, 
42                                     EvtVector4R p4,
43                                     EvtSpinDensity rho);
44
45 };
46
47
48 #endif