#include "hmdcefficiency.h" |
HMdcEfficiencyLayer
class description - source file - inheritance tree (.pdf)
protected:
void creatCanvas()
void createHists()
void drawCanvXY(Int_t nPl)
void drawLineTot(TH1F* hst, Int_t color, Float_t eff, Float_t errEff)
void fillPaveXYeff(Int_t nPv)
void fillPaveXYnHits(Int_t nPv)
void fillPaveXYsing(Int_t nPv)
void setPads()
void setPavesXY()
void setTitle(TH1F*& hist, Char_t* nm)
public:
HMdcEfficiencyLayer(Short_t sec, Short_t mod, Short_t lay)
HMdcEfficiencyLayer(const HMdcEfficiencyLayer&)
~HMdcEfficiencyLayer()
void add0Hit(Short_t cell, Int_t nB)
void add1Hit(Short_t cell, Int_t nB)
void add2Hit(Short_t cell1, Short_t cell2, Int_t nB)
void addCell(Short_t cell)
void addCellClus(Short_t cell)
void addCellCutS(Short_t cell)
void addCellInClust(Short_t cell)
void addCellTot(Short_t cell)
static TClass* Class()
void clear()
void delCanvas()
void delCanvXYlist()
void drawCanvas()
void drawCanvXYefficiency()
void drawCanvXYlist()
void drawCanvXYnHits()
void drawCanvXYprob()
void drawCanvXYsingle()
void drawHistEff()
void drawHistSing()
void drawNHits()
void drawProbabilitis()
void drawTotNhits()
void fillHists()
Int_t getCellStat(Short_t cell)
void getEffCells(HMdcEff* efficiency, Short_t fCell = -1000, Short_t lCell = 1000)
void getEffXY(HMdcEff* efficiency)
void getEffXY(HMdcEff* efficiency, Short_t xBin, Short_t yBin)
void getEffXY(HMdcEff* efficiency, Short_t fXbin, Short_t lXbin, Short_t fYbin, Short_t lYbin)
Short_t getN0Hit(Short_t cell)
Short_t getN1Hit(Short_t cell)
Short_t getN2Hit(Short_t cell)
Short_t getNumCells()
UChar_t getNumClCell(Short_t cell)
virtual TClass* IsA() const
HMdcEfficiencyLayer& operator=(const HMdcEfficiencyLayer&)
void setBiningXY(Int_t nBinsSum)
void setListPads(Int_t* listPad)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void updateCanv()
void updateCanvXYlist()
protected:
Short_t sector
Short_t module
Short_t layer
Short_t is
Short_t nCells
Int_t* nCellTot Total num. times cell was fired (without cut)
Int_t* nCellCutS Total num. times cell was fired (with cut ~common stop)
Int_t* nCellStat Total num. times cell was fired (after cut)
Int_t* nCellsClus cells which have a part in clusters
Int_t* n0 n0[cell number] num. times cell was not fired
Int_t* n1 n1[cell number] num. single hits (the cell was fired
Int_t* n2 n2[cell number] num. double hits (this cell and
HMdcEff eff
TH1F* hists[13]
Int_t nPads
Int_t listPads[5]
TCanvas* canvEff
TString nameCanv
TString titleCanv
HMdcEff effXY
TCanvas* canvXY[3]
TString nameCanvXY[3]
TString titleCanvXY[3]
TPaveText titlePadXY[3]
Int_t indDrawTitXY[3]
Int_t nBinsSumXY
Int_t n0xy[256]
Int_t n1xy[256]
Int_t n2xy[256]
TPaveText pvTxEffXY[3][256]
UChar_t indDrawPv[3][256]
UChar_t* nClustCell nClustCell[nCell] - num. of clusters for cell=nCell
TString fileName
HMdcEfficiency
Estimation of MDC efficiency.
Use macros mdcEfficiency.C
HMdcEfficiencyLayer(Short_t sec, Short_t mod,
Short_t lay)
constructor creates an array of pointers of type
HMdcEfficiencyLayer
~HMdcEfficiencyLayer()
void clear(void)
void createHists(void)
void addCellInClust(Short_t cell)
void addCellTot(Short_t cell)
void addCellCutS(Short_t cell)
void addCellClus(Short_t cell)
void addCell(Short_t cell)
Int_t getCellStat(Short_t cell)
void add0Hit(Short_t cell, Int_t nB)
void add1Hit(Short_t cell, Int_t nB)
void add2Hit(Short_t cell1, Short_t cell2, Int_t nB)
void getEffCells(HMdcEff* efficiency,
Short_t fCell, Short_t lCell)
Calculating of avarage value of efficiency (eff +/- errEff)
and fraction of singles hits (singles +/- errSingles)
for cells fCell, fCell+1, ... lCell (for lCell-fCell+1 cells).
getEfficiency(fCell) -
- for cell number fCell
getEfficiency() -
- for all cells in layers.
void getEffXY(HMdcEff* efficiency)
Calculation of efficiency of MDC layer.
void getEffXY(HMdcEff* efficiency,
Short_t xBin, Short_t yBin)
Calculation of efficiency of MDC for bin (xBin:yBin).
void getEffXY(HMdcEff* efficiency,
Short_t fXbin, Short_t lXbin,
Short_t fYbin, Short_t lYbin)
Calculation of efficiency of MDC ragion
(MDC is divided on 16x16 bins).
Region: fXbin <= x <= lXbin, fYbin <= y <= lYbin
void fillHists(void)
void setTitle(TH1F* &hist, Char_t* nm)
void drawTotNhits(void)
void drawNHits(void)
void drawHistEff(void)
Drawing of the efficiency.
void drawHistSing(void)
Drawing of the fraction of single hits.
void drawProbabilitis(void)
Drawing of the probabilities.
void drawLineTot(TH1F* hst, Int_t color, Float_t eff,
Float_t errEff)
void setListPads(Int_t* listPad)
void creatCanvas(void)
void setPads(void)
void updateCanv(void)
void drawCanvas(void)
void delCanvas(void)
void setPavesXY(void)
void setBiningXY(Int_t nBinsSum)
void drawCanvXYlist(void)
void updateCanvXYlist(void)
void delCanvXYlist(void)
void fillPaveXYnHits(Int_t nPv)
void fillPaveXYeff(Int_t nPv)
void fillPaveXYsing(Int_t nPv)
void drawCanvXY(Int_t indUpDr)
indUpDr=0 - draw canv
indUpDr=1 - update
Inline Functions
UChar_t getNumClCell(Short_t cell)
Short_t getNumCells()
Short_t getN0Hit(Short_t cell)
Short_t getN1Hit(Short_t cell)
Short_t getN2Hit(Short_t cell)
void drawCanvXYnHits()
void drawCanvXYefficiency()
void drawCanvXYsingle()
void drawCanvXYprob()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcEfficiencyLayer HMdcEfficiencyLayer(const HMdcEfficiencyLayer&)
HMdcEfficiencyLayer& operator=(const HMdcEfficiencyLayer&)
Author: V.Pechenov
Last update: 15.06.2002 by V. Pechenov
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.