Skip to content
Snippets Groups Projects
Commit 66f00fbc authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Pierre-Alain Loizeau
Browse files

[mRICH] Register histos and canvases in top folder rich

parent 766766c8
No related branches found
No related tags found
1 merge request!811[mRICH] Register histos and canvases of the unpacker monitor in top folder rich
Pipeline #17222 passed
...@@ -124,10 +124,12 @@ Bool_t CbmRichUnpackMonitor::Init(CbmMcbm2018RichPar* parset) ...@@ -124,10 +124,12 @@ Bool_t CbmRichUnpackMonitor::Init(CbmMcbm2018RichPar* parset)
THttpServer* server = FairRunOnline::Instance()->GetHttpServer(); THttpServer* server = FairRunOnline::Instance()->GetHttpServer();
if (nullptr != server) { if (nullptr != server) {
for (UInt_t uHisto = 0; uHisto < vHistos.size(); ++uHisto) { for (UInt_t uHisto = 0; uHisto < vHistos.size(); ++uHisto) {
server->Register(Form("/%s", vHistos[uHisto].second.data()), vHistos[uHisto].first); server->Register(Form("/rich/%s", vHistos[uHisto].second.data()), vHistos[uHisto].first);
} }
/*
server->RegisterCommand("/Reset_UnpRich_Hist", "bMcbm2018UnpackerTaskRichResetHistos=kTRUE"); server->RegisterCommand("/Reset_UnpRich_Hist", "bMcbm2018UnpackerTaskRichResetHistos=kTRUE");
server->Restrict("/Reset_UnpRich_Hist", "allow=admin"); server->Restrict("/Reset_UnpRich_Hist", "allow=admin");
*/
} }
return kTRUE; return kTRUE;
......
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