BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
monDecoder.C
Go to the documentation of this file.
1#include "/home/ilnur/bmnroot/bmndata/BmnEnums.h"
2#include "/home/ilnur/bmnroot/macro/run/bmnloadlibs.C"
3void monDecoder(TString dirName = "/bmn/run/current/", TString rawFileName = "", Bool_t runCurrent = kTRUE)
4{
5#if ROOT_VERSION_CODE < ROOT_VERSION(5, 99, 99)
6 gROOT->LoadMacro("$VMCWORKDIR/macro/run/bmnloadlibs.C");
7#endif
8 bmnloadlibs();
9 gSystem->Load("libBmnMonitor");
10 // BmnMonitor::threadDecodeWrapper(dirName, rawFileName, runCurrent);
11
13 deco->SetPeriodID(7);
15 deco->Decode(dirName, rawFileName, runCurrent);
16 delete deco;
17}
bool Bool_t
constexpr Bool_t kTRUE
#define gROOT
R__EXTERN TSystem * gSystem
@ kBMNSETUP
Definition BmnEnums.h:166
void SetPeriodID(uint32_t v)
BmnStatus Decode(TString dirname, TString startFile, Bool_t runCurrent)
void SetBmnSetup(BmnSetup v)
void monDecoder(TString dirName="/bmn/run/current/", TString rawFileName="", Bool_t runCurrent=kTRUE)
Definition monDecoder.C:3