Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mehulkumar Shiroya
cbmroot
Commits
409c7bdd
Commit
409c7bdd
authored
Jul 21, 2021
by
Cornelius Feier-Riesen
Committed by
Florian Uhlig
Jul 23, 2021
Browse files
Do small corrections on lmvm analysis and apply clang format
parent
82169d8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
analysis/PWGDIL/dielectron/lmvm/CbmAnaDielectronTask.cxx
analysis/PWGDIL/dielectron/lmvm/CbmAnaDielectronTask.cxx
+16
-7
analysis/PWGDIL/dielectron/lmvm/CbmAnaDielectronTaskDrawAll.cxx
...is/PWGDIL/dielectron/lmvm/CbmAnaDielectronTaskDrawAll.cxx
+1
-1
No files found.
analysis/PWGDIL/dielectron/lmvm/CbmAnaDielectronTask.cxx
View file @
409c7bdd
...
...
@@ -2666,13 +2666,22 @@ void CbmAnaDielectronTask::Finish()
void
CbmAnaDielectronTask
::
SetEnergyAndPlutoParticle
(
const
string
&
energy
,
const
string
&
particle
)
{
// names of particles in common production differ from our names
if
(
particle
==
"rho0"
)
particle
==
"inmed"
;
// or "inmed_had_epem"??
else
if
(
particle
==
"wdalitz"
)
particle
==
"omegadalitz"
;
else
if
(
particle
==
"w"
)
particle
==
"omegaepem"
;
else
if
(
particle
==
"qgp_epem"
)
particle
==
"qgp"
;
if
(
particle
==
"rho0"
)
{
this
->
SetEnergyAndPlutoParticle
(
energy
,
"inmed"
);
return
;
}
else
if
(
particle
==
"wdalitz"
)
{
this
->
SetEnergyAndPlutoParticle
(
energy
,
"omegadalitz"
);
return
;
}
else
if
(
particle
==
"w"
)
{
this
->
SetEnergyAndPlutoParticle
(
energy
,
"omegaepem"
);
return
;
}
else
if
(
particle
==
"qgp_epem"
)
{
this
->
SetEnergyAndPlutoParticle
(
energy
,
"qgp"
);
return
;
}
// Au+Au centr old scaling factors
/* if (energy == "8gev" || energy == "10gev") {
...
...
analysis/PWGDIL/dielectron/lmvm/CbmAnaDielectronTaskDrawAll.cxx
View file @
409c7bdd
...
...
@@ -1711,7 +1711,7 @@ void CbmAnaDielectronTaskDrawAll::CalcCombBGHistos()
else
if
(
step
==
kPtCut
)
cock
=
(
TH1D
*
)
GetCoctailMinv
(
kPtCut
);
cock
->
Rebin
(
nRebin
);
if
(
cock
!=
NULL
)
cock
->
Rebin
(
nRebin
);
fh_mean_combSignalNpm_minv
[
step
]
=
(
TH1D
*
)
fh_mean_bg_minv
[
step
]
->
Clone
();
fh_mean_combSignalNpm_minv
[
step
]
->
Add
(
cock
);
fh_mean_combSignalNpm_minv
[
step
]
->
Add
(
fh_mean_combBg_minv
[
step
],
-
1.
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment