CbmRoot
CbmTrdHitRateQa Class Reference

#include <CbmTrdHitRateQa.h>

Inheritance diagram for CbmTrdHitRateQa:
[legend]
Collaboration diagram for CbmTrdHitRateQa:
[legend]

Public Member Functions

 CbmTrdHitRateQa ()
 
 CbmTrdHitRateQa (const char *name, const char *title="CBM Task")
 
virtual ~CbmTrdHitRateQa ()
 
virtual InitStatus ReInit ()
 
virtual InitStatus Init ()
 
virtual void SetParContainers ()
 
virtual void Exec (Option_t *option)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 
void Register ()
 

Private Member Functions

void HistoInit (TCanvas *&c1, TCanvas *&c2, TH2F *&Layer, TH1F *&HitPad, Double_t ZRangeL, Double_t ZRangeU, Double_t mm2bin)
 
void GetModuleInformationFromDigiPar (HitRateGeoPara *GeoPara, Bool_t Fast, Bool_t Lines, Int_t VolumeID, TH2F *Layer, TCanvas *c1, TH1F *HitPad, TCanvas *c2, TH2F *Topview[3], TCanvas *c0, Double_t mm2bin)
 
void GetModuleInformation ()
 
void Histo (HitRateGeoPara *GeoPara, Bool_t Fast, TH2F *Layer, TCanvas *c1, TH1F *HitPad, TCanvas *c2, TH2F *Topview[3], TCanvas *c0, Double_t mm2bin)
 
Double_t CalcHitRate (HitRateGeoPara *GeoPara, Double_t StartX, Double_t StopX, Int_t xSteps, Double_t StartY, Double_t StopY, Int_t ySteps, Double_t *Mpos, TH2F *Topview[3], TCanvas *c0)
 
void DrawBorders (HitRateGeoPara *GeoPara, TH2F *Layer, TCanvas *c1)
 
void DrawPads (HitRateGeoPara *GeoPara, TH2F *Layer, TCanvas *c1)
 
void DrawDigi ()
 
 CbmTrdHitRateQa (const CbmTrdHitRateQa &)
 iterator over array above More...
 
CbmTrdHitRateQaoperator= (const CbmTrdHitRateQa &)
 

Private Attributes

Int_t Digicounter
 
TFile * tFile
 
Bool_t fDraw
 
Int_t fPlane
 
Int_t fStation
 
Int_t fLayer
 
Int_t fCol_mean
 
Int_t fCol_in
 
Int_t fCol_out
 
Int_t fRow_mean
 
Int_t fRow_in
 
Int_t fRow_out
 
Int_t fModuleID
 
Int_t fMCindex
 
Double_t local_meanLL [3]
 
Double_t local_meanC [3]
 
Double_t global_meanLL [3]
 
Double_t global_meanC [3]
 
Double_t local_inLL [3]
 
Double_t local_inC [3]
 
Double_t global_inLL [3]
 
Double_t global_inC [3]
 
Double_t local_outLL [3]
 
Double_t local_outC [3]
 
Double_t global_outLL [3]
 
Double_t global_outC [3]
 
Float_t fx_in
 
Float_t fx_out
 
Float_t fy_in
 
Float_t fy_out
 
Float_t fz_in
 
Float_t fz_out
 
Float_t fx_mean
 
Float_t fy_mean
 
Float_t fz_mean
 
Int_t fSector
 
Double_t padsize [3]
 
Double_t modulesize [3]
 
Float_t fELoss
 
Float_t fELossdEdX
 
Float_t fELossTR
 
Float_t fPosXLL
 
Float_t fPosYLL
 
Float_t fPadPosxLL
 
Float_t fPadPosyLL
 
Float_t fPadPosxC
 
Float_t fPadPosyC
 
Float_t fDeltax
 
Float_t fDeltay
 
Float_t fPadCharge [fPadNrY][fPadNrX]
 
Float_t fPRFHitPositionLL
 
Float_t fPRFHitPositionC
 
Float_t fEfficiency
 
TClonesArray * fTrdPoints
 
TClonesArray * fDigiCollection
 Trd MC points. More...
 
TClonesArray * fDigiMatchCollection
 TRD digis. More...
 
TClonesArray * fMCStacks
 Corresponding MCPoints to TRD digis. More...
 
CbmTrdParSetAsicfAsicPar
 MC Track information. More...
 
CbmTrdParSetDigifDigiPar
 
CbmTrdParSetGeofGeoPar
 
CbmTrdGeoHandlerfGeoHandler
 
std::map< std::pair< Int_t, std::pair< Int_t, Int_t > >, CbmTrdDigi * > fDigiMap
 
std::map< std::pair< Int_t, std::pair< Int_t, Int_t > >, CbmTrdDigi * >::iterator fDigiMapIt
 

Static Private Attributes

static const Int_t accuracy = 1
 
static const Int_t fPadNrX = 7
 
static const Int_t fPadNrY = 5
 

Detailed Description

Definition at line 52 of file CbmTrdHitRateQa.h.

Constructor & Destructor Documentation

◆ CbmTrdHitRateQa() [1/3]

CbmTrdHitRateQa::CbmTrdHitRateQa ( )

Default constructor

Definition at line 47 of file CbmTrdHitRateQa.cxx.

◆ CbmTrdHitRateQa() [2/3]

CbmTrdHitRateQa::CbmTrdHitRateQa ( const char *  name,
const char *  title = "CBM Task" 
)

Standard constructor

Definition at line 51 of file CbmTrdHitRateQa.cxx.

◆ ~CbmTrdHitRateQa()

CbmTrdHitRateQa::~CbmTrdHitRateQa ( )
virtual

Destructor

Definition at line 119 of file CbmTrdHitRateQa.cxx.

◆ CbmTrdHitRateQa() [3/3]

CbmTrdHitRateQa::CbmTrdHitRateQa ( const CbmTrdHitRateQa )
private

iterator over array above

Member Function Documentation

◆ CalcHitRate()

Double_t CbmTrdHitRateQa::CalcHitRate ( HitRateGeoPara GeoPara,
Double_t  StartX,
Double_t  StopX,
Int_t  xSteps,
Double_t  StartY,
Double_t  StopY,
Int_t  ySteps,
Double_t *  Mpos,
TH2F *  Topview[3],
TCanvas *  c0 
)
private

◆ DrawBorders()

void CbmTrdHitRateQa::DrawBorders ( HitRateGeoPara GeoPara,
TH2F *  Layer,
TCanvas *  c1 
)
private

◆ DrawDigi()

void CbmTrdHitRateQa::DrawDigi ( )
private

Definition at line 1476 of file CbmTrdHitRateQa.cxx.

◆ DrawPads()

void CbmTrdHitRateQa::DrawPads ( HitRateGeoPara GeoPara,
TH2F *  Layer,
TCanvas *  c1 
)
private

◆ Exec()

void CbmTrdHitRateQa::Exec ( Option_t *  option)
virtual

◆ FinishEvent()

void CbmTrdHitRateQa::FinishEvent ( )
virtual

Finish (called after each event)

Definition at line 547 of file CbmTrdHitRateQa.cxx.

References fDigiCollection, fDigiMap, and fDigiMatchCollection.

◆ FinishTask()

virtual void CbmTrdHitRateQa::FinishTask ( )
inlinevirtual

Finish task (called after all event)

Definition at line 76 of file CbmTrdHitRateQa.h.

◆ GetModuleInformation()

void CbmTrdHitRateQa::GetModuleInformation ( )
private

Definition at line 555 of file CbmTrdHitRateQa.cxx.

References fLayer, fStation, and pos.

◆ GetModuleInformationFromDigiPar()

◆ Histo()

void CbmTrdHitRateQa::Histo ( HitRateGeoPara GeoPara,
Bool_t  Fast,
TH2F *  Layer,
TCanvas *  c1,
TH1F *  HitPad,
TCanvas *  c2,
TH2F *  Topview[3],
TCanvas *  c0,
Double_t  mm2bin 
)
private

◆ HistoInit()

void CbmTrdHitRateQa::HistoInit ( TCanvas *&  c1,
TCanvas *&  c2,
TH2F *&  Layer,
TH1F *&  HitPad,
Double_t  ZRangeL,
Double_t  ZRangeU,
Double_t  mm2bin 
)
private

Definition at line 478 of file CbmTrdHitRateQa.cxx.

References fDraw, fLayer, fStation, and winsize.

Referenced by Exec().

◆ Init()

InitStatus CbmTrdHitRateQa::Init ( )
virtual

Definition at line 162 of file CbmTrdHitRateQa.cxx.

References fGeoHandler, fMCStacks, fTrdPoints, and CbmTrdGeoHandler::Init().

◆ operator=()

CbmTrdHitRateQa& CbmTrdHitRateQa::operator= ( const CbmTrdHitRateQa )
private

◆ Register()

void CbmTrdHitRateQa::Register ( )

Definition at line 1481 of file CbmTrdHitRateQa.cxx.

◆ ReInit()

InitStatus CbmTrdHitRateQa::ReInit ( )
virtual

Initialisation

Definition at line 145 of file CbmTrdHitRateQa.cxx.

References fAsicPar, fDigiPar, and fGeoPar.

◆ SetParContainers()

void CbmTrdHitRateQa::SetParContainers ( )
virtual

Definition at line 130 of file CbmTrdHitRateQa.cxx.

References fAsicPar, fDigiPar, and fGeoPar.

Member Data Documentation

◆ accuracy

const Int_t CbmTrdHitRateQa::accuracy = 1
staticprivate

Definition at line 172 of file CbmTrdHitRateQa.h.

◆ Digicounter

Int_t CbmTrdHitRateQa::Digicounter
private

Definition at line 137 of file CbmTrdHitRateQa.h.

◆ fAsicPar

CbmTrdParSetAsic* CbmTrdHitRateQa::fAsicPar
private

MC Track information.

Definition at line 216 of file CbmTrdHitRateQa.h.

Referenced by ReInit(), and SetParContainers().

◆ fCol_in

Int_t CbmTrdHitRateQa::fCol_in
private

Definition at line 147 of file CbmTrdHitRateQa.h.

◆ fCol_mean

Int_t CbmTrdHitRateQa::fCol_mean
private

Definition at line 147 of file CbmTrdHitRateQa.h.

◆ fCol_out

Int_t CbmTrdHitRateQa::fCol_out
private

Definition at line 148 of file CbmTrdHitRateQa.h.

◆ fDeltax

Float_t CbmTrdHitRateQa::fDeltax
private

Definition at line 198 of file CbmTrdHitRateQa.h.

◆ fDeltay

Float_t CbmTrdHitRateQa::fDeltay
private

Definition at line 198 of file CbmTrdHitRateQa.h.

◆ fDigiCollection

TClonesArray* CbmTrdHitRateQa::fDigiCollection
private

Trd MC points.

Definition at line 212 of file CbmTrdHitRateQa.h.

Referenced by FinishEvent().

◆ fDigiMap

std::map<std::pair<Int_t, std::pair<Int_t, Int_t> >, CbmTrdDigi*> CbmTrdHitRateQa::fDigiMap
private

map to store digis for pair of x,y position in module

Definition at line 224 of file CbmTrdHitRateQa.h.

Referenced by FinishEvent().

◆ fDigiMapIt

std::map<std::pair<Int_t, std::pair<Int_t, Int_t> >, CbmTrdDigi*>::iterator CbmTrdHitRateQa::fDigiMapIt
private

iterator over map to store digis for pair of x,y position in module

Definition at line 227 of file CbmTrdHitRateQa.h.

◆ fDigiMatchCollection

TClonesArray* CbmTrdHitRateQa::fDigiMatchCollection
private

TRD digis.

Definition at line 213 of file CbmTrdHitRateQa.h.

Referenced by FinishEvent().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdHitRateQa::fDigiPar
private

Definition at line 217 of file CbmTrdHitRateQa.h.

Referenced by Exec(), GetModuleInformationFromDigiPar(), ReInit(), and SetParContainers().

◆ fDraw

Bool_t CbmTrdHitRateQa::fDraw
private

Definition at line 141 of file CbmTrdHitRateQa.h.

Referenced by DrawBorders(), Exec(), GetModuleInformationFromDigiPar(), and HistoInit().

◆ fEfficiency

Float_t CbmTrdHitRateQa::fEfficiency
private

Definition at line 207 of file CbmTrdHitRateQa.h.

◆ fELoss

Float_t CbmTrdHitRateQa::fELoss
private

Definition at line 188 of file CbmTrdHitRateQa.h.

◆ fELossdEdX

Float_t CbmTrdHitRateQa::fELossdEdX
private

Definition at line 189 of file CbmTrdHitRateQa.h.

◆ fELossTR

Float_t CbmTrdHitRateQa::fELossTR
private

Definition at line 190 of file CbmTrdHitRateQa.h.

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdHitRateQa::fGeoHandler
private

Definition at line 220 of file CbmTrdHitRateQa.h.

Referenced by Init().

◆ fGeoPar

CbmTrdParSetGeo* CbmTrdHitRateQa::fGeoPar
private

Definition at line 218 of file CbmTrdHitRateQa.h.

Referenced by GetModuleInformationFromDigiPar(), ReInit(), and SetParContainers().

◆ fLayer

Int_t CbmTrdHitRateQa::fLayer
private

◆ fMCindex

Int_t CbmTrdHitRateQa::fMCindex
private

Definition at line 151 of file CbmTrdHitRateQa.h.

◆ fMCStacks

TClonesArray* CbmTrdHitRateQa::fMCStacks
private

Corresponding MCPoints to TRD digis.

Definition at line 214 of file CbmTrdHitRateQa.h.

Referenced by Init().

◆ fModuleID

Int_t CbmTrdHitRateQa::fModuleID
private

Definition at line 150 of file CbmTrdHitRateQa.h.

◆ fPadCharge

Float_t CbmTrdHitRateQa::fPadCharge[fPadNrY][fPadNrX]
private

Definition at line 201 of file CbmTrdHitRateQa.h.

◆ fPadNrX

const Int_t CbmTrdHitRateQa::fPadNrX = 7
staticprivate

Definition at line 173 of file CbmTrdHitRateQa.h.

◆ fPadNrY

const Int_t CbmTrdHitRateQa::fPadNrY = 5
staticprivate

Definition at line 174 of file CbmTrdHitRateQa.h.

◆ fPadPosxC

Float_t CbmTrdHitRateQa::fPadPosxC
private

Definition at line 196 of file CbmTrdHitRateQa.h.

◆ fPadPosxLL

Float_t CbmTrdHitRateQa::fPadPosxLL
private

Definition at line 194 of file CbmTrdHitRateQa.h.

◆ fPadPosyC

Float_t CbmTrdHitRateQa::fPadPosyC
private

Definition at line 197 of file CbmTrdHitRateQa.h.

◆ fPadPosyLL

Float_t CbmTrdHitRateQa::fPadPosyLL
private

Definition at line 195 of file CbmTrdHitRateQa.h.

◆ fPlane

Int_t CbmTrdHitRateQa::fPlane
private

Definition at line 143 of file CbmTrdHitRateQa.h.

Referenced by Exec().

◆ fPosXLL

Float_t CbmTrdHitRateQa::fPosXLL
private

Definition at line 191 of file CbmTrdHitRateQa.h.

◆ fPosYLL

Float_t CbmTrdHitRateQa::fPosYLL
private

Definition at line 192 of file CbmTrdHitRateQa.h.

◆ fPRFHitPositionC

Float_t CbmTrdHitRateQa::fPRFHitPositionC
private

Definition at line 205 of file CbmTrdHitRateQa.h.

◆ fPRFHitPositionLL

Float_t CbmTrdHitRateQa::fPRFHitPositionLL
private

Definition at line 205 of file CbmTrdHitRateQa.h.

◆ fRow_in

Int_t CbmTrdHitRateQa::fRow_in
private

Definition at line 149 of file CbmTrdHitRateQa.h.

◆ fRow_mean

Int_t CbmTrdHitRateQa::fRow_mean
private

Definition at line 149 of file CbmTrdHitRateQa.h.

◆ fRow_out

Int_t CbmTrdHitRateQa::fRow_out
private

Definition at line 149 of file CbmTrdHitRateQa.h.

◆ fSector

Int_t CbmTrdHitRateQa::fSector
private

Definition at line 170 of file CbmTrdHitRateQa.h.

◆ fStation

Int_t CbmTrdHitRateQa::fStation
private

◆ fTrdPoints

TClonesArray* CbmTrdHitRateQa::fTrdPoints
private

Definition at line 211 of file CbmTrdHitRateQa.h.

Referenced by Init().

◆ fx_in

Float_t CbmTrdHitRateQa::fx_in
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fx_mean

Float_t CbmTrdHitRateQa::fx_mean
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fx_out

Float_t CbmTrdHitRateQa::fx_out
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fy_in

Float_t CbmTrdHitRateQa::fy_in
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fy_mean

Float_t CbmTrdHitRateQa::fy_mean
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fy_out

Float_t CbmTrdHitRateQa::fy_out
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fz_in

Float_t CbmTrdHitRateQa::fz_in
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ fz_mean

Float_t CbmTrdHitRateQa::fz_mean
private

Definition at line 169 of file CbmTrdHitRateQa.h.

◆ fz_out

Float_t CbmTrdHitRateQa::fz_out
private

Definition at line 168 of file CbmTrdHitRateQa.h.

◆ global_inC

Double_t CbmTrdHitRateQa::global_inC[3]
private

Definition at line 160 of file CbmTrdHitRateQa.h.

◆ global_inLL

Double_t CbmTrdHitRateQa::global_inLL[3]
private

Definition at line 159 of file CbmTrdHitRateQa.h.

◆ global_meanC

Double_t CbmTrdHitRateQa::global_meanC[3]
private

Definition at line 156 of file CbmTrdHitRateQa.h.

◆ global_meanLL

Double_t CbmTrdHitRateQa::global_meanLL[3]
private

Definition at line 155 of file CbmTrdHitRateQa.h.

◆ global_outC

Double_t CbmTrdHitRateQa::global_outC[3]
private

Definition at line 165 of file CbmTrdHitRateQa.h.

◆ global_outLL

Double_t CbmTrdHitRateQa::global_outLL[3]
private

Definition at line 164 of file CbmTrdHitRateQa.h.

◆ local_inC

Double_t CbmTrdHitRateQa::local_inC[3]
private

Definition at line 158 of file CbmTrdHitRateQa.h.

◆ local_inLL

Double_t CbmTrdHitRateQa::local_inLL[3]
private

Definition at line 157 of file CbmTrdHitRateQa.h.

◆ local_meanC

Double_t CbmTrdHitRateQa::local_meanC[3]
private

Definition at line 154 of file CbmTrdHitRateQa.h.

◆ local_meanLL

Double_t CbmTrdHitRateQa::local_meanLL[3]
private

Definition at line 153 of file CbmTrdHitRateQa.h.

◆ local_outC

Double_t CbmTrdHitRateQa::local_outC[3]
private

Definition at line 163 of file CbmTrdHitRateQa.h.

◆ local_outLL

Double_t CbmTrdHitRateQa::local_outLL[3]
private

Definition at line 162 of file CbmTrdHitRateQa.h.

◆ modulesize

Double_t CbmTrdHitRateQa::modulesize[3]
private

Definition at line 186 of file CbmTrdHitRateQa.h.

◆ padsize

Double_t CbmTrdHitRateQa::padsize[3]
private

Definition at line 185 of file CbmTrdHitRateQa.h.

◆ tFile

TFile* CbmTrdHitRateQa::tFile
private

Definition at line 139 of file CbmTrdHitRateQa.h.

Referenced by Exec().


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