CbmRoot
CbmTrdUtils Class Reference

#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
 

Detailed Description

Definition at line 19 of file CbmTrdUtils.h.

Constructor & Destructor Documentation

◆ CbmTrdUtils()

CbmTrdUtils::CbmTrdUtils ( )

Definition at line 35 of file CbmTrdUtils.cxx.

◆ ~CbmTrdUtils()

CbmTrdUtils::~CbmTrdUtils ( )
virtual

Definition at line 36 of file CbmTrdUtils.cxx.

Member Function Documentation

◆ CreateLayerView()

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 
)

◆ CreateRectangularPad()

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().

◆ CreateTriangularPad()

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().

◆ GetColorCode()

Int_t CbmTrdUtils::GetColorCode ( Double_t  value)

◆ GetGeantName()

static TString CbmTrdUtils::GetGeantName ( Int_t  GeantId)
inlinestatic

Definition at line 77 of file CbmTrdUtils.h.

Referenced by CbmTrdQa::Init().

◆ GetModuleType()

Int_t CbmTrdUtils::GetModuleType ( Int_t  moduleAddress,
CbmTrdParModDigi fModuleInfo,
CbmTrdParSetDigi fDigiPar 
)

◆ InitColorVector()

void CbmTrdUtils::InitColorVector ( Bool_t  logScale,
Double_t  min,
Double_t  max 
)

◆ NiceLegend()

void CbmTrdUtils::NiceLegend ( TLegend *  l)

Definition at line 229 of file CbmTrdUtils.cxx.

◆ NiceTH1()

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.

◆ NiceTH2()

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.

◆ NiceTH3()

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.

◆ NiceTProfile()

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.

◆ PdgToGeant()

Int_t CbmTrdUtils::PdgToGeant ( Int_t  PdgCode)
static

Definition at line 236 of file CbmTrdUtils.cxx.

Referenced by CbmTrdQa::Exec().

◆ Statusbar()

void CbmTrdUtils::Statusbar ( Int_t  i,
Int_t  n 
)

Definition at line 291 of file CbmTrdUtils.cxx.

References i.

Member Data Documentation

◆ fColors

std::vector<Int_t> CbmTrdUtils::fColors
private

Definition at line 182 of file CbmTrdUtils.h.

Referenced by GetColorCode(), and InitColorVector().

◆ fZLevel

std::vector<Double_t> CbmTrdUtils::fZLevel
private

Definition at line 183 of file CbmTrdUtils.h.

Referenced by GetColorCode(), and InitColorVector().


The documentation for this class was generated from the following files: