CbmRoot
Loading...
Searching...
No Matches
kf::tools::RootUtils Struct Reference

#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.
 

Detailed Description

Definition at line 24 of file KfRootUtils.h.

Member Function Documentation

◆ ToHistogram()

TH2F * kf::tools::RootUtils::ToHistogram ( const cbm::algo::kf::MaterialMap & material,
const TString & name,
const TString & title )
static

Converts a material budget map into a TH2D histogram.

Parameters
materialA material map
nameName for the histogram
titleTitle 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().


The documentation for this struct was generated from the following files: