Skip to content
Snippets Groups Projects
Commit 9a87932d authored by Dominik Smith's avatar Dominik Smith
Browse files

Removed default data/ prefix from STS monitoring file path.

parent 4f4719df
No related branches found
No related tags found
1 merge request!432Monitoring for STS included in new unpacker scheme.
......@@ -120,7 +120,7 @@ void run_unpack_tsa(std::string infile = "test.tsa", UInt_t runid = 0, const cha
stsconfig->SetDoWriteOutput();
std::string parfilesbasepathSts = Form("%s/macro/beamtime/mcbm2021/", srcDir.Data());
stsconfig->SetParFilesBasePath(parfilesbasepathSts);
stsconfig->SetMonitor(GetStsMonitor(outfilename));
//stsconfig->SetMonitor(GetStsMonitor(outfilename));
stsconfig->SetSystemTimeOffset(-2221); // [ns] value to be updated
}
// -------------
......@@ -349,7 +349,7 @@ std::shared_ptr<CbmStsUnpackMonitor> GetStsMonitor(std::string treefilename)
// ------------------------------------------------------------------------
auto monitor = std::make_shared<CbmStsUnpackMonitor>();
monitor->SetHistoFileNameFull(outfilename);
monitor->SetHistoFileName(outfilename);
//monitor->SetDebugMode(true);
return monitor;
}
......@@ -42,8 +42,7 @@ public:
/** @brief Write all histograms and canvases to file */
void Finish();
void SetHistoFileName(TString nameIn) { fHistoFileName = "data/" + nameIn + ".root"; }
void SetHistoFileNameFull(TString nameIn) { fHistoFileName = nameIn; }
void SetHistoFileName(TString nameIn) { fHistoFileName = nameIn; }
void DrawCanvases();
......@@ -213,7 +212,7 @@ public:
void SetDebugMode(bool value) { fDebugMode = value; }
private:
TString fHistoFileName = "data/HistosUnpackerSts.root";
TString fHistoFileName = "HistosUnpackerSts.root";
/// Rate evolution histos
//Bool_t fbLongHistoEnable;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment