Skip to content
Snippets Groups Projects

CA: QA: Added CbmEvent-based execution to the time-slice reader and MC-module of CA

Merged Sergei Zharko requested to merge s.zharko/cbmroot:ca-ts-reader-integration into master
Files
28
@@ -133,3 +133,14 @@ void MaterialMap::Swap(MaterialMap& other) noexcept
std::swap(fZmax, other.fZmax);
std::swap(fTable, other.fTable); // Probably can cause segmentation violation (did not understand)
}
//------------------------------------------------------------------------------------------------------------------------------------
//
std::string MaterialMap::ToString() const
{
std::stringstream msg;
using std::setw;
msg << "[mat.map] nBins " << setw(6) << fNbins << ", XYmax " << setw(12) << fXYmax << " , z (ref, min, max) "
<< setw(12) << fZref << ' ' << setw(12) << fZmin << ' ' << setw(12) << fZmax;
return msg.str();
}
Loading