I guess this shows my C++ ignorance.. too bad, I started to believe
that cint was an OK surrogate. I understand the message. If somebody
knows a more elegant work around to my obvious fix (32 extra lines),
many thanks...
...........
Electronics map is for real data.
Calibration file: /home/blast/blast/pro2003/Blast_Params/blast.sc_cal
Error: Non-static-const variable in array dimension FILE:macros/adc_bckg.C
LINE:50
(cint allows this only in interactive command and special form macro
which
is special extension. It is not allowed in source code. Please ignore
subsequent errors.)
line50:....
// for(int k=0;k<16;k++) {
// //Initializing histograms...
// sprintf(title,"adc_left[%d]",k);
// TH1F *adc_left[k] = new TH1F(title,title,500,1000,6000);
// sprintf(title,"adc_right[%d]",k);
// TH1F *adc_right[k] = new TH1F(title,title,500,1000,6000);
// }
-- ________________________________________________________________________________ Tancredi Botto, phone: +1-617-253-9204 mobile: +1-978-490-4124 research scientist MIT/Bates, 21 Manning Av Middleton MA, 01949 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:29 EST