]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGenModels/EvtSSSCP.cpp
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenModels / EvtSSSCP.cpp
similarity index 80%
rename from TEvtGen/EvtGenModels/EvtSSSCP.cxx
rename to TEvtGen/EvtGenModels/EvtSSSCP.cpp
index d4faa8c5e6374e8c4cdf5979ea54a95e74377fc8..1e34b5e7aefc99cf56e4b61faa4d865e9a750560 100644 (file)
@@ -74,7 +74,7 @@ void EvtSSSCP::decay( EvtParticle *p ){
   double t;
   EvtId other_b;
 
-  EvtCPUtil::OtherB(p,t,other_b);
+  EvtCPUtil::getInstance()->OtherB(p,t,other_b,0.5);
 
   p->initializePhaseSpace(getNDaug(),getDaugs());
 
@@ -102,3 +102,38 @@ void EvtSSSCP::decay( EvtParticle *p ){
   return ;
 }
 
+std::string EvtSSSCP::getParamName(int i) {
+  switch(i) {
+  case 0:
+    return "weakPhase";
+  case 1:
+    return "deltaM";
+  case 2:
+    return "finalStateCP";
+  case 3:
+    return "Af";
+  case 4:
+    return "AfPhase";
+  case 5:
+    return "Abarf";
+  case 6:
+    return "AbarfPhase";
+  default:
+    return "";
+  }
+}
+
+std::string EvtSSSCP::getParamDefault(int i) {
+  switch(i) {
+  case 3:
+    return "1.0";
+  case 4:
+    return "0.0";
+  case 5:
+    return "1.0";
+  case 6:
+    return "0.0";
+  default:
+    return "";
+  }
+}