CbmRoot
CbmFlesHistosTools.cxx File Reference
#include "CbmFlesHistosTools.h"
#include <cmath>
Include dependency graph for CbmFlesHistosTools.cxx:

Go to the source code of this file.

Functions

std::vector< double > GenerateLogBinArray (uint32_t uNbDecadesLog, uint32_t uNbStepsDecade, uint32_t uNbSubStepsInStep, uint32_t &uNbBinsLog)
 

Function Documentation

◆ GenerateLogBinArray()

std::vector<double> GenerateLogBinArray ( uint32_t  uNbDecadesLog,
uint32_t  uNbStepsDecade,
uint32_t  uNbSubStepsInStep,
uint32_t &  uNbBinsLog 
)

Logarithmic bining for self time comparison Number of log bins = 9 for the sub-unit decade

  • 9 for each unit of each decade * 10 for the subdecade range
  • 1 for the closing bin top edge

Need uNbBinsLog + 1 values as we need to provide the end of last bin

First fill sub-unit decade

Then fill the main decades

use vector instead

Definition at line 6 of file CbmFlesHistosTools.cxx.

References i.

Referenced by CbmMcbm2018MonitorDataRates::AddMsComponentToList(), CbmMcbm2018MonitorAlgoTof::CreateHistograms(), CbmMcbm2018MonitorAlgoPsd::CreateHistograms(), CbmMcbm2018MonitorAlgoT0::CreateHistograms(), CbmMcbm2018MonitorDataRates::CreateHistograms(), CbmMcbm2018TofTestFee::CreateHistograms(), CbmMcbm2019CheckDtInDet::CreateHistos(), CbmMcbmCheckTimingAlgo::CreateHistos(), CbmCheckTiming::CreateHistos(), and CbmMcbm2019CheckPulser::CreateHistos().