Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8309453
D129.id533.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
217 KB
Subscribers
None
D129.id533.diff
View Options
diff --git a/History.md b/History.md
--- a/History.md
+++ b/History.md
@@ -11,6 +11,11 @@
===
## R02-0X-00
+9 Aug 2024 Fernando Abudinen
+* D129: Added tests for PYTHIA interface
+ - Introduced new tests for decays with PYTHIA.
+ - Converted preexisting tests to json format based on new testing framework.
+
1 Aug 2024 Fernando Abudinen
* D127: Improve FSR mutexing by using `std::lock_guard`.
diff --git a/test/checkJsonFiles.py b/test/checkJsonFiles.py
--- a/test/checkJsonFiles.py
+++ b/test/checkJsonFiles.py
@@ -64,6 +64,7 @@
'Lambda_c(2593)+' : [ 'Lambdac2593', 'Lambdac2593+', 'Lambdac2593p', 'Lc2593', 'Lc2593+', 'Lc2593p' ],
'Lambda_c(2625)+' : [ 'Lambdac2625', 'Lambdac2625+', 'Lambdac2625p', 'Lc2625', 'Lc2625+', 'Lc2625p' ],
'Lambda0' : [ 'Lambda', 'Lambda0', 'Lz', 'L0' ],
+ 'Omega_cc+' : [ 'Omegacc'],
'Delta+' : [ 'Delta+', 'Deltap' ],
'J/psi' : [ 'Jpsi' ],
'psi(2S)' : [ 'psi2S' ],
@@ -96,9 +97,27 @@
'nu_tau' : [ 'nutau', 'nu-tau', 'nu' ],
'anti-nu_tau' : [ 'anti-nutau', 'nutau', 'nu-tau', 'nu' ],
'gamma' : [ 'gamma' ],
+ 'g' : ['g'],
'Xsd' : [ 'Xsd' ],
'Xsu' : [ 'Xsu' ],
'Xu-' : [ 'Xu' ],
+ 'u' : ['u'],
+ 'anti-u' : ['anti-u'],
+ 'd' : ['d'],
+ 'anti-d' : ['anti-d'],
+ 's' : ['s'],
+ 'anti-s' : ['anti-s'],
+ 'c' : ['c'],
+ 'anti-c' : ['anti-c'],
+ 'uu_1' : ['uu1'],
+ 'ud_0' : ['ud0'],
+ 'ud_1' : ['ud1'],
+ 'anti-cd_0' : ['anti-cd0'],
+ 'anti-cd_1' : ['anti-cd1'],
+ 'cs_0' : ['cs0'],
+ 'anti-cs_0' : ['anti-cs0'],
+ 'cs_1' : ['cs1'],
+ 'anti-cs_1' : ['anti-cs1'],
}
allowedSuffixes = [
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-cd0ud0.json b/test/jsonFiles/PYTHIA__Bd_anti-cd0ud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-cd0ud0.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-cd_0", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-cd0ud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-cd1ud1.json b/test/jsonFiles/PYTHIA__Bd_anti-cd1ud1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-cd1ud1.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-cd_1", "ud_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-cd1ud1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-cs0ud0.json b/test/jsonFiles/PYTHIA__Bd_anti-cs0ud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-cs0ud0.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-cs_0", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-cs0ud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-cs1ud1.json b/test/jsonFiles/PYTHIA__Bd_anti-cs1ud1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-cs1ud1.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-cs_1", "ud_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-cs1ud1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-dudanti-c.json b/test/jsonFiles/PYTHIA__Bd_anti-dudanti-c.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-dudanti-c.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-d", "u", "d", "anti-c"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-dudanti-c.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_anti-sd.json b/test/jsonFiles/PYTHIA__Bd_anti-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_anti-sd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["91"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_anti-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_canti-danti-cd.json b/test/jsonFiles/PYTHIA__Bd_canti-danti-cd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_canti-danti-cd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["c", "anti-d", "anti-c", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_canti-danti-cd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_canti-santi-cd.json b/test/jsonFiles/PYTHIA__Bd_canti-santi-cd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_canti-santi-cd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["c", "anti-s", "anti-c", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_canti-santi-cd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_canti-santi-ud.json b/test/jsonFiles/PYTHIA__Bd_canti-santi-ud.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_canti-santi-ud.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["c", "anti-s", "anti-u", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_canti-santi-ud.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_danti-danti-dd.json b/test/jsonFiles/PYTHIA__Bd_danti-danti-dd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_danti-danti-dd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["d", "anti-d", "anti-d", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_danti-danti-dd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_danti-danti-sd.json b/test/jsonFiles/PYTHIA__Bd_danti-danti-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_danti-danti-sd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["d", "anti-d", "anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_danti-danti-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_pipipipi.json b/test/jsonFiles/PYTHIA__Bd_pipipipi.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_pipipipi.json
@@ -0,0 +1,39 @@
+{
+ "parent" : "B0",
+ "daughters" : ["pi+", "pi-", "pi+", "pi-"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["0"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(pi1+pi1-)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.1, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(pi1+pi2+)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(pi1- pi2+)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(pi2+ pi2-)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "pSumSq", "title" : "qSq(pi1+pi1-)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.0, "xmax" : 25.0},
+ {"variable" : "pSumSq", "title" : "qSq(pi2+pi2-)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 25.0},
+ {"variable" : "p", "title" : "p(pi1+)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(pi1+)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(pi1-)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(pi1-)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(pi2+)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(pi2+)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(pi2-)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(pi2-)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "cosHel", "title" : "cosHel(pi1+,pi1-)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(pi2+,pi2-)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(pi1-,pi2+)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(pi1+,pi2+)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(pi1+)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(pi1-)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(pi2+)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(pi2-)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(pi1+)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(pi1-)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(pi2+)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(pi2-)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Bd_pipipipi.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_santi-santi-dd.json b/test/jsonFiles/PYTHIA__Bd_santi-santi-dd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_santi-santi-dd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["s", "anti-s", "anti-d", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_santi-santi-dd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_santi-santi-sd.json b/test/jsonFiles/PYTHIA__Bd_santi-santi-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_santi-santi-sd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["s", "anti-s", "anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_santi-santi-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-canti-dd.json b/test/jsonFiles/PYTHIA__Bd_uanti-canti-dd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-canti-dd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-c", "anti-d", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-canti-dd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-canti-sd.json b/test/jsonFiles/PYTHIA__Bd_uanti-canti-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-canti-sd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-c", "anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-canti-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-danti-cd.json b/test/jsonFiles/PYTHIA__Bd_uanti-danti-cd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-danti-cd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-d", "anti-c", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-danti-cd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-danti-ud.json b/test/jsonFiles/PYTHIA__Bd_uanti-danti-ud.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-danti-ud.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-d", "anti-u", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-danti-ud.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-santi-cd.json b/test/jsonFiles/PYTHIA__Bd_uanti-santi-cd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-santi-cd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-s", "anti-c", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-santi-cd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-uanti-dd.json b/test/jsonFiles/PYTHIA__Bd_uanti-uanti-dd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-uanti-dd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-u", "anti-d", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-uanti-dd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bd_uanti-uanti-sd.json b/test/jsonFiles/PYTHIA__Bd_uanti-uanti-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bd_uanti-uanti-sd.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B0",
+ "daughters" : ["u", "anti-u", "anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bd_uanti-uanti-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_anti-cs0ud0.json b/test/jsonFiles/PYTHIA__Bs_anti-cs0ud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_anti-cs0ud0.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["anti-cs_0", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_anti-cs0ud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_anti-cs1ud1.json b/test/jsonFiles/PYTHIA__Bs_anti-cs1ud1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_anti-cs1ud1.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["anti-cs_1", "ud_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_anti-cs1ud1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_anti-dusanti-c.json b/test/jsonFiles/PYTHIA__Bs_anti-dusanti-c.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_anti-dusanti-c.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["anti-d", "u", "s", "anti-c"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["65"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_anti-dusanti-c.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_anti-ss.json b/test/jsonFiles/PYTHIA__Bs_anti-ss.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_anti-ss.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["anti-s", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["91"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_anti-ss.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_anti-susanti-c.json b/test/jsonFiles/PYTHIA__Bs_anti-susanti-c.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_anti-susanti-c.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["anti-s", "u", "s", "anti-c"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["65"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_anti-susanti-c.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_canti-danti-cs.json b/test/jsonFiles/PYTHIA__Bs_canti-danti-cs.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_canti-danti-cs.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["c", "anti-d", "anti-c", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_canti-danti-cs.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_canti-santi-us.json b/test/jsonFiles/PYTHIA__Bs_canti-santi-us.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_canti-santi-us.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["c", "anti-s", "anti-u", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_canti-santi-us.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_danti-danti-ds.json b/test/jsonFiles/PYTHIA__Bs_danti-danti-ds.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_danti-danti-ds.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["d", "anti-d", "anti-d", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_danti-danti-ds.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_danti-danti-ss.json b/test/jsonFiles/PYTHIA__Bs_danti-danti-ss.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_danti-danti-ss.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["d", "anti-d", "anti-s", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_danti-danti-ss.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_santi-santi-ds.json b/test/jsonFiles/PYTHIA__Bs_santi-santi-ds.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_santi-santi-ds.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["s", "anti-s", "anti-d", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_santi-santi-ds.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_santi-santi-ss.json b/test/jsonFiles/PYTHIA__Bs_santi-santi-ss.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_santi-santi-ss.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["s", "anti-s", "anti-s", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_santi-santi-ss.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-canti-ds.json b/test/jsonFiles/PYTHIA__Bs_uanti-canti-ds.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-canti-ds.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-c", "anti-d", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-canti-ds.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-canti-ss.json b/test/jsonFiles/PYTHIA__Bs_uanti-canti-ss.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-canti-ss.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-c", "anti-s", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-canti-ss.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-danti-cs.json b/test/jsonFiles/PYTHIA__Bs_uanti-danti-cs.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-danti-cs.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-d", "anti-c", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-danti-cs.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-santi-cs.json b/test/jsonFiles/PYTHIA__Bs_uanti-santi-cs.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-santi-cs.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-s", "anti-c", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-santi-cs.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ds.json b/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ds.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ds.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-u", "anti-d", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-uanti-ds.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ss.json b/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ss.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bs_uanti-uanti-ss.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B_s0",
+ "daughters" : ["u", "anti-u", "anti-s", "s"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["Define dm_incohMix_B_s0 0", "noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bs_uanti-uanti-ss.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_anti-cd1uu1.json b/test/jsonFiles/PYTHIA__Bu_anti-cd1uu1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_anti-cd1uu1.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["anti-cd_1", "uu_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_anti-cd1uu1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_anti-cs1uu1.json b/test/jsonFiles/PYTHIA__Bu_anti-cs1uu1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_anti-cs1uu1.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["anti-cs_1", "uu_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["63"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_anti-cs1uu1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_anti-duuanti-c.json b/test/jsonFiles/PYTHIA__Bu_anti-duuanti-c.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_anti-duuanti-c.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["anti-d", "u", "u", "anti-c"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_anti-duuanti-c.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_anti-su.json b/test/jsonFiles/PYTHIA__Bu_anti-su.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_anti-su.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["anti-s", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["91"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_anti-su.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_canti-danti-cu.json b/test/jsonFiles/PYTHIA__Bu_canti-danti-cu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_canti-danti-cu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["c", "anti-d", "anti-c", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_canti-danti-cu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_canti-santi-cu.json b/test/jsonFiles/PYTHIA__Bu_canti-santi-cu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_canti-santi-cu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["c", "anti-s", "anti-c", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_canti-santi-cu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_canti-santi-uu.json b/test/jsonFiles/PYTHIA__Bu_canti-santi-uu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_canti-santi-uu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["c", "anti-s", "anti-u", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_canti-santi-uu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_danti-danti-du.json b/test/jsonFiles/PYTHIA__Bu_danti-danti-du.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_danti-danti-du.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["d", "anti-d", "anti-d", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_danti-danti-du.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_danti-danti-su.json b/test/jsonFiles/PYTHIA__Bu_danti-danti-su.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_danti-danti-su.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["d", "anti-d", "anti-s", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_danti-danti-su.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_santi-santi-du.json b/test/jsonFiles/PYTHIA__Bu_santi-santi-du.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_santi-santi-du.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["s", "anti-s", "anti-d", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_santi-santi-du.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_santi-santi-su.json b/test/jsonFiles/PYTHIA__Bu_santi-santi-su.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_santi-santi-su.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["s", "anti-s", "anti-s", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_santi-santi-su.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_uanti-danti-cu.json b/test/jsonFiles/PYTHIA__Bu_uanti-danti-cu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_uanti-danti-cu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["u", "anti-d", "anti-c", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_uanti-danti-cu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_uanti-danti-uu.json b/test/jsonFiles/PYTHIA__Bu_uanti-danti-uu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_uanti-danti-uu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["u", "anti-d", "anti-u", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_uanti-danti-uu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_uanti-santi-cu.json b/test/jsonFiles/PYTHIA__Bu_uanti-santi-cu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_uanti-santi-cu.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["u", "anti-s", "anti-c", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_uanti-santi-cu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_uanti-uanti-du.json b/test/jsonFiles/PYTHIA__Bu_uanti-uanti-du.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_uanti-uanti-du.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["u", "anti-u", "anti-d", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_uanti-uanti-du.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Bu_uanti-uanti-su.json b/test/jsonFiles/PYTHIA__Bu_uanti-uanti-su.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Bu_uanti-uanti-su.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "B+",
+ "daughters" : ["u", "anti-u", "anti-s", "u"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5}
+ ],
+ "outfile" : "PYTHIA__Bu_uanti-uanti-su.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Lb_anti-csuud0.json b/test/jsonFiles/PYTHIA__Lb_anti-csuud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Lb_anti-csuud0.json
@@ -0,0 +1,50 @@
+{
+ "parent" : "Lambda_b0",
+ "daughters" : ["anti-c", "s", "u", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["22"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 2.0, "xmax" : 10.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 2.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 2.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 2.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Lb_anti-csuud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Lb_anti-ucdud0.json b/test/jsonFiles/PYTHIA__Lb_anti-ucdud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Lb_anti-ucdud0.json
@@ -0,0 +1,50 @@
+{
+ "parent" : "Lambda_b0",
+ "daughters" : ["anti-u", "c", "d", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["43"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 3.0, "xmax" : 10.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 2.0, "xmax" : 5.5},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 2.0, "xmax" : 5.5},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Lb_anti-ucdud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Lb_anti-udcud0.json b/test/jsonFiles/PYTHIA__Lb_anti-udcud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Lb_anti-udcud0.json
@@ -0,0 +1,50 @@
+{
+ "parent" : "Lambda_b0",
+ "daughters" : ["anti-u", "d", "c", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["23"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 10, "xmin" : 3.0, "xmax" : 10.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 2.0, "xmax" : 5.5},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 2.0, "xmax" : 5.5},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.5},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.5},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Lb_anti-udcud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Lb_anti-uduud0.json b/test/jsonFiles/PYTHIA__Lb_anti-uduud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Lb_anti-uduud0.json
@@ -0,0 +1,49 @@
+{
+ "parent" : "Lambda_b0",
+ "daughters" : ["anti-u", "d", "u", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["45"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 6, "xmin" : 5.0, "xmax" : 11.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Lb_anti-uduud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Lb_anti-uudud0.json b/test/jsonFiles/PYTHIA__Lb_anti-uudud0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Lb_anti-uudud0.json
@@ -0,0 +1,49 @@
+{
+ "parent" : "Lambda_b0",
+ "daughters" : ["anti-u", "u", "d", "ud_0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["44"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 8, "xmin" : 4.0, "xmax" : 12.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 4.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -2.5, "xmax" : 2.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Lb_anti-uudud0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Omegacc_anti-duscs1.json b/test/jsonFiles/PYTHIA__Omegacc_anti-duscs1.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Omegacc_anti-duscs1.json
@@ -0,0 +1,48 @@
+{
+ "parent" : "Omega_cc+",
+ "daughters" : ["anti-d", "u", "s", "cs_1"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["42"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "lifetime", "title" : "tau", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 10.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 4, "xmin" : 2.0, "xmax" : 6.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.0, "xmax" : 1.5},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.0, "xmax" : 3.7},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.2},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.1},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -0.8, "xmax" : 0.8},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Omegacc_anti-duscs1.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Xsd_anti-sd.json b/test/jsonFiles/PYTHIA__Xsd_anti-sd.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Xsd_anti-sd.json
@@ -0,0 +1,43 @@
+{
+ "parent" : "Xsd",
+ "daughters" : ["anti-s", "d"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["11"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 5, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.6, "xmax" : 1.5},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.6, "xmax" : 1.5},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.1},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -0.8, "xmax" : 0.8},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -0.8, "xmax" : 0.8},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -0.8, "xmax" : 0.8},
+ {"variable" : "massSq", "title" : "Dalitz m^{2}(1,2) vs m^{2}(1,3)", "d1" : 1, "d2" : 2, "nbins" : 50, "xmin" : 0.4, "xmax" : 2.2, "variableY" : "massSq", "d1Y" : 1, "d2Y" : 3, "nbinsY" : 50, "ymin" : 0.4, "ymax" : 2.2},
+ {"variable" : "massSq", "title" : "Dalitz m^{2}(23) vs m^{2}(1,2)", "d1" : 2, "d2" : 3, "nbins" : 50, "xmin" : 0.1, "xmax" : 1.2, "variableY" : "massSq", "d1Y" : 1, "d2Y" : 2, "nbinsY" : 50, "ymin" : 0.4, "ymax" : 2.2},
+ {"variable" : "mPrime", "title" : "sqDalitz", "d1" : 1, "d2" : 2, "nbins" : 25, "xmin" : 0.0, "xmax" : 1.00, "variableY" : "thetaPrime", "d1Y" : 1, "d2Y" : 2, "nbinsY" : 25, "ymin" : 0.0, "ymax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Xsd_anti-sd.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Y3S_anti-cc.json b/test/jsonFiles/PYTHIA__Y3S_anti-cc.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Y3S_anti-cc.json
@@ -0,0 +1,50 @@
+{
+ "parent" : "Upsilon(3S)",
+ "daughters" : ["anti-c", "c"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["91"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 3, "xmin" : 3.0, "xmax" : 6.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 1.0, "xmax" : 8.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 10.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 10.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.0, "xmax" : 6.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -5.0, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -5.0, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -5.0, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -5.0, "xmax" : 5.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Y3S_anti-cc.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Y3S_ggg.json b/test/jsonFiles/PYTHIA__Y3S_ggg.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Y3S_ggg.json
@@ -0,0 +1,49 @@
+{
+ "parent" : "Upsilon(3S)",
+ "daughters" : ["g", "g", "g"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["92"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 4.0, "xmax" : 16.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Y3S_ggg.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Y4S_gammagg.json b/test/jsonFiles/PYTHIA__Y4S_gammagg.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Y4S_gammagg.json
@@ -0,0 +1,50 @@
+{
+ "parent" : "Upsilon(4S)",
+ "daughters" : ["gamma", "g", "g"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["92"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 4.0, "xmax" : 16.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 6.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Y4S_gammagg.root"
+}
diff --git a/test/jsonFiles/PYTHIA__Y4S_ggg.json b/test/jsonFiles/PYTHIA__Y4S_ggg.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__Y4S_ggg.json
@@ -0,0 +1,49 @@
+{
+ "parent" : "Upsilon(4S)",
+ "daughters" : ["g", "g", "g"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["92"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "nDaug", "title" : "nDaug", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 4.0, "xmax" : 16.0},
+ {"variable" : "id_perDaughter", "title" : "StdHep ID", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "particleType_perDaughter", "title" : "Particle type", "d1" : 0, "d2" : 0, "nbins" : 12, "xmin" : 0, "xmax" : 12.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of kaons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isDmeson_perDaughter", "title" : "Momentum of D mesons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isBaryon_perDaughter", "title" : "Momentum of light and strange baryons", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of other particles", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 5.0},
+ {"variable" : "id", "title" : "StdHep ID1", "d1" : 1, "d2" : 0, "nbins" : 12, "xmin" : -5000.0, "xmax" : 5000.0},
+ {"variable" : "id", "title" : "StdHep ID2", "d1" : 2, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID3", "d1" : 3, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "id", "title" : "StdHep ID4", "d1" : 4, "d2" : 0, "nbins" : 12, "xmin" : -600.0, "xmax" : 600.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.5, "xmax" : 5.0},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "p", "title" : "p(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 3.0},
+ {"variable" : "pz", "title" : "pz(4)", "d1" : 4, "d2" : 0, "nbins" : 50, "xmin" : -3.0, "xmax" : 3.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(3,4)", "d1" : 3, "d2" : 4, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(4)", "d1" : 4, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__Y4S_ggg.root"
+}
diff --git a/test/jsonFiles/PYTHIA__phi_KK.json b/test/jsonFiles/PYTHIA__phi_KK.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__phi_KK.json
@@ -0,0 +1,22 @@
+{
+ "parent" : "phi",
+ "daughters" : ["K+", "K-"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["2"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.99, "xmax" : 1.05},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.2},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -0.2, "xmax" : 0.2},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.2},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -0.2, "xmax" : 0.2},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__phi_KK.root"
+}
diff --git a/test/jsonFiles/PYTHIA__phi_pipipi0.json b/test/jsonFiles/PYTHIA__phi_pipipi0.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__phi_pipipi0.json
@@ -0,0 +1,31 @@
+{
+ "parent" : "phi",
+ "daughters" : ["pi+", "pi-", "pi0"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["1"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 10000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 2, "xmin" : 0.0, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.3, "xmax" : 0.9},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.3, "xmax" : 0.9},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.3, "xmax" : 0.9},
+ {"variable" : "p", "title" : "p(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "pz", "title" : "pz(1)", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : -0.5, "xmax" : 0.5},
+ {"variable" : "p", "title" : "p(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "pz", "title" : "pz(2)", "d1" : 2, "d2" : 0, "nbins" : 50, "xmin" : -0.5, "xmax" : 0.5},
+ {"variable" : "p", "title" : "p(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "pz", "title" : "pz(3)", "d1" : 3, "d2" : 0, "nbins" : 50, "xmin" : -0.5, "xmax" : 0.5},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(2,3)", "d1" : 2, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,3)", "d1" : 1, "d2" : 3, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 20, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "phi", "title" : "phi(1)", "d1" : 1, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(2)", "d1" : 2, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180},
+ {"variable" : "phi", "title" : "phi(3)", "d1" : 3, "d2" : 0, "nbins" : 90, "xmin" : -180.0, "xmax" : 180}
+ ],
+ "outfile" : "PYTHIA__phi_pipipi0.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_K0piK0nu.json b/test/jsonFiles/PYTHIA__tau_K0piK0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_K0piK0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["anti-K0", "pi+", "K0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_K0piK0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_K0pinu.json b/test/jsonFiles/PYTHIA__tau_K0pinu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_K0pinu.json
@@ -0,0 +1,28 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K0", "pi+", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_K0pinu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_KK0nu.json b/test/jsonFiles/PYTHIA__tau_KK0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_KK0nu.json
@@ -0,0 +1,27 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "anti-K0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_KK0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_KKKnu.json b/test/jsonFiles/PYTHIA__tau_KKKnu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_KKKnu.json
@@ -0,0 +1,32 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "K-", "K+", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_KKKnu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_Komeganu.json b/test/jsonFiles/PYTHIA__tau_Komeganu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_Komeganu.json
@@ -0,0 +1,28 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "omega", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_Komeganu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_Kpi0K0nu.json b/test/jsonFiles/PYTHIA__tau_Kpi0K0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_Kpi0K0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "pi0", "anti-K0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_Kpi0K0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_Kpi0pi0nu.json b/test/jsonFiles/PYTHIA__tau_Kpi0pi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_Kpi0pi0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "pi0", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_Kpi0pi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_KpiKnu.json b/test/jsonFiles/PYTHIA__tau_KpiKnu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_KpiKnu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "pi+", "K-", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_KpiKnu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_Kpipinu.json b/test/jsonFiles/PYTHIA__tau_Kpipinu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_Kpipinu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "pi-", "pi+", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_Kpipinu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_Kpipipi0nu.json b/test/jsonFiles/PYTHIA__tau_Kpipipi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_Kpipipi0nu.json
@@ -0,0 +1,36 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["K+", "pi-", "pi+", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(5)/E(tau)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(5)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,5)", "d1" : 1, "d2" : 5, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_Kpipipi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_etapipi0nu.json b/test/jsonFiles/PYTHIA__tau_etapipi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_etapipi0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["eta", "pi+", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_etapipi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_piK0pi0nu.json b/test/jsonFiles/PYTHIA__tau_piK0pi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_piK0pi0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "K0", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_piK0pi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_piomegapi0nu.json b/test/jsonFiles/PYTHIA__tau_piomegapi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_piomegapi0nu.json
@@ -0,0 +1,33 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "omega", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isOther_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_piomegapi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_pipi0gammanu.json b/test/jsonFiles/PYTHIA__tau_pipi0gammanu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_pipi0gammanu.json
@@ -0,0 +1,32 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "pi0", "gamma", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_pipi0gammanu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_pipi0pi0pi0nu.json b/test/jsonFiles/PYTHIA__tau_pipi0pi0pi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_pipi0pi0pi0nu.json
@@ -0,0 +1,36 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "pi0", "pi0", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(5)/E(tau)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(5)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,5)", "d1" : 1, "d2" : 5, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_pipi0pi0pi0nu.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_pipipinu_yesFSR.json b/test/jsonFiles/PYTHIA__tau_pipipinu_yesFSR.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_pipipinu_yesFSR.json
@@ -0,0 +1,40 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "pi+", "pi-", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["yesFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "nFSRPhotons", "title" : "nFSRPhotons", "d1" : 0, "d2" : 0, "nbins" : 6, "xmin" : 0, "xmax" : 6.0 },
+ {"variable" : "totalFSREnergy", "title" : "totalFSREnergy", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0, "xmax" : 0.8 },
+ {"variable" : "E_FSRPhotons", "title" : "FSR E(#gamma)", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.8},
+ {"variable" : "E_FSRPhotons", "title" : "FSR E(#gamma) cut off", "d1" : 1, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 0.5e-6},
+ {"variable" : "cosTheta_FSRPhotons", "title" : "FSR cosTheta/#gamma)", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "openingAngle_FSRPhotons", "title" : "FSR opening angle", "d1" : 0, "d2" : 0, "nbins" : 90, "xmin" : 0, "xmax" : 180},
+ {"variable" : "cosTheta_EnergyWeight_FSRPhotons", "title" : "FSR cosTheta(#gamma)", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "openingAngle_EnergyWeight_FSRPhotons", "title" : "FSR opening angle", "d1" : 0, "d2" : 0, "nbins" : 90, "xmin" : 0, "xmax" : 180},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_pipipinu_yesFSR.root"
+}
diff --git a/test/jsonFiles/PYTHIA__tau_pipipipi0nu.json b/test/jsonFiles/PYTHIA__tau_pipipipi0nu.json
new file mode 100644
--- /dev/null
+++ b/test/jsonFiles/PYTHIA__tau_pipipipi0nu.json
@@ -0,0 +1,36 @@
+{
+ "parent" : "tau+",
+ "daughters" : ["pi+", "pi-", "pi+", "pi0", "anti-nu_tau"],
+ "models" : ["PYTHIA"],
+ "parameters" : [["21"]],
+ "extras" : ["noFSR"],
+ "do_conjugate_decay" : [true],
+ "events" : 100000,
+ "histograms" : [
+ {"variable" : "prob", "title" : "Prob", "d1" : 0, "d2" : 0, "nbins" : 100, "xmin" : 0.8, "xmax" : 1.2},
+ {"variable" : "p_isLeptonOrPhoton_perDaughter", "title" : "Momentum of leptons, #gamma", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isKaon_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "p_isPion_perDaughter", "title" : "Momentum of pions", "d1" : 0, "d2" : 0, "nbins" : 50, "xmin" : 0.0, "xmax" : 1.0},
+ {"variable" : "E_over_Eparent", "title" : "E(1)/E(tau)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(2)/E(tau)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(3)/E(tau)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(4)/E(tau)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "E_over_Eparent", "title" : "E(5)/E(tau)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : 0.0, "xmax" : 0.5},
+ {"variable" : "cosTheta", "title" : "cosTheta(1)", "d1" : 1, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(2)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(3)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(4)", "d1" : 4, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosTheta", "title" : "cosTheta(5)", "d1" : 5, "d2" : 0, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "cosHel", "title" : "cosHel(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0},
+ {"variable" : "mass", "title" : "m(1,2)", "d1" : 1, "d2" : 2, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,3)", "d1" : 1, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,4)", "d1" : 1, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(1,5)", "d1" : 1, "d2" : 5, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(2,4)", "d1" : 2, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass", "title" : "m(3,4)", "d1" : 3, "d2" : 4, "nbins" : 100, "xmin" : 0.25, "xmax" : 2.0},
+ {"variable" : "mass3", "title" : "m(2,3)", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : 0.2, "xmax" : 1.8},
+ {"variable" : "cosTheta3", "title" : "cosTheta3pi", "d1" : 2, "d2" : 3, "nbins" : 100, "xmin" : -1.0, "xmax" : 1.0}
+ ],
+ "outfile" : "PYTHIA__tau_pipipipi0nu.root"
+}
diff --git a/test/testDecayModel.hh b/test/testDecayModel.hh
--- a/test/testDecayModel.hh
+++ b/test/testDecayModel.hh
@@ -91,6 +91,10 @@
void compareHistos( const std::string& refFileName ) const;
+ int getPartGroup( const int PDGId ) const;
+
+ bool isPartType( const int group, const std::string& particleType ) const;
+
double getCosAcoplanarityAngle( const EvtParticle* selectedParent,
const int sel_NDaugMax, const int d1,
const int d2 ) const;
diff --git a/test/testDecayModel.cc b/test/testDecayModel.cc
--- a/test/testDecayModel.cc
+++ b/test/testDecayModel.cc
@@ -517,6 +517,8 @@
const std::string fsrStr = "_FSRPhotons";
const std::string ewStr = "_EnergyWeight";
+ const std::string perDaughter = "_perDaughter";
+
// Store information
for ( auto& [info, hist] : m_1DhistVect ) {
if ( !hist ) {
@@ -524,24 +526,59 @@
}
const std::string varName = info.getName();
+ std::string reducedVarName = varName;
+
const std::string::size_type findFSRstr = varName.find( fsrStr );
- // If the variable name does not have the substring '_FSRPhotons', then add an entry per event and continue
- if ( findFSRstr == std::string::npos ) {
+ const std::string::size_type findPerDaugStr = varName.find(
+ perDaughter );
+
+ // If the variable name does not have the substrings '_perDaughter' and '_FSRPhotons', then add an entry per event and continue
+ if ( findFSRstr == std::string::npos &&
+ findPerDaugStr == std::string::npos ) {
const double value{
getValue( parent, varName, info.getd1(), info.getd2() ) };
hist->Fill( value );
continue;
}
+ // If the variable name has the substring '_perDaughter' and does not have the substring '_FSRPhotons', then add an entry per daughter and continue
+ else if ( findFSRstr == std::string::npos ) {
+ reducedVarName.erase( findPerDaugStr, perDaughter.length() );
+
+ // Figure out whether the variable indicates to be saved for a requested particle type
+ const std::string::size_type findIsStr = reducedVarName.find(
+ "_is" );
+ const std::string requestedType = findIsStr == std::string::npos
+ ? ""
+ : reducedVarName.substr(
+ findIsStr + 3 );
+
+ if ( !requestedType.empty() ) {
+ reducedVarName.erase( findIsStr,
+ reducedVarName.length() - findIsStr );
+ }
- // If otherwise the variable contains the substring '_FSRPhotons', then add an entry per photon
+ for ( int iDaug{ 0 }; iDaug < (int)parent->getNDaug(); iDaug++ ) {
+ const double value{
+ getValue( parent, reducedVarName, iDaug + 1, 0 ) };
+ const int partGroup = getPartGroup(
+ parent->getDaug( iDaug )->getPDGId() );
+
+ if ( requestedType.empty() ||
+ isPartType( partGroup, requestedType ) ) {
+ hist->Fill( value );
+ }
+ }
+ continue;
+ }
+
+ // If otherwise the variable contains the substring '_FSRPhotons', then add an entry per photon
if ( leadingChargedDaughter == -1 ) {
leadingChargedDaughter = findChargedDaugtherWithMaxE( parent );
}
- std::string reducedVarName = varName;
reducedVarName.erase( findFSRstr, fsrStr.length() );
const std::string::size_type findEwStr = reducedVarName.find( ewStr );
@@ -677,6 +714,15 @@
} else {
value = selectedParent->getPDGId();
}
+ } else if ( !selectedVarName.compare( "particleType" ) ) {
+ if ( par1 ) {
+ value = getPartGroup( par1->getPDGId() );
+ } else {
+ value = getPartGroup( selectedParent->getPDGId() );
+ }
+ } else if ( !selectedVarName.compare( "nDaug" ) ) {
+ // Number of daughters
+ value = sel_NDaugMax;
} else if ( !selectedVarName.compare( "parMass" ) ) {
// Parent invariant mass
@@ -1337,6 +1383,56 @@
refFile->Close();
}
+int TestDecayModel::getPartGroup( const int PDGId ) const
+{
+ int group( -1 );
+
+ const int absPDGId = std::abs( PDGId );
+
+ if ( absPDGId >= 11 && absPDGId <= 16 ) {
+ group = 0; // leptons
+ } else if ( absPDGId == 22 ) {
+ group = 1; // photon
+ } else if ( absPDGId == 211 ) {
+ group = 2; // pi+-
+ } else if ( absPDGId == 111 ) {
+ group = 3; // pi0
+ } else if ( absPDGId == 321 ) {
+ group = 4; // K+-
+ } else if ( absPDGId == 311 || absPDGId == 130 || absPDGId == 310 ) {
+ group = 5; // K0
+ } else if ( absPDGId == 411 ) {
+ group = 6; // D+-
+ } else if ( absPDGId == 421 ) {
+ group = 7; // D0
+ } else if ( absPDGId == 2212 || absPDGId == 2112 || absPDGId == 2224 ||
+ absPDGId == 2214 || absPDGId == 2114 || absPDGId == 1114 ) {
+ group = 8; // light baryons
+ } else if ( absPDGId >= 3112 && absPDGId <= 3334 ) {
+ group = 9; // strange baryons
+ } else if ( absPDGId != 0 ) {
+ group = 10; // other particles
+ }
+
+ return group;
+}
+
+bool TestDecayModel::isPartType( const int group,
+ const std::string& particleType ) const
+{
+ if ( ( !particleType.compare( "LeptonOrPhoton" ) &&
+ ( group == 0 || group == 1 ) ) ||
+ ( !particleType.compare( "Pion" ) && ( group == 2 || group == 3 ) ) ||
+ ( !particleType.compare( "Kaon" ) && ( group == 4 || group == 5 ) ) ||
+ ( !particleType.compare( "Dmeson" ) && ( group == 6 || group == 7 ) ) ||
+ ( !particleType.compare( "Baryon" ) && ( group == 8 || group == 9 ) ) ||
+ ( !particleType.compare( "Other" ) && group == 10 ) ) {
+ return true;
+ } else {
+ return false;
+ }
+}
+
double TestDecayModel::getCosAcoplanarityAngle( const EvtParticle* selectedParent,
const int sel_NDaugMax,
const int d1, const int d2 ) const
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 3:24 PM (39 m, 58 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4023279
Default Alt Text
D129.id533.diff (217 KB)
Attached To
D129: Add and convert tests for pythia
Event Timeline
Log In to Comment