Page MenuHomeHEPForge

D136.diff
No OneTemporary

D136.diff

diff --git a/History.md b/History.md
--- a/History.md
+++ b/History.md
@@ -11,6 +11,9 @@
===
## R03-00-00-betaX
+23 Jan 2025 Fernando Abudinen
+* D136: Fixed bug with 5th input parameter of BTOXSLL model
+
7 Dec 2025 Fernando Abudinen
* D135: Control radiation corrections in TAUOLA
- Introduced arguments to switch on/off TAUOLA FSR for leptonic decays and control photon cut-off.
diff --git a/src/EvtGenModels/EvtBtoXsll.cpp b/src/EvtGenModels/EvtBtoXsll.cpp
--- a/src/EvtGenModels/EvtBtoXsll.cpp
+++ b/src/EvtGenModels/EvtBtoXsll.cpp
@@ -120,7 +120,7 @@
m_mq = 0.;
m_pf = 0.41;
m_mxmin = 1.1;
- if ( getNArg() == 4 ) {
+ if ( getNArg() >= 4 ) {
// b-quark mass
m_mb = getArg( 0 );
// s-quark mass
@@ -129,9 +129,11 @@
m_mq = getArg( 2 );
// Fermi motion parameter
m_pf = getArg( 3 );
- }
- if ( getNArg() == 5 ) {
- m_mxmin = getArg( 4 );
+
+ if ( getNArg() == 5 ) {
+ // Cutoff of Xs mass
+ m_mxmin = getArg( 4 );
+ }
}
m_calcprob = std::make_unique<EvtBtoXsllUtil>();
diff --git a/test/checkJsonFiles.py b/test/checkJsonFiles.py
--- a/test/checkJsonFiles.py
+++ b/test/checkJsonFiles.py
@@ -129,6 +129,8 @@
'cuts',
'CLEO',
'BaBar',
+ 'Belle',
+ 'Belle2',
'Longitudinal',
'Transverse',
'tree',
diff --git a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json b/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
--- a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
+++ b/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
@@ -2,7 +2,7 @@
"parent" : "B+",
"daughters" : ["Xsu", "mu+", "mu-"],
"models" : ["BTOXSLL"],
- "parameters" : [["4.8", "0.2", "0.0", "0.41"]],
+ "parameters" : [["4.8", "0.2", "0.0", "0.41", "1.1"]],
"extras" : ["Define dm_incohMix_B0 0", "noFSR"],
"events" : 10000,
"histograms" : [
diff --git a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json b/test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle.json
copy from test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
copy to test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle.json
--- a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
+++ b/test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle.json
@@ -2,7 +2,7 @@
"parent" : "B+",
"daughters" : ["Xsu", "mu+", "mu-"],
"models" : ["BTOXSLL"],
- "parameters" : [["4.8", "0.2", "0.0", "0.41"]],
+ "parameters" : [["4.65", "0.2", "0.0", "0.461"]],
"extras" : ["Define dm_incohMix_B0 0", "noFSR"],
"events" : 10000,
"histograms" : [
@@ -28,5 +28,5 @@
{"variable" : "phi", "title" : "phi(mu+)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180},
{"variable" : "phi", "title" : "phi(mu-)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180}
],
- "outfile" :"BTOXSLL__Bu_Xsumumu.root"
+ "outfile" :"BTOXSLL__Bu_Xsumumu_Belle.root"
}
diff --git a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json b/test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle2.json
copy from test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
copy to test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle2.json
--- a/test/jsonFiles/BTOXSLL__Bu_Xsumumu.json
+++ b/test/jsonFiles/BTOXSLL__Bu_Xsumumu_Belle2.json
@@ -2,7 +2,7 @@
"parent" : "B+",
"daughters" : ["Xsu", "mu+", "mu-"],
"models" : ["BTOXSLL"],
- "parameters" : [["4.8", "0.2", "0.0", "0.41"]],
+ "parameters" : [["4.65", "0.2", "0.0", "0.461", "1.1"]],
"extras" : ["Define dm_incohMix_B0 0", "noFSR"],
"events" : 10000,
"histograms" : [
@@ -28,5 +28,5 @@
{"variable" : "phi", "title" : "phi(mu+)", "d1" : 2, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180},
{"variable" : "phi", "title" : "phi(mu-)", "d1" : 3, "d2" : 0, "nbins" : 100, "xmin" : -180.0, "xmax" : 180}
],
- "outfile" :"BTOXSLL__Bu_Xsumumu.root"
+ "outfile" :"BTOXSLL__Bu_Xsumumu_Belle2.root"
}

File Metadata

Mime Type
text/plain
Expires
Tue, May 13, 10:51 AM (7 m, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111277
Default Alt Text
D136.diff (3 KB)

Event Timeline