]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGen/EvtGenBase/EvtParticleFactory.hh
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtParticleFactory.hh
diff --git a/TEvtGen/EvtGen/EvtGenBase/EvtParticleFactory.hh b/TEvtGen/EvtGen/EvtGenBase/EvtParticleFactory.hh
new file mode 100644 (file)
index 0000000..ab70f31
--- /dev/null
@@ -0,0 +1,48 @@
+//--------------------------------------------------------------------------
+//
+// Environment:
+//      This software is part of the EvtGen package developed jointly
+//      for the BaBar and CLEO collaborations.  If you use all or part
+//      of it, please give an appropriate acknowledgement.
+//
+// Copyright Information: See EvtGen/COPYRIGHT
+//      Copyright (C) 1998      Caltech, UCSB
+//
+// Module: EvtGen/EvtParticleFactory.hh
+//
+// Description:Factory for creating particles
+//
+// Modification history:
+//
+//    DJL December 27, 1999 Module created.
+//
+//------------------------------------------------------------------------
+
+#ifndef EVTPARTICLEFACTORY_HH
+#define EVTPARTICLEFACTORY_HH
+
+#include "EvtGenBase/EvtSpinType.hh"
+
+class EvtParticle;
+class EvtId;
+class EvtVector4R;
+class EvtSpinDensity;
+
+class EvtParticleFactory{
+
+public:
+
+
+static EvtParticle* particleFactory(EvtSpinType::spintype spinType);
+
+static EvtParticle* particleFactory(EvtId id, 
+                                   EvtVector4R p4);
+
+static EvtParticle* particleFactory(EvtId id, 
+                                   EvtVector4R p4,
+                                   EvtSpinDensity rho);
+
+};
+
+
+#endif