CbmRoot
Loading...
Searching...
No Matches
CbmLitTrackingQaReport.cxx File Reference
#include "CbmLitTrackingQaReport.h"
#include "CbmDrawHist.h"
#include "CbmHistManager.h"
#include "CbmReportElement.h"
#include "CbmUtils.h"
#include "TCanvas.h"
#include "TH1.h"
#include "TLine.h"
#include <boost/assign/list_of.hpp>
#include <set>
#include <vector>
Include dependency graph for CbmLitTrackingQaReport.cxx:

Go to the source code of this file.

Functions

string DefaultEfficiencyLabelFormatter (const string &histName, Double_t efficiency)
 
string ElectronIdEfficiencyLabelFormatter (const string &histName, Double_t efficiency)
 
string DefaultPionSuppressionLabelFormatter (const string &histName, Double_t efficiency)
 
string FindAndReplace (const string &name, const string &oldSubstr, const string &newSubstr)
 
template<class T>
std::string NumberToString (const T &value, int precision=1)
 
vector< string > Split (const string &name, char delimiter)
 

Detailed Description

Author
Semen Lebedev s.leb.nosp@m.edev.nosp@m.@gsi..nosp@m.de
Date
2011

Definition in file CbmLitTrackingQaReport.cxx.

Function Documentation

◆ DefaultEfficiencyLabelFormatter()

string DefaultEfficiencyLabelFormatter ( const string & histName,
Double_t efficiency )

Definition at line 36 of file CbmLitTrackingQaReport.cxx.

References NumberToString(), and Split().

Referenced by CbmLitTrackingQaReport::DrawEfficiencyHistos().

◆ DefaultPionSuppressionLabelFormatter()

string DefaultPionSuppressionLabelFormatter ( const string & histName,
Double_t efficiency )

Definition at line 48 of file CbmLitTrackingQaReport.cxx.

References NumberToString(), and Split().

Referenced by CbmLitTrackingQaReport::DrawEfficiencyHistos().

◆ ElectronIdEfficiencyLabelFormatter()

string ElectronIdEfficiencyLabelFormatter ( const string & histName,
Double_t efficiency )

◆ FindAndReplace()

string Cbm::FindAndReplace ( const string & name,
const string & oldSubstr,
const string & newSubstr )

Definition at line 58 of file CbmUtils.cxx.

Referenced by ElectronIdEfficiencyLabelFormatter().

◆ NumberToString()

template<class T>
std::string Cbm::NumberToString ( const T & value,
int precision = 1 )

◆ Split()

vector< string > Cbm::Split ( const string & name,
char delimiter )