CbmRoot
|
#include <CbmTrdHitRateFastQa.h>
Public Member Functions | |
CbmTrdHitRateFastQa () | |
CbmTrdHitRateFastQa (const char *name, const char *title="CBM Task") | |
virtual | ~CbmTrdHitRateFastQa () |
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, TCanvas *&c3, TH2F *&Layer, TH1F *&HitPad, Double_t ZRangeL, Double_t ZRangeU, Double_t mm2bin) |
void | ScanModulePlane (const Int_t moduleId, TCanvas *&c1, TCanvas *&c2, TH1F *&HitPad, TH1F *&HitAsic) |
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 | GetModuleInformation () |
void | Histo (HitRateGeoPara2 *GeoPara, Bool_t Fast, TH2F *Layer, TCanvas *c1, TH1F *HitPad, TCanvas *c2, TH2F *Topview[3], TCanvas *c0, Double_t mm2bin) |
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 | 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) |
void | DrawBorders (HitRateGeoPara2 *GeoPara, TH2F *Layer, TCanvas *c1) |
void | DrawPads (HitRateGeoPara2 *GeoPara, TH2F *Layer, TCanvas *c1) |
void | DrawDigi () |
CbmTrdHitRateFastQa (const CbmTrdHitRateFastQa &) | |
iterator over array above More... | |
CbmTrdHitRateFastQa & | operator= (const CbmTrdHitRateFastQa &) |
Private Attributes | |
std::ofstream | myfile |
Int_t | nTotalAsics |
Int_t | nTotalOptLinks |
Double_t | trdTotalDataRate |
TH1F * | h1DataModule |
TH1F * | h1OptLinksModule |
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... | |
CbmTrdParSetAsic * | fAsicPar |
MC Track information. More... | |
CbmTrdParSetDigi * | fDigiPar |
CbmTrdParSetGeo * | fGeoPar |
CbmTrdGeoHandler * | fGeoHandler |
std::vector< Int_t > | fColors |
std::vector< Double_t > | fZLevel |
Double_t | fBitPerHit |
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 |
Definition at line 53 of file CbmTrdHitRateFastQa.h.
CbmTrdHitRateFastQa::CbmTrdHitRateFastQa | ( | ) |
Default constructor
Definition at line 55 of file CbmTrdHitRateFastQa.cxx.
CbmTrdHitRateFastQa::CbmTrdHitRateFastQa | ( | const char * | name, |
const char * | title = "CBM Task" |
||
) |
Standard constructor
Definition at line 60 of file CbmTrdHitRateFastQa.cxx.
|
virtual |
Destructor
Definition at line 137 of file CbmTrdHitRateFastQa.cxx.
|
private |
iterator over array above
|
private |
Definition at line 1417 of file CbmTrdHitRateFastQa.cxx.
References HitRateGeoPara2::cosX, HitRateGeoPara2::cosY, exp(), HitRateGeoPara2::lambda, sqrt(), HitRateGeoPara2::vN, x, and y.
Referenced by Histo().
|
private |
Definition at line 1389 of file CbmTrdHitRateFastQa.cxx.
References exp(), fabs(), sqrt(), x, and y.
Referenced by ScanModulePlane().
|
private |
Definition at line 1735 of file CbmTrdHitRateFastQa.cxx.
References fDraw, HitRateGeoPara2::mPos, HitRateGeoPara2::mSize, HitRateGeoPara2::nSec, HitRateGeoPara2::sSize, and HitRateGeoPara2::stepDirection.
Referenced by GetModuleInformationFromDigiPar().
|
private |
Definition at line 1891 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 1817 of file CbmTrdHitRateFastQa.cxx.
References HitRateGeoPara2::mPos, HitRateGeoPara2::mSize, HitRateGeoPara2::nCol, HitRateGeoPara2::nRow, HitRateGeoPara2::pSize, HitRateGeoPara2::sCol, and HitRateGeoPara2::sRow.
Referenced by GetModuleInformationFromDigiPar().
|
virtual |
Executed task
Definition at line 217 of file CbmTrdHitRateFastQa.cxx.
References fBitPerHit, fColors, fDigiPar, fDraw, fLayer, fPlane, fStation, fZLevel, CbmTrdAddress::GetLayerId(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetNrOfModules(), h1DataModule, h1OptLinksModule, HistoInit(), i, myfile, nTotalAsics, nTotalOptLinks, ScanModulePlane(), tFile, trdTotalDataRate, and winsize.
|
virtual |
Finish (called after each event)
Definition at line 935 of file CbmTrdHitRateFastQa.cxx.
References fDigiCollection, fDigiMap, and fDigiMatchCollection.
|
inlinevirtual |
Finish task (called after all event)
Definition at line 77 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 943 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 983 of file CbmTrdHitRateFastQa.cxx.
References HitRateGeoPara2::cosX, HitRateGeoPara2::cosY, DrawBorders(), DrawPads(), fabs(), fDigiPar, fDraw, fGeoPar, fLayer, fStation, CbmTrdParSet::GetModulePar(), CbmTrdParModDigi::GetNofColumns(), CbmTrdParModDigi::GetNofColumnsInSector(), CbmTrdParModDigi::GetNofRows(), CbmTrdParModDigi::GetNofRowsInSector(), CbmTrdParModDigi::GetNofSectors(), CbmTrdParModDigi::GetOrientation(), CbmTrdParModDigi::GetPosition(), CbmTrdParModDigi::GetSectorSizeX(), CbmTrdParModDigi::GetSectorSizeY(), CbmTrdParModDigi::GetSizeX(), CbmTrdParModDigi::GetSizeY(), CbmTrdParModGeo::GetX(), CbmTrdParModGeo::GetY(), CbmTrdParModGeo::GetZ(), Histo(), i, HitRateGeoPara2::lambda, HitRateGeoPara2::layerId, HitRateGeoPara2::moduleId, HitRateGeoPara2::mPos, HitRateGeoPara2::mSize, HitRateGeoPara2::nCol, HitRateGeoPara2::nRow, HitRateGeoPara2::nSec, HitRateGeoPara2::pSize, HitRateGeoPara2::rot_angle, HitRateGeoPara2::sCol, sqrt(), HitRateGeoPara2::sRow, HitRateGeoPara2::sSize, HitRateGeoPara2::stationId, HitRateGeoPara2::stepDirection, HitRateGeoPara2::vN, HitRateGeoPara2::vOrigin, HitRateGeoPara2::vX, and HitRateGeoPara2::vY.
|
private |
Definition at line 1479 of file CbmTrdHitRateFastQa.cxx.
References CalcHitRate(), HitRateGeoPara2::cosX, HitRateGeoPara2::cosY, i, HitRateGeoPara2::moduleId, HitRateGeoPara2::mPos, HitRateGeoPara2::mSize, HitRateGeoPara2::nCol, HitRateGeoPara2::nRow, HitRateGeoPara2::pSize, HitRateGeoPara2::sCol, HitRateGeoPara2::sRow, HitRateGeoPara2::stepDirection, HitRateGeoPara2::vOrigin, and winsize.
Referenced by GetModuleInformationFromDigiPar().
|
private |
|
virtual |
Definition at line 180 of file CbmTrdHitRateFastQa.cxx.
References fGeoHandler, fMCStacks, fTrdPoints, and CbmTrdGeoHandler::Init().
|
private |
void CbmTrdHitRateFastQa::Register | ( | ) |
Definition at line 1896 of file CbmTrdHitRateFastQa.cxx.
|
virtual |
Initialisation
Definition at line 163 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 628 of file CbmTrdHitRateFastQa.cxx.
References CalcHitRatePad(), fAsicPar, fBitPerHit, fColors, fDigiPar, fGeoPar, fZLevel, CbmTrdAddress::GetAddress(), CbmTrdParSetAsic::GetAsicAddress(), CbmTrdParSetAsic::GetAsicAddresses(), CbmTrdParSetAsic::GetAsicPar(), CbmTrdUtils::GetColorCode(), CbmTrdAddress::GetLayerId(), CbmTrdAddress::GetModuleId(), CbmTrdParSet::GetModulePar(), CbmTrdParSetAsic::GetModuleSet(), CbmTrdParSetAsic::GetNofAsics(), CbmTrdParModDigi::GetNofColumnsInSector(), CbmTrdParModDigi::GetNofRowsInSector(), CbmTrdParModDigi::GetNofSectors(), CbmTrdParModDigi::GetOrientation(), CbmTrdParModDigi::GetPosition(), CbmTrdParAsic::GetSizeX(), CbmTrdParModDigi::GetSizeX(), CbmTrdParAsic::GetSizeY(), CbmTrdParModDigi::GetSizeY(), CbmTrdParModGeo::GetX(), CbmTrdParAsic::GetX(), CbmTrdParModGeo::GetY(), CbmTrdParAsic::GetY(), CbmTrdParModGeo::GetZ(), h1DataModule, h1OptLinksModule, i, CbmTrdUtils::InitColorVector(), myfile, nTotalAsics, nTotalOptLinks, and trdTotalDataRate.
Referenced by Exec().
|
virtual |
Definition at line 148 of file CbmTrdHitRateFastQa.cxx.
|
staticprivate |
Definition at line 195 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 160 of file CbmTrdHitRateFastQa.h.
|
private |
MC Track information.
Definition at line 239 of file CbmTrdHitRateFastQa.h.
Referenced by ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 247 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 170 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 170 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 171 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 245 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 221 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 221 of file CbmTrdHitRateFastQa.h.
|
private |
|
private |
map to store digis for pair of x,y position in module
Definition at line 250 of file CbmTrdHitRateFastQa.h.
Referenced by FinishEvent().
|
private |
iterator over map to store digis for pair of x,y position in module
Definition at line 253 of file CbmTrdHitRateFastQa.h.
|
private |
|
private |
Definition at line 240 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformationFromDigiPar(), ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 164 of file CbmTrdHitRateFastQa.h.
Referenced by DrawBorders(), Exec(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 230 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 211 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 212 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 213 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 243 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 241 of file CbmTrdHitRateFastQa.h.
Referenced by GetModuleInformationFromDigiPar(), ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 168 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformation(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 174 of file CbmTrdHitRateFastQa.h.
|
private |
Corresponding MCPoints to TRD digis.
Definition at line 237 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 173 of file CbmTrdHitRateFastQa.h.
Definition at line 224 of file CbmTrdHitRateFastQa.h.
|
staticprivate |
Definition at line 196 of file CbmTrdHitRateFastQa.h.
|
staticprivate |
Definition at line 197 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 219 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 217 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 220 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 218 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 166 of file CbmTrdHitRateFastQa.h.
Referenced by Exec().
|
private |
Definition at line 214 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 215 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 228 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 228 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 172 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 172 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 172 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 193 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 167 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformation(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 234 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 192 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 191 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 246 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 183 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 182 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 179 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 178 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 188 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 187 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 94 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 95 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 181 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 180 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 177 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 176 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 186 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 185 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 209 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 88 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 90 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 91 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 208 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 162 of file CbmTrdHitRateFastQa.h.
Referenced by Exec().
|
private |
Definition at line 92 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().