Skip to content

Commit d916d95

Browse files
authored
PWGEM: LMee cocktail tutorial (#2463)
* python script * plotting macro * config files * parametrizations * decaytable * res/eff/mult/DCA files * update plotting macro
1 parent b8a8172 commit d916d95

File tree

12 files changed

+1271
-0
lines changed

12 files changed

+1271
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"em-lmee-lf-cocktail": {
3+
"cfgResFileName": "PATH/Cocktail/files/resolution/Resolution_PbPb5TeV.root",
4+
"cfgEffFileName": "PATH/Cocktail/files/resolution/EffMult.root",
5+
"cfgMultFileName": "PATH/Cocktail/files/resolution/EffMult.root",
6+
"cfgDCAFileName": "PATH/Cocktail/files/resolution/DCA.root",
7+
"cfgWriteTTree": "false",
8+
"cfgDoPairing": "false",
9+
"cfgMaxEta": "0.8",
10+
"cfgMinPt": "0.2",
11+
"cfgMaxPt": "10.0",
12+
"cfgMinOpAng": "0",
13+
"cfgALTweight": "1",
14+
"cfgDoVirtPh": "false",
15+
"cfgPhotonPtFileName": "",
16+
"cfgPhotonPtDirName": ""
17+
}
18+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[GeneratorExternal]
2+
fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/GeneratorEMCocktailV2.C
3+
funcName=GenerateEMCocktail(400,0,3,63,"${O2DPG_ROOT}/MC/config/PWGEM/parametrizations/PbPb5TeV_central.json","5TeV_0005_wRatio_etatest",350,0.0,30.0,10000,1,1,0,0,"",0,1.1,"${O2DPG_ROOT}/MC/config/PWGEM/decaytables/decaytable_LMee.dat",0)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"collisionSystem": "kPbPb",
3+
"centrality": "k0005",
4+
"selectedMothers": 63,
5+
"paramFile": "PATH/Cocktail/files/parametrizations/PbPb_5TeV.json",
6+
"paramFileDir": "5TeV_0005_wRatio",
7+
"numberOfParticles": 350,
8+
"minPt": 0.0,
9+
"maxPt": 30.0,
10+
"yGenRange": 1.1,
11+
"externalDecayer": 1,
12+
"decayMode": 3,
13+
"dynamicalPtRange": 0,
14+
"useLMeeDecaytable": "PATH/Cocktail/files/decaytables/decaytable_LMee.dat",
15+
"weightingMode": 0,
16+
"pythiaErrorTolerance": 10000,
17+
"paramV2FileDir": "",
18+
"useYWeights": 0,
19+
"decayLongLived": 1,
20+
"toFixEP": 0
21+
}

Tutorials/PWGEM/Cocktail/files/decaytables/decaytable_LMee.dat

Lines changed: 399 additions & 0 deletions
Large diffs are not rendered by default.

Tutorials/PWGEM/Cocktail/files/parametrizations/PbPb_5TeV.json

