/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtParticleFactory.hh

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 // Environment:
00004 //      This software is part of the EvtGen package developed jointly
00005 //      for the BaBar and CLEO collaborations.  If you use all or part
00006 //      of it, please give an appropriate acknowledgement.
00007 //
00008 // Copyright Information: See EvtGen/COPYRIGHT
00009 //      Copyright (C) 1998      Caltech, UCSB
00010 //
00011 // Module: EvtGen/EvtParticleFactory.hh
00012 //
00013 // Description:Class to describe all particles
00014 //
00015 // Modification history:
00016 //
00017 //    DJL December 27, 1999 Module created.
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef EVTPARTICLEFACTORY_HH
00022 #define EVTPARTICLEFACTORY_HH
00023 
00024 #include "EvtGenBase/EvtSpinType.hh"
00025 
00026 class EvtParticle;
00027 class EvtId;
00028 class EvtVector4R;
00029 class EvtSpinDensity;
00030 
00031 class EvtParticleFactory{
00032 
00033 public:
00034 
00035 
00036 static EvtParticle* particleFactory(EvtSpinType::spintype spinType);
00037 
00038 static EvtParticle* particleFactory(EvtId id, 
00039                                     EvtVector4R p4);
00040 
00041 static EvtParticle* particleFactory(EvtId id, 
00042                                     EvtVector4R p4,
00043                                     EvtSpinDensity rho);
00044 
00045 };
00046 
00047 
00048 #endif

Generated on Tue Nov 29 23:12:14 2016 for BOSS_7.0.2 by  doxygen 1.4.7