]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGen/EvtGenBase/EvtParticleFactory.hh
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtParticleFactory.hh
CommitLineData
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/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
26class EvtParticle;
27class EvtId;
28class EvtVector4R;
29class EvtSpinDensity;
30
31class EvtParticleFactory{
32
33public:
34
35
36static EvtParticle* particleFactory(EvtSpinType::spintype spinType);
37
38static EvtParticle* particleFactory(EvtId id,
39 EvtVector4R p4);
40
41static EvtParticle* particleFactory(EvtId id,
42 EvtVector4R p4,
43 EvtSpinDensity rho);
44
45};
46
47
48#endif