Lines changed: 402 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"13TeV_default": {
3+
"histoMtScaleFactor": {
4+
"331": 0.4,
5+
"333": 0.13,
6+
"443": 0.054,
7+
"3212": 0.49,
8+
"310": 1.0,
9+
"2224": 1.0,
10+
"2214": 1.0,
11+
"1114": 1.0,
12+
"2114": 1.0,
13+
"213": 1.0,
14+
"-213": 1.0,
15+
"313": 1.0,
16+
"130": 1.0,
17+
"3122": 1.0
18+
},
19+
"111_pt": "((x*(66.3458/TMath::Power(TMath::Exp((-(0.218056*x))-(0.0842573*(x*x)))+(x/0.741916),6.22709)))/(1634.39/TMath::Power(TMath::Exp((-(0.346984*x))-(0.0798057*(x*x)))+(x/0.648328),6.04003)))*(2098.79/TMath::Power(TMath::Exp((-(0.391494*x))-(0.0443212*(x*x)))+(x/0.575932),6.08223))",
20+
"221_pt": "(((x*(66.3458/TMath::Power(TMath::Exp((-(0.218056*x))-(0.0842573*(x*x)))+(x/0.741916),6.22709)))/(1634.39/TMath::Power(TMath::Exp((-(0.346984*x))-(0.0798057*(x*x)))+(x/0.648328),6.04003)))*(2098.79/TMath::Power(TMath::Exp((-(0.391494*x))-(0.0443212*(x*x)))+(x/0.575932),6.08223)))*(((0.504625*exp((((-(157384*x))-sqrt((x*x)+(0.5478530000*0.5478530000)))/sqrt(1-(-(157384*-(157384)))))/0.1))+(42.0992*(-(0.0112628*TMath::Power(1+((x/1.39355)*(x/1.39355)),-(0.919045))))))/(exp((((-(157384*x))-sqrt((x*x)+(0.1349770000*0.1349770000)))/sqrt(1-(-(157384*-(157384)))))/0.1)+(-(0.0112628*TMath::Power(1+((x/1.39355)*(x/1.39355)),-(0.919045))))))",
21+
"113_pt": "(((x*(66.3458/TMath::Power(TMath::Exp((-(0.218056*x))-(0.0842573*(x*x)))+(x/0.741916),6.22709)))/(1634.39/TMath::Power(TMath::Exp((-(0.346984*x))-(0.0798057*(x*x)))+(x/0.648328),6.04003)))*(2098.79/TMath::Power(TMath::Exp((-(0.391494*x))-(0.0443212*(x*x)))+(x/0.575932),6.08223)))*((((0.37788/(1+exp(-((x-0.265203)/0.274547))))+(-(0.393597*TMath::Gaus(x,0.324349,0.819888))))+(-(0.230459*TMath::Gaus(x,1.23251,1.24114))))+0.412584)",
22+
"223_pt": "(((x*(66.3458/TMath::Power(TMath::Exp((-(0.218056*x))-(0.0842573*(x*x)))+(x/0.741916),6.22709)))/(1634.39/TMath::Power(TMath::Exp((-(0.346984*x))-(0.0798057*(x*x)))+(x/0.648328),6.04003)))*(2098.79/TMath::Power(TMath::Exp((-(0.391494*x))-(0.0443212*(x*x)))+(x/0.575932),6.08223)))*((((0.435069/(1+exp(-((x-0.302485)/0.27614))))+(-(0.258853*TMath::Gaus(x,0.42493,0.693856))))+(-(0.202117*TMath::Gaus(x,1.07795,1.09857))))+0.242026)"
23+
},
24+
"13TeV_PreliminaryChargedPions": {
25+
"histoMtScaleFactor": {
26+
"331": 0.4,
27+
"333": 0.13,
28+
"443": 0.054,
29+
"3212": 0.49,
30+
"310": 1.0,
31+
"2224": 1.0,
32+
"2214": 1.0,
33+
"1114": 1.0,
34+
"2114": 1.0,
35+
"213": 1.0,
36+
"-213": 1.0,
37+
"313": 1.0,
38+
"130": 1.0,
39+
"3122": 1.0
40+
},
41+
"111_pt": "x*(123.313*(pow((exp((0.171351*x)-(abs(0.00418378)*(x*x)))+(x/0.919801)),-6.29677)))",
42+
"221_pt": "(x*(123.313*(pow((exp((0.171351*x)-(abs(0.00418378)*(x*x)))+(x/0.919801)),-(6.29677)))))*(((0.539894*exp((((0.994515*x)-sqrt((x*x)+(0.5478530000*0.5478530000)))/sqrt(1-(0.994515*0.994515)))/1.69543))+(-(0.0125445*(0.608582*TMath::Power(1+((x/22.1715)*(x/22.1715)),-(229.876))))))/(exp((((0.994515*x)-sqrt((x*x)+(0.1349770000*0.1349770000)))/sqrt(1-(0.994515*0.994515)))/1.69543)+(0.608582*TMath::Power(1+((x/22.1715)*(x/22.1715)),-(229.876)))))",
43+
"113_pt": "(x*(123.313*(pow((exp((0.171351*x)-(abs(0.00418378)*(x*x)))+(x/0.919801)),-(6.29677)))))*((((0.37788/(1+exp(-((x-0.265203)/0.274547))))+(-(0.393597*TMath::Gaus(x,0.324349,0.819888))))+(-(0.230459*TMath::Gaus(x,1.23251,1.24114))))+0.412584)",
44+
"223_pt": "(x*(123.313*(pow((exp((0.171351*x)-(abs(0.00418378)*(x*x)))+(x/0.919801)),-(6.29677)))))*((((0.435069/(1+exp(-((x-0.302485)/0.27614))))+(-(0.258853*TMath::Gaus(x,0.42493,0.693856))))+(-(0.202117*TMath::Gaus(x,1.07795,1.09857))))+0.242026)"
45+
}
46+
}
79.3 KB
Binary file not shown.
12 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)