24 char *calibrationsroot = getenv(
"CALIBRATIONROOT");
49 int size1 = waveformvector.size();
50 std::vector<std::vector<float>> fitresults;
53 for (
int i = 0;
i < size1;
i++)
55 waveformvector.at(
i).push_back(
i);
72 std::vector<std::vector<float>> fit_values;
73 int nchnls = chnlvector.size();
74 for (
int m = 0;
m < nchnls;
m++)
76 std::vector<float>
v = chnlvector.at(
m);
78 std::vector<float> vtmp;
79 vtmp.reserve(nsamples);
82 vtmp.push_back(v.at(
k) / 1000.0);
85 int nvals = val.size();
86 for (
int i = 0;
i < nvals;
i++)
90 val.at(
i) = val.at(
i) * 1000;
93 fit_values.push_back(val);