5#ifndef CBMTRDHITRATEFASTQA_H_
6#define CBMTRDHITRATEFASTQA_H_
72 virtual InitStatus
ReInit();
73 virtual InitStatus
Init();
77 virtual void Exec(Option_t* option);
103 void HistoInit(TCanvas*& c1, TCanvas*& c2, TCanvas*& c3, TH2F*& Layer, TH1F*& HitPad, Double_t ZRangeL,
104 Double_t ZRangeU, Double_t mm2bin);
106 void ScanModulePlane(
const Int_t moduleId, TCanvas*& c1, TCanvas*& c2, TH1F*& HitPad, TH1F*& HitAsic);
109 TCanvas* c1, TH1F* HitPad, TCanvas* c2, TH2F* Topview[3], TCanvas* c0,
114 void Histo(
HitRateGeoPara2* GeoPara, Bool_t Fast, TH2F* Layer, TCanvas* c1, TH1F* HitPad, TCanvas* c2,
115 TH2F* Topview[3], TCanvas* c0, Double_t mm2bin);
118 Double_t StopY, Int_t ySteps, Double_t* Mpos, TH2F* Topview[3], TCanvas* c0);
120 Double_t
CalcHitRatePad(
const Double_t x_min,
const Double_t x_max,
const Double_t y_min,
const Double_t y_max,
struct HitRateGeoPara2 HitRateGeoPara2
Double_t CalcHitRate(HitRateGeoPara2 *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)
Double_t global_meanLL[3]
CbmTrdParSetAsic * fAsicPar
MC Track information.
virtual InitStatus Init()
TClonesArray * fMCStacks
Corresponding MCPoints to TRD digis.
virtual void FinishTask()
Double_t CalcHitRatePad(const Double_t x_min, const Double_t x_max, const Double_t y_min, const Double_t y_max, const Double_t z)
CbmTrdHitRateFastQa & operator=(const CbmTrdHitRateFastQa &)
void GetModuleInformation()
virtual ~CbmTrdHitRateFastQa()
Double_t trdTotalDataRate
std::vector< Int_t > fColors
CbmTrdParSetDigi * fDigiPar
void GetModuleInformationFromDigiPar(HitRateGeoPara2 *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 ScanModulePlane(const Int_t moduleId, TCanvas *&c1, TCanvas *&c2, TH1F *&HitPad, TH1F *&HitAsic)
void HistoInit(TCanvas *&c1, TCanvas *&c2, TCanvas *&c3, TH2F *&Layer, TH1F *&HitPad, Double_t ZRangeL, Double_t ZRangeU, Double_t mm2bin)
CbmTrdHitRateFastQa(const CbmTrdHitRateFastQa &)
iterator over array above
std::map< std::pair< Int_t, std::pair< Int_t, Int_t > >, CbmTrdDigi * >::iterator fDigiMapIt
void Histo(HitRateGeoPara2 *GeoPara, Bool_t Fast, TH2F *Layer, TCanvas *c1, TH1F *HitPad, TCanvas *c2, TH2F *Topview[3], TCanvas *c0, Double_t mm2bin)
virtual InitStatus ReInit()
Float_t fPadCharge[fPadNrY][fPadNrX]
TClonesArray * fDigiCollection
Trd MC points.
CbmTrdParSetGeo * fGeoPar
virtual void FinishEvent()
virtual void SetParContainers()
static const Int_t accuracy
CbmTrdGeoHandler * fGeoHandler
static const Int_t fPadNrY
static const Int_t fPadNrX
std::map< std::pair< Int_t, std::pair< Int_t, Int_t > >, CbmTrdDigi * > fDigiMap
TClonesArray * fDigiMatchCollection
TRD digis.
TClonesArray * fTrdPoints
void DrawBorders(HitRateGeoPara2 *GeoPara, TH2F *Layer, TCanvas *c1)
void DrawPads(HitRateGeoPara2 *GeoPara, TH2F *Layer, TCanvas *c1)
virtual void Exec(Option_t *option)
std::vector< Double_t > fZLevel
Float_t fPRFHitPositionLL
Describe TRD module ASIC settings (electronic gain, delays, etc)