]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGen/EvtGenBase/EvtDecayParm.hh
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtDecayParm.hh
diff --git a/TEvtGen/EvtGen/EvtGenBase/EvtDecayParm.hh b/TEvtGen/EvtGen/EvtGenBase/EvtDecayParm.hh
new file mode 100644 (file)
index 0000000..0fcbe36
--- /dev/null
@@ -0,0 +1,62 @@
+//--------------------------------------------------------------------------
+//
+// 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/EvtDecayParm.hh
+//
+// Description: Class to keep the arguments and daughters of a decay
+//
+// Modification history:
+//
+//    RYD     April 5, 1997         Module created
+//
+//------------------------------------------------------------------------
+
+#ifndef EVTDECAYPARM_HH
+#define EVTDECAYPARM_HH
+
+
+#include <string>
+
+class EvtParticle;
+
+typedef void ( *fcnPtr ) ( EvtParticle *,int,int *,double* );
+
+class EvtDecayParm {
+
+public:
+  
+  EvtDecayParm(); 
+  ~EvtDecayParm(); 
+
+  void    init(fcnPtr pfcn, int ndaug, int *daugs, int narg,
+              double *args, std::string name); 
+
+  int     getNDaug() {return itsndaug; }
+  int     getNArg() {return itsnarg; }
+  int*    getDaugs() {return itsdaugs; }
+  double* getArgs() {return itsargs; }
+  fcnPtr  getfcnPtr() {return itsfcn; }
+  std::string   getModelName() {return modelname; }
+
+private:
+
+
+  fcnPtr  itsfcn;
+  int     itsndaug;
+  int*    itsdaugs;
+  int     itsnarg;
+  double* itsargs;
+  std::string    modelname;
+
+  
+}; 
+
+#endif
+