I am trying to store obtained values into an array, for this I thought it’s better to use vector, however when I call it, just to check - cout << digitArray << endl; I get “-nan” output. The value I want to fill this array with is there and is “double_t” .
So, I am doing following. I am filling two histograms and taking the fraction of their integrals, then I have a number and I want to store that number in an array (or vector). Why isn’t my solution working?..