CbmRoot
Loading...
Searching...
No Matches
CbmTrdUtils Class Reference

#include <CbmTrdUtils.h>

Collaboration diagram for CbmTrdUtils:
[legend]

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 23 of file CbmTrdUtils.h.

Constructor & Destructor Documentation

◆ CbmTrdUtils()

CbmTrdUtils::CbmTrdUtils ( )

Definition at line 40 of file CbmTrdUtils.cxx.

◆ ~CbmTrdUtils()

CbmTrdUtils::~CbmTrdUtils ( )
virtual

Definition at line 41 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 68 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 43 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 210 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 126 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 146 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 168 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 190 of file CbmTrdUtils.cxx.

◆ PdgToGeant()

Int_t CbmTrdUtils::PdgToGeant ( Int_t PdgCode)
static

Definition at line 218 of file CbmTrdUtils.cxx.

Referenced by CbmTrdQa::Exec().

◆ Statusbar()

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

Definition at line 274 of file CbmTrdUtils.cxx.

Member Data Documentation

◆ fColors

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

Definition at line 148 of file CbmTrdUtils.h.

Referenced by GetColorCode(), and InitColorVector().

◆ fZLevel

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

Definition at line 149 of file CbmTrdUtils.h.

Referenced by GetColorCode(), and InitColorVector().


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