Project
Loading...
Searching...
No Matches
o2::tpc::qc::helpers Namespace Reference

Functions

std::vector< double > makeLogBinning (const int nbins, const double min, const double max)
 get a vector containing binning info for constant sized bins on a log axis
 
void setStyleHistogram1D (TH1 &histo)
 Set nice style for single 1D histograms.
 
void setStyleHistogram1D (std::vector< TH1F > &histos)
 Set nice style for vector of 1D histograms.
 
void setStyleHistogram2D (TH2 &histo)
 Set nice style for 2D histograms.
 
void setStyleHistogram2D (std::vector< TH2F > &histos)
 Set nice style for vector of 2D histograms.
 
void setStyleHistogram (TH1 &histo)
 set nice style for 1D histograms ptr
 
void setStyleHistogramsInMap (std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > &mapOfvectors)
 
void setStyleHistogramsInMap (std::unordered_map< std::string_view, std::unique_ptr< TH1 > > &mapOfHisto)
 
void setStyleHistogramsInMap (std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > &mapOfvectors)
 
void setStyleHistogramsInMap (std::unordered_map< std::string, std::unique_ptr< TH1 > > &mapOfHisto)
 
bool newZSCalib (const o2::tpc::CalDet< float > &refPedestal, const o2::tpc::CalDet< float > &refNoise, const o2::tpc::CalDet< float > &pedestal)
 

Function Documentation

◆ makeLogBinning()

std::vector< double > o2::tpc::qc::helpers::makeLogBinning ( const int  nbins,
const double  min,
const double  max 
)

get a vector containing binning info for constant sized bins on a log axis

Some utility functions for qc

Definition at line 22 of file Helpers.cxx.

◆ newZSCalib()

bool o2::tpc::qc::helpers::newZSCalib ( const o2::tpc::CalDet< float > &  refPedestal,
const o2::tpc::CalDet< float > &  refNoise,
const o2::tpc::CalDet< float > &  pedestal 
)

Check if at least one pad in refPedestal and pedestal differs by 3*refNoise to see if new ZS calibration data should be uploaded to the FECs.

Parameters
refPedestal
refNoise
pedestal
Returns
true if refPedestal - pedestal > 3*refNoise on at least one pad

Definition at line 122 of file Helpers.cxx.

◆ setStyleHistogram()

void o2::tpc::qc::helpers::setStyleHistogram ( TH1 &  histo)

set nice style for 1D histograms ptr

Definition at line 73 of file Helpers.cxx.

◆ setStyleHistogram1D() [1/2]

void o2::tpc::qc::helpers::setStyleHistogram1D ( std::vector< TH1F > &  histos)

Set nice style for vector of 1D histograms.

Definition at line 49 of file Helpers.cxx.

◆ setStyleHistogram1D() [2/2]

void o2::tpc::qc::helpers::setStyleHistogram1D ( TH1 &  histo)

Set nice style for single 1D histograms.

Definition at line 43 of file Helpers.cxx.

◆ setStyleHistogram2D() [1/2]

void o2::tpc::qc::helpers::setStyleHistogram2D ( std::vector< TH2F > &  histos)

Set nice style for vector of 2D histograms.

Definition at line 65 of file Helpers.cxx.

◆ setStyleHistogram2D() [2/2]

void o2::tpc::qc::helpers::setStyleHistogram2D ( TH2 &  histo)

Set nice style for 2D histograms.

Definition at line 57 of file Helpers.cxx.

◆ setStyleHistogramsInMap() [1/4]

void o2::tpc::qc::helpers::setStyleHistogramsInMap ( std::unordered_map< std::string, std::unique_ptr< TH1 > > &  mapOfHisto)

Definition at line 114 of file Helpers.cxx.

◆ setStyleHistogramsInMap() [2/4]

void o2::tpc::qc::helpers::setStyleHistogramsInMap ( std::unordered_map< std::string, std::vector< std::unique_ptr< TH1 > > > &  mapOfvectors)

Definition at line 104 of file Helpers.cxx.

◆ setStyleHistogramsInMap() [3/4]

void o2::tpc::qc::helpers::setStyleHistogramsInMap ( std::unordered_map< std::string_view, std::unique_ptr< TH1 > > &  mapOfHisto)

Definition at line 96 of file Helpers.cxx.

◆ setStyleHistogramsInMap() [4/4]

void o2::tpc::qc::helpers::setStyleHistogramsInMap ( std::unordered_map< std::string_view, std::vector< std::unique_ptr< TH1 > > > &  mapOfvectors)

Definition at line 86 of file Helpers.cxx.