Skip to content

Commit e5c4a61

Browse files
committed
1. For all files inputs one could provide 'loop' parameter, which
forces to read same file endless number of times. 2. Introduce hadaq::TdcCalibrationModule for automatic calibration of fine time stamp in the TDC data, use code from stream framework. Will be compiled only when make with-stream=1 called 3. In configuration for hadaq input one could activate tdc calibration, specifying "hadaq://host:10101?tdccal" option. Rest of calibration parameters can be specified in Input0TdcCal module. git-svn-id: https://subversion.gsi.de/dabc/trunk/plugins/root/js@2916 bcbf6573-9a26-0410-9ebc-ce4ab7aade96
1 parent 6a56aac commit e5c4a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/drawoptions.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
var global_dir = "files/"; // for local testing
1818

19-
if (JSROOT.source_dir.indexOf("http")==0) global_dir = "../files/";
19+
if (JSROOT.source_dir.indexOf("http")==0) global_dir = "../../files/";
2020

2121
function draw_item(file, itemname, divid, drawopt) {
2222
file.ReadObject(itemname, function(obj) {
@@ -28,7 +28,7 @@
2828
function draw_item_options(file, itemname, divid, options, factor) {
2929
var arr = options.split(";");
3030

31-
var fname = (JSROOT.source_dir.indexOf("http")==0) ? file.fURL : "demo/"+ file.fURL;
31+
var fname = (JSROOT.source_dir.indexOf("http")==0) ? file.fURL.substr(3) : "demo/"+ file.fURL;
3232

3333
var has_equal = false;
3434

0 commit comments

Comments
 (0)