63 std::memset(
fMemory, 0, dataSize);
78 std::map<int, int>::iterator
it;
86 for(
unsigned int iParticle=0; iParticle<topoReconstructor.
GetParticles().size(); iParticle++)
98 strm << iParticle << std::endl;
100 for(
int iHistogram = 0; iHistogram<nHistograms; iHistogram++)
103 strm << histogram.
Name() <<
" " << histogram.
MinBin() <<
" " << histogram.
MaxBin() <<
" " << histogram.
NBins() << std::endl;
104 for(
int iBin=0; iBin<histogram.
NBins()+2; iBin++)
123 if ( !ifile.is_open() )
return 0;
131 for(
int iHistogram = 0; iHistogram<nHistograms; iHistogram++)
134 float minBin = 0.f, maxBin = 0.f;
136 ifile >> name >> minBin >> maxBin >> nBins;
138 minBin !=
fKFPHistogramSet[iParticle].GetHistogram1D(iHistogram).MinBin() ||
141 std::cout <<
"Fatal error: size of the histograms is not in an agreement with the current version." << std::endl;
146 for(
int iBin=0; iBin<nBins+2; iBin++)