I got a script which converts the data in a rarely popular software to root format. But there is some kind of mistakes in this script and I am getting error while converting into root format.
Could you please help me in correcting the error?
Candle2root_drawAll.C (858 Bytes) Candle2root_v1.cpp (7.5 KB)
and one more file is remaining which I am unable to upload here. Is there any other way to share it?
Also when I am running the following command I am getting the error as follows:
g++ -Wall -std=c++11 -o candle2root candle2root_v1.cpp `root-config --cflags --glibs` -lSpectrum candle2root_v1.cpp: In function ‘void expand(datapackptr, datapackptr)’: candle2root_v1.cpp:255:11: warning: variable ‘dstart’ set but not used [-Wunused-but-set-variable] int16ptr dstart,wrtptr,rdptr,patptr; ^~~~~~
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided