CbmRoot
|
#include <CbmTrdUtils.h>
Public Member Functions | |
CbmTrdUtils () | |
virtual | ~CbmTrdUtils () |
void | InitColorVector (Bool_t logScale, Double_t min, Double_t max) |
Int_t | GetColorCode (Double_t value) |
void | Statusbar (Int_t i, Int_t n) |
Int_t | GetModuleType (Int_t moduleAddress, CbmTrdParModDigi *fModuleInfo, CbmTrdParSetDigi *fDigiPar) |
void | NiceLegend (TLegend *l) |
void | NiceTProfile (TProfile *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle) |
void | NiceTH3 (TH3 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle, TString zTitle) |
void | NiceTH2 (TH2 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle, TString zTitle) |
void | NiceTH1 (TH1 *h, Int_t color, Int_t mStyle, Int_t mSize, TString xTitle, TString yTitle) |
void | CreateLayerView (std::map< Int_t, TH1 * > &Map, CbmTrdParModDigi *fModuleInfo, CbmTrdParSetDigi *fDigiPar, const TString folder, const TString pics, const TString zAxisTitle, const Double_t fmax, const Double_t fmin, const Bool_t logScale) |
TPolyLine * | CreateTriangularPad (Int_t column, Int_t row, Double_t value, Double_t min_range, Double_t max_range, Bool_t logScale) |
TPolyLine * | CreateRectangularPad (Int_t column, Int_t row, Double_t value, Double_t min_range, Double_t max_range, Bool_t logScale) |
Static Public Member Functions | |
static TString | GetGeantName (Int_t GeantId) |
static Int_t | PdgToGeant (Int_t PdgCode) |
Private Attributes | |
std::vector< Int_t > | fColors |
std::vector< Double_t > | fZLevel |
Definition at line 23 of file CbmTrdUtils.h.
CbmTrdUtils::CbmTrdUtils | ( | ) |
Definition at line 40 of file CbmTrdUtils.cxx.
|
virtual |
Definition at line 41 of file CbmTrdUtils.cxx.
void CbmTrdUtils::CreateLayerView | ( | std::map< Int_t, TH1 * > & | Map, |
CbmTrdParModDigi * | fModuleInfo, | ||
CbmTrdParSetDigi * | fDigiPar, | ||
const TString | folder, | ||
const TString | pics, | ||
const TString | zAxisTitle, | ||
const Double_t | fmax, | ||
const Double_t | fmin, | ||
const Bool_t | logScale ) |
Definition at line 355 of file CbmTrdUtils.cxx.
References GetColorCode(), CbmTrdAddress::GetLayerId(), CbmTrdParSet::GetModulePar(), CbmTrdParModDigi::GetSizeX(), CbmTrdParModDigi::GetSizeY(), and InitColorVector().
TPolyLine * CbmTrdUtils::CreateRectangularPad | ( | Int_t | column, |
Int_t | row, | ||
Double_t | value, | ||
Double_t | min_range, | ||
Double_t | max_range, | ||
Bool_t | logScale ) |
Definition at line 101 of file CbmTrdUtils.cxx.
References GetColorCode(), InitColorVector(), x, and y.
Referenced by CbmTrdRecoQa::Exec().
TPolyLine * CbmTrdUtils::CreateTriangularPad | ( | Int_t | column, |
Int_t | row, | ||
Double_t | value, | ||
Double_t | min_range, | ||
Double_t | max_range, | ||
Bool_t | logScale ) |
Definition at line 68 of file CbmTrdUtils.cxx.
References GetColorCode(), InitColorVector(), x, and y.
Referenced by CbmTrdRecoQa::Exec().
Int_t CbmTrdUtils::GetColorCode | ( | Double_t | value | ) |
Definition at line 56 of file CbmTrdUtils.cxx.
References fColors, and fZLevel.
Referenced by CreateLayerView(), CreateRectangularPad(), CreateTriangularPad(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inlinestatic |
Definition at line 43 of file CbmTrdUtils.h.
Referenced by CbmTrdQa::Init().
Int_t CbmTrdUtils::GetModuleType | ( | Int_t | moduleAddress, |
CbmTrdParModDigi * | fModuleInfo, | ||
CbmTrdParSetDigi * | fDigiPar ) |
Definition at line 284 of file CbmTrdUtils.cxx.
References CbmTrdParSet::GetModulePar(), CbmTrdParModDigi::GetNofColumns(), and CbmTrdParModDigi::GetNofRows().
Referenced by CbmTrdHitDensityQa::Finish().
void CbmTrdUtils::InitColorVector | ( | Bool_t | logScale, |
Double_t | min, | ||
Double_t | max ) |
Definition at line 43 of file CbmTrdUtils.cxx.
References fColors, and fZLevel.
Referenced by CreateLayerView(), CreateRectangularPad(), CreateTriangularPad(), and CbmTrdHitRateFastQa::ScanModulePlane().
void CbmTrdUtils::NiceLegend | ( | TLegend * | l | ) |
Definition at line 210 of file CbmTrdUtils.cxx.
void CbmTrdUtils::NiceTH1 | ( | TH1 * | h, |
Int_t | color, | ||
Int_t | mStyle, | ||
Int_t | mSize, | ||
TString | xTitle, | ||
TString | yTitle ) |
Definition at line 126 of file CbmTrdUtils.cxx.
void CbmTrdUtils::NiceTH2 | ( | TH2 * | h, |
Int_t | color, | ||
Int_t | mStyle, | ||
Int_t | mSize, | ||
TString | xTitle, | ||
TString | yTitle, | ||
TString | zTitle ) |
Definition at line 146 of file CbmTrdUtils.cxx.
void CbmTrdUtils::NiceTH3 | ( | TH3 * | h, |
Int_t | color, | ||
Int_t | mStyle, | ||
Int_t | mSize, | ||
TString | xTitle, | ||
TString | yTitle, | ||
TString | zTitle ) |
Definition at line 168 of file CbmTrdUtils.cxx.
void CbmTrdUtils::NiceTProfile | ( | TProfile * | h, |
Int_t | color, | ||
Int_t | mStyle, | ||
Int_t | mSize, | ||
TString | xTitle, | ||
TString | yTitle ) |
Definition at line 190 of file CbmTrdUtils.cxx.
|
static |
Definition at line 218 of file CbmTrdUtils.cxx.
Referenced by CbmTrdQa::Exec().
void CbmTrdUtils::Statusbar | ( | Int_t | i, |
Int_t | n ) |
Definition at line 274 of file CbmTrdUtils.cxx.
|
private |
Definition at line 148 of file CbmTrdUtils.h.
Referenced by GetColorCode(), and InitColorVector().
|
private |
Definition at line 149 of file CbmTrdUtils.h.
Referenced by GetColorCode(), and InitColorVector().