73 Int_t pidkey = base->
MakeParamInt(
"pid",
"Pluto particle ID");
97 Int_t idxkey = base->
MakeParamInt(
"didx",
"Decay index");
99 base->
MakeParamDouble(
"brorig",
"Original branching ratio (for norm.)");
107 base->
MakeParamInt(
"sccount",
"Self consistency count (max tries)");
118 base->
MakeParamInt(
"brflag",
"=1: use integral normalization");
125 base->
MakeParamTObj(
"decaychannel",
"Decay channel for decay manager");
128 base->
MakeParamTObj(
"stackchannel",
"Stack of channels for the decayall option in PReaction");
131 if ((skey = base->
AddEntry(
"std_set")) < 0)
return kFALSE;
141 if (!base->
SetParamInt(pkey,
"pid", ii))
return kFALSE;
157 if (!base->
SetParamInt(pkey,
"widx", ii))
return kFALSE;
159 if (!base->
SetParamInt(pkey,
"tdepth", ii))
return kFALSE;
161 if (!base->
SetParamInt(pkey,
"hdepth", ii))
return kFALSE;
167 size_t buf_size = 100;
168 char* name =
new char[buf_size];
170 if ((pkey = base->
AddListEntry(
"std_set",
"snpart",
"slink", name)) < 0)
return kFALSE;
171 ii =
new int(i + 500);
172 if (!base->
SetParamInt(pkey,
"pid", ii))
return kFALSE;
186 for (
int j = jmin; j < jmax; ++j) {
188 TString s =
PMode[j];
198 dd =
new Double_t(0.);
202 if (!base->
SetParamInt(dkey,
"widx", ii))
return kFALSE;
208 dd =
new Double_t(0.);
211 dd =
new Double_t(0.);
214 dd =
new Double_t(1.);
217 Int_t len = s.Length();
219 Int_t np = len / 3 + (res > 0);
221 for (
int iPart = 0; iPart < np; ++iPart) {
222 Int_t m = (!iPart && res) ? res : 3;
224 for (
int jj = 1; jj <= m; ++jj)
225 pid += (*(s(k + jj - 1, 1).Data()) - 48) * int(pow(10., m - jj));
228 Int_t* pkey1 =
new int(base->
GetEntryInt(
"pid", pid));
229 if (*pkey1 < 0) { cout <<
"Error: processing decay: do not find pid " << pid << endl; }
230 if (iPart == 0) base->
SetParamInt(dkey,
"d1", pkey1);
231 if (iPart == 1) base->
SetParamInt(dkey,
"d2", pkey1);
232 if (iPart == 2) base->
SetParamInt(dkey,
"d3", pkey1);
233 if (iPart == 3) base->
SetParamInt(dkey,
"d4", pkey1);
234 if (iPart == 4) base->
SetParamInt(dkey,
"d5", pkey1);
235 if (iPart == 5) base->
SetParamInt(dkey,
"d6", pkey1);
236 if (iPart == 6) base->
SetParamInt(dkey,
"d7", pkey1);
238 cout <<
"PStdData::fillDataBase: More then 7 decay products not "
263 "dummy",
"g",
"e+",
"e-",
"nu",
"mu+",
"mu-",
"pi0",
"pi+",
264 "pi-",
"K0L",
"K+",
"K-",
"n",
"p",
"anti_p",
"K0S",
"eta",
265 "Lambda",
"Sigma+",
"Sigma0",
"Sigma-",
"Xi0",
"Xi-",
"Omega",
"anti_n",
"anti_Lambda",
266 "anti_Sigma-",
"anti_Sigma0",
"anti_Sigma+",
"anti_Xi0",
"anti_Xi+",
"anti_Omega+",
"File",
"D0",
"D++",
267 "D+",
"D-",
"NP11+",
"ND13+",
"NS11+",
"rho0",
"rho+",
"rho-",
"BOZO",
268 "d",
"t",
"alpha",
"BOZO2",
"He3",
269 "dimuon",
"dilepton",
"w",
"eta'",
"sigma",
"phi",
"DP330",
"DP33++",
"DP33+",
270 "DP33-",
"DS310",
"DS31++",
"DS31+",
"DS31-",
"NP110",
"ND130",
"NS110",
"J/Psi",
1293 "8009008009008009007",
1304 "8009008009008009007",
1313 "mu- --> e- + neutrino + neutrino",
1314 "pi0 --> photon + photon",
1315 "pi0 --> dilepton + photon (Dalitz)",
1316 "pi+ --> mu+ + neutrino",
1317 "pi- --> mu- + neutrino",
1318 "K0 long --> pi0 + pi0 + pi0",
1319 "K0 long --> pi+ + pi- + pi0",
1320 "K0 long --> pi+ + mu- + neutrino",
1321 "K0 long --> pi- + mu+ + neutrino",
1322 "K0 long --> pi+ + e- + neutrino",
1323 "K0 long --> pi- + e+ + neutrino",
1324 "K+ --> mu+ + neutrino",
1326 "K+ --> pi+ + pi+ + pi-",
1327 "K+ --> pi+ + pi0 + pi0",
1328 "K+ --> pi0 + mu+ + neutrino",
1329 "K+ --> pi0 + e+ + neutrino",
1330 "K- --> mu- + neutrino",
1332 "K- --> pi- + pi- + pi+",
1333 "K- --> pi- + pi0 + pi0",
1334 "K- --> pi0 + mu- + neutrino",
1335 "K- --> pi0 + e- + neutrino",
1336 "n --> p + e- + neutrino",
1337 "K0 short --> pi+ + pi-",
1338 "K0 short --> pi0 + pi0",
1339 "K0 short --> pi+ + pi- + photon",
1340 "eta --> photon + photon",
1341 "eta --> pi0 + pi0 + pi0",
1342 "eta --> pi+ + pi- + pi0",
1343 "eta --> pi+ + pi- + photon",
1344 "eta --> dilepton + photon (Dalitz)",
1345 "eta --> dimuon + photon",
1347 "eta --> mu+ + mu-",
1348 "Lambda --> p + pi-",
1349 "Lambda --> n + pi0",
1350 "Lambda --> n + photon",
1351 "anti_n --> anti_p + e+ + neutrino",
1352 "Delta0 --> p + pi-",
1353 "Delta0 --> n + pi0",
1354 "Delta0 --> n + photon",
1355 "Delta0 --> dilepton + n (Dalitz)",
1356 "Delta++ --> p + pi+",
1357 "Delta+ --> p + pi0",
1358 "Delta+ --> n + pi+",
1359 "Delta+ --> p + photon",
1360 "Delta+ --> dilepton + p (Dalitz)",
1361 "Delta- --> n + pi-",
1362 "N*(1440)+ --> p + pi0",
1363 "N*(1440)+ --> n + pi+",
1364 "N*(1440)+ --> Delta++ + pi-",
1365 "N*(1440)+ --> Delta+ + pi0",
1366 "N*(1440)+ --> Delta0 + pi+",
1367 "N*(1440)+ --> p + rho0",
1368 "N*(1440)+ --> n + rho+",
1369 "N*(1440)+ --> p + pi0 + pi0",
1370 "N*(1440)+ --> p + pi+ + pi-",
1371 "N*(1440)+ --> p + photon",
1372 "N*(1520)+ --> p + pi0",
1373 "N*(1520)+ --> n + pi+",
1374 "N*(1520)+ --> Delta++ + pi-",
1375 "N*(1520)+ --> Delta+ + pi0",
1376 "N*(1520)+ --> Delta0 + pi+",
1377 "N*(1520)+ --> p + rho0",
1378 "N*(1520)+ --> n + rho+",
1379 "N*(1520)+ --> p + pi0 + pi0",
1380 "N*(1520)+ --> p + pi+ + pi-",
1381 "N*(1520)+ --> p + photon",
1382 "N*(1535)+ --> p + pi0",
1383 "N*(1535)+ --> n + pi+",
1384 "N*(1535)+ --> p + eta",
1385 "N*(1535)+ --> Delta++ + pi-",
1386 "N*(1535)+ --> Delta+ + pi0",
1387 "N*(1535)+ --> Delta0 + pi+",
1388 "N*(1535)+ --> p + rho0",
1389 "N*(1535)+ --> n + rho+",
1390 "N*(1535)+ --> p + pi0 + pi0",
1391 "N*(1535)+ --> p + pi+ + pi-",
1392 "N*(1535)+ --> N*(1440)+ + pi0",
1393 "N*(1535)+ --> N*(1440)0 + pi+",
1394 "N*(1535)+ --> p + photon",
1395 "rho0 --> pi+ + pi-",
1397 "rho0 --> mu+ + mu-",
1398 "rho+ --> pi+ + pi0",
1399 "rho- --> pi- + pi0",
1400 "dimuon --> mu+ + mu-",
1401 "dilepton --> e+ + e-",
1402 "omega --> pi+ + pi- + pi0",
1403 "omega --> pi0 + photon",
1404 "omega --> pi+ + pi-",
1405 "omega --> dilepton + pi0 (Dalitz)",
1406 "omega --> dimuon + pi0",
1407 "omega --> e+ + e-",
1408 "omega --> mu+ + mu-",
1409 "eta' --> eta + pi- + pi+ ",
1410 "eta' --> rho0 + photon",
1411 "eta' --> eta + pi0 + pi0",
1412 "eta' --> omega + photon",
1413 "eta' --> photon + photon",
1414 "eta' --> pi0 + pi0 + pi0",
1415 "eta' --> dimuon + photon",
1416 "sigma --> pi+ + pi-",
1417 "sigma --> e+ + e-",
1418 "sigma --> mu+ + mu-",
1420 "phi --> K0L + K0S",
1421 "phi --> pi+ + pi- + pi0",
1422 "phi --> eta + photon",
1423 "phi --> pi0 + photon",
1425 "phi --> mu+ + mu-",
1426 "phi --> eta + dilepton",
1427 "Delta(1600)0 --> p + pi-",
1428 "Delta(1600)0 --> n + pi0",
1429 "Delta(1600)0 --> Delta+ + pi-",
1430 "Delta(1600)0 --> Delta0 + pi0",
1431 "Delta(1600)0 --> Delta- + pi+",
1432 "Delta(1600)0 --> p + rho-",
1433 "Delta(1600)0 --> n + rho0",
1434 "Delta(1600)0 --> N(1440)+ + rho-",
1435 "Delta(1600)0 --> N(1440)0 + rho0",
1436 "Delta(1600)0 --> n + photon",
1437 "Delta(1600)++ --> p + pi+",
1438 "Delta(1600)++ --> Delta++ + pi0",
1439 "Delta(1600)++ --> Delta+ + pi+",
1440 "Delta(1600)++ --> p + rho+",
1441 "Delta(1600)++ --> N(1440)+ + rho+",
1442 "Delta(1600)+ --> p + pi0",
1443 "Delta(1600)+ --> n + pi+",
1444 "Delta(1600)+ --> Delta++ + pi-",
1445 "Delta(1600)+ --> Delta+ + pi0",
1446 "Delta(1600)+ --> Delta0 + pi+",
1447 "Delta(1600)+ --> p + rho0",
1448 "Delta(1600)+ --> n + rho+",
1449 "Delta(1600)+ --> N(1440)+ + rho0",
1450 "Delta(1600)+ --> N(1440)0 + rho+",
1451 "Delta(1600)+ --> p + photon",
1452 "Delta(1600)- --> n + pi-",
1453 "Delta(1600)- --> Delta0 + pi-",
1454 "Delta(1600)- --> Delta- + pi0",
1455 "Delta(1600)- --> n + rho-",
1456 "Delta(1600)- --> N(1440)0 + rho-",
1457 "Delta(1620)0 --> p + pi-",
1458 "Delta(1620)0 --> n + pi0",
1459 "Delta(1620)0 --> Delta+ + pi-",
1460 "Delta(1620)0 --> Delta0 + pi0",
1461 "Delta(1620)0 --> Delta- + pi+",
1462 "Delta(1620)0 --> p + rho-",
1463 "Delta(1620)0 --> n + rho0",
1464 "Delta(1620)0 --> n + photon",
1465 "Delta(1620)++ --> p + pi+",
1466 "Delta(1620)++ --> Delta++ + pi0",
1467 "Delta(1620)++ --> Delta+ + pi+",
1468 "Delta(1620)++ --> p + rho+",
1469 "Delta(1620)+ --> p + pi0",
1470 "Delta(1620)+ --> n + pi+",
1471 "Delta(1620)+ --> Delta++ + pi-",
1472 "Delta(1620)+ --> Delta+ + pi0",
1473 "Delta(1620)+ --> Delta0 + pi+",
1474 "Delta(1620)+ --> p + rho0",
1475 "Delta(1620)+ --> n + rho+",
1476 "Delta(1620)+ --> p + photon",
1477 "Delta(1620)- --> n + pi-",
1478 "Delta(1620)- --> Delta0 + pi-",
1479 "Delta(1620)- --> Delta- + pi0",
1480 "Delta(1620)- --> n + rho-",
1481 "N*(1440)0 --> p + pi-",
1482 "N*(1440)0 --> n + pi0",
1483 "N*(1440)0 --> Delta+ + pi-",
1484 "N*(1440)0 --> Delta0 + pi0",
1485 "N*(1440)0 --> Delta- + pi+",
1486 "N*(1440)0 --> p + rho-",
1487 "N*(1440)0 --> n + rho0",
1488 "N*(1440)0 --> n + pi+ + pi-",
1489 "N*(1440)0 --> n + pi0 + pi0",
1490 "N*(1440)0 --> n + photon",
1491 "N*(1520)0 --> p + pi-",
1492 "N*(1520)0 --> n + pi0",
1493 "N*(1520)0 --> Delta+ + pi-",
1494 "N*(1520)0 --> Delta0 + pi0",
1495 "N*(1520)0 --> Delta- + pi+",
1496 "N*(1520)0 --> p + rho-",
1497 "N*(1520)0 --> n + rho0",
1498 "N*(1520)0 --> n + pi+ + pi-",
1499 "N*(1520)0 --> n + pi0 + pi0",
1500 "N*(1520)0 --> n + photon",
1501 "N*(1535)0 --> p + pi-",
1502 "N*(1535)0 --> n + pi0",
1503 "N*(1535)0 --> n + eta",
1504 "N*(1535)0 --> Delta+ + pi-",
1505 "N*(1535)0 --> Delta0 + pi0",
1506 "N*(1535)0 --> Delta- + pi+",
1507 "N*(1535)0 --> p + rho-",
1508 "N*(1535)0 --> n + rho0",
1509 "N*(1535)0 --> n + pi+ + pi-",
1510 "N*(1535)0 --> n + pi0 + pi0",
1511 "N*(1535)0 --> N*(1440)+ + pi-",
1512 "N*(1535)0 --> N*(1440)0 + pi0",
1513 "N*(1535)0 --> n + photon",
1514 "J/Psi --> e+ + e-",
1515 "J/Psi --> mu+ + mu-",
1516 "J/Psi --> dilepton + photon",
1517 "J/Psi --> 2pi+ + 2pi- + pi0",
1518 "J/Psi --> 3pi+ + 3pi- + pi0",
1519 "J/Psi --> pi+ + pi- + pi0",
1520 "J/Psi --> K+ + K- + pi+ + pi- + pi0",
1523 "Psi' --> mu+ + mu-",
1524 "Psi' --> J/Psi + pi+ + pi-",
1525 "Psi' --> J/Psi + pi0 + pi0",
1526 "Psi' --> J/Psi + eta",
1527 "Psi' --> 2pi+ + 2pi- + pi0",
1528 "Psi' --> 3pi+ + 3pi- + pi0",
1530 "pn --> dilepton + p + n",
1531 "pn --> photon + p + n"};
ClassImp(CbmConverterManager)
PDataBase * makeDataBase()
Int_t MakeParamDouble(const char *paramname, const char *descr)
Bool_t AddEntry(Int_t key, const char *name)
Int_t MakeParamTObj(const char *paramname, const char *descr)
Int_t MakeParamInt(const char *paramname, const char *descr)
Bool_t SetParamDouble(Int_t key, const char *paramname, Double_t *result)
void SetFastKey(Int_t pkey, Int_t maxkey)
Int_t AddListEntry(const char *name, const char *count, const char *link, const char *newname)
Int_t GetEntryInt(const char *paramname, Int_t value)
Bool_t SetParamInt(Int_t key, const char *paramname, Int_t *result)
static const char * DESCRIPTION[]
static char ** PMDescription
static const int NMODES[]
static const int CHARGE[]
Bool_t fillDataBase(void)
static const int BARYON[]
static const int PARITY[]
static const char * NAME[]
static const int PYTHIAKF[]
static const char * MODE[]
static const int LEPTON[]