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 19 of file CbmTrdUtils.h.
CbmTrdUtils::CbmTrdUtils | ( | ) |
Definition at line 35 of file CbmTrdUtils.cxx.
|
virtual |
Definition at line 36 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 375 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 66 of file CbmTrdUtils.cxx.
References GetColorCode(), InitColorVector(), x, and y.
Referenced by CbmTrdRecoQa::Exec().
Int_t CbmTrdUtils::GetColorCode | ( | Double_t | value | ) |
Definition at line 54 of file CbmTrdUtils.cxx.
References fColors, and fZLevel.
Referenced by CreateLayerView(), CreateRectangularPad(), CreateTriangularPad(), and CbmTrdHitRateFastQa::ScanModulePlane().
|
inlinestatic |
Definition at line 77 of file CbmTrdUtils.h.
Referenced by CbmTrdQa::Init().
Int_t CbmTrdUtils::GetModuleType | ( | Int_t | moduleAddress, |
CbmTrdParModDigi * | fModuleInfo, | ||
CbmTrdParSetDigi * | fDigiPar | ||
) |
Definition at line 300 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 38 of file CbmTrdUtils.cxx.
References fColors, fZLevel, i, max(), and min().
Referenced by CreateLayerView(), CreateRectangularPad(), CreateTriangularPad(), and CbmTrdHitRateFastQa::ScanModulePlane().
void CbmTrdUtils::NiceLegend | ( | TLegend * | l | ) |
Definition at line 229 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 129 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 153 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 179 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 205 of file CbmTrdUtils.cxx.
|
static |
Definition at line 236 of file CbmTrdUtils.cxx.
Referenced by CbmTrdQa::Exec().
void CbmTrdUtils::Statusbar | ( | Int_t | i, |
Int_t | n | ||
) |
Definition at line 291 of file CbmTrdUtils.cxx.
References i.
|
private |
Definition at line 182 of file CbmTrdUtils.h.
Referenced by GetColorCode(), and InitColorVector().
|
private |
Definition at line 183 of file CbmTrdUtils.h.
Referenced by GetColorCode(), and InitColorVector().