otsdaq_utilities  v2_05_02_indev
amore.js
1 // special handling for the amore::core::String_t which is redifinition of TString
2 JSROOT.addUserStreamer("amore::core::String_t", "TString");
3 
4 // register class and identify, that 'fVal' field should be used for drawing
5 // one could specify explicit draw function, but it is not required in such simple case
6 JSROOT.addDrawFunc({ name: "amore::core::MonitorObjectHisto<TH1F>", icon: "img_histo1d", draw_field: "fVal" });