CbmRoot
|
#include <KfRootUtils.h>
Static Public Member Functions | |
static TH2F * | ToHistogram (const cbm::algo::kf::MaterialMap &material, const TString &name, const TString &title) |
Converts a material budget map into a TH2D histogram. | |
Definition at line 24 of file KfRootUtils.h.
|
static |
Converts a material budget map into a TH2D histogram.
material | A material map |
name | Name for the histogram |
title | Title for the histogram (note: axis title are set automatically) |
Definition at line 20 of file KfRootUtils.cxx.
References cbm::algo::kf::MaterialMap::GetBinThicknessX0(), cbm::algo::kf::MaterialMap::GetNbins(), and cbm::algo::kf::MaterialMap::GetXYmax().
Referenced by CbmL1::DumpMaterialToFile(), and CbmGenerateMaterialMaps::WriteMaterialMaps().