Commit 409c7bdd authored by Cornelius Feier-Riesen's avatar Cornelius Feier-Riesen Committed by Florian Uhlig
Browse files

Do small corrections on lmvm analysis and apply clang format

parent 82169d8a
......@@ -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") {
......
......@@ -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.);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment