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/EvtParticleFactory.hh
13 // Description:Factory for creating particles
15 // Modification history:
17 // DJL December 27, 1999 Module created.
19 //------------------------------------------------------------------------
21 #ifndef EVTPARTICLEFACTORY_HH
22 #define EVTPARTICLEFACTORY_HH
24 #include "EvtGenBase/EvtSpinType.hh"
31 class EvtParticleFactory{
36 static EvtParticle* particleFactory(EvtSpinType::spintype spinType);
38 static EvtParticle* particleFactory(EvtId id,
41 static EvtParticle* particleFactory(EvtId id,