Commit a3456d4e authored by Sergey Gorbunov's avatar Sergey Gorbunov Committed by Sergey Gorbunov
Browse files

cleanup

parent 33924ff1
......@@ -177,7 +177,6 @@ CbmL1::CbmL1()
, dFEI2vMCPoints()
, dFEI2vMCTracks()
, fData(nullptr)
, histodir(nullptr)
, fFindParticlesMode()
, fStsMatBudgetFileName("")
, fMvdMatBudgetFileName("")
......@@ -287,7 +286,6 @@ CbmL1::CbmL1(const char* name,
, dFEI2vMCPoints()
, dFEI2vMCTracks()
, fData(nullptr)
, histodir(nullptr)
, fFindParticlesMode(findParticleMode_)
, fStsMatBudgetFileName("")
, fMvdMatBudgetFileName("")
......@@ -389,7 +387,7 @@ InitStatus CbmL1::Init() {
fUseMVD = 0;
histodir = gROOT->mkdir("L1");
fHistoDir = gROOT->mkdir("L1");
// turn on reconstruction in sub-detectors
......@@ -1620,7 +1618,7 @@ void CbmL1::Finish() {
// Open output file and write histograms
TFile* outfile = new TFile("L1_histo.root", "RECREATE");
outfile->cd();
writedir2current(histodir);
writedir2current(fHistoDir);
outfile->Close();
outfile->Delete();
......
......@@ -349,8 +349,6 @@ private:
// DFEI2I::iterator map_it;
L1AlgoInputData* fData;
TDirectory* histodir;
static CbmL1* fInstance;
private:
......
......@@ -675,8 +675,7 @@ void CbmL1::
first_call = 0;
TDirectory* curdir = gDirectory;
gDirectory = histodir;
gDirectory->cd("L1");
gDirectory = fHistoDir;
p_eff_all_vs_mom = new TProfile("p_eff_all_vs_mom",
"AllSet Efficiency vs Momentum",
......@@ -1553,8 +1552,7 @@ void CbmL1::TrackFitPerformance() {
first_call = 0;
TDirectory* currentDir = gDirectory;
gDirectory = histodir;
gDirectory->cd("L1");
gDirectory = fHistoDir;
gDirectory->mkdir("Fit");
gDirectory->cd("Fit");
{
......@@ -2283,8 +2281,7 @@ void CbmL1::InputPerformance() {
first_call = 0;
TDirectory* currentDir = gDirectory;
gDirectory = histodir;
gDirectory->cd("L1");
gDirectory = fHistoDir;
gDirectory->mkdir("Input");
gDirectory->cd("Input");
gDirectory->mkdir("STS");
......
Markdown is supported
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