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 | |
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. | |
TClonesArray * | fDigiMatchCollection |
TRD digis. | |
TClonesArray * | fMCStacks |
Corresponding MCPoints to TRD digis. | |
CbmTrdParSetAsic * | fAsicPar |
MC Track information. | |
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 59 of file CbmTrdHitRateFastQa.h.
CbmTrdHitRateFastQa::CbmTrdHitRateFastQa | ( | ) |
Default constructor
Definition at line 61 of file CbmTrdHitRateFastQa.cxx.
CbmTrdHitRateFastQa::CbmTrdHitRateFastQa | ( | const char * | name, |
const char * | title = "CBM Task" ) |
Standard constructor
Definition at line 65 of file CbmTrdHitRateFastQa.cxx.
|
virtual |
Destructor
Definition at line 144 of file CbmTrdHitRateFastQa.cxx.
|
private |
iterator over array above
|
private |
Definition at line 1302 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 1277 of file CbmTrdHitRateFastQa.cxx.
References exp(), sqrt(), x, and y.
Referenced by ScanModulePlane().
|
private |
Definition at line 1550 of file CbmTrdHitRateFastQa.cxx.
References fDraw, HitRateGeoPara2::mPos, HitRateGeoPara2::mSize, HitRateGeoPara2::nSec, HitRateGeoPara2::sSize, and HitRateGeoPara2::stepDirection.
Referenced by GetModuleInformationFromDigiPar().
|
private |
Definition at line 1689 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 1623 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
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 228 of file CbmTrdHitRateFastQa.cxx.
References fBitPerHit, fColors, fDigiPar, fDraw, fLayer, fPlane, fStation, fZLevel, CbmTrdAddress::GetLayerId(), CbmTrdParSet::GetModuleId(), CbmTrdParSet::GetNrOfModules(), h1DataModule, h1OptLinksModule, HistoInit(), myfile, nTotalAsics, nTotalOptLinks, ScanModulePlane(), tFile, trdTotalDataRate, and winsize.
|
virtual |
Finish (called after each event)
Definition at line 876 of file CbmTrdHitRateFastQa.cxx.
References fDigiCollection, fDigiMap, and fDigiMatchCollection.
|
inlinevirtual |
Finish task (called after all event)
Definition at line 83 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 885 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 926 of file CbmTrdHitRateFastQa.cxx.
References HitRateGeoPara2::cosX, HitRateGeoPara2::cosY, DrawBorders(), DrawPads(), 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(), 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 1353 of file CbmTrdHitRateFastQa.cxx.
References CalcHitRate(), HitRateGeoPara2::cosX, HitRateGeoPara2::cosY, 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 190 of file CbmTrdHitRateFastQa.cxx.
References fGeoHandler, fMCStacks, fTrdPoints, and CbmTrdGeoHandler::Init().
|
private |
void CbmTrdHitRateFastQa::Register | ( | ) |
Definition at line 1694 of file CbmTrdHitRateFastQa.cxx.
|
virtual |
Initialisation
Definition at line 172 of file CbmTrdHitRateFastQa.cxx.
|
private |
Definition at line 613 of file CbmTrdHitRateFastQa.cxx.
References CalcHitRatePad(), fAsicPar, fBitPerHit, fColors, fDigiPar, fGeoPar, fZLevel, CbmTrdAddress::GetAddress(), CbmTrdParModAsic::GetAsicAddress(), CbmTrdParModAsic::GetAsicAddresses(), CbmTrdParModAsic::GetAsicPar(), CbmTrdUtils::GetColorCode(), CbmTrdAddress::GetLayerId(), CbmTrdAddress::GetModuleId(), CbmTrdParSet::GetModulePar(), CbmTrdParModAsic::GetNofAsics(), CbmTrdParModDigi::GetNofColumnsInSector(), CbmTrdParModDigi::GetNofRowsInSector(), CbmTrdParModDigi::GetNofSectors(), CbmTrdParModDigi::GetOrientation(), CbmTrdParModDigi::GetPosition(), CbmTrdParAsic::GetSizeX(), CbmTrdParModDigi::GetSizeX(), CbmTrdParAsic::GetSizeY(), CbmTrdParModDigi::GetSizeY(), CbmTrdParAsic::GetX(), CbmTrdParModGeo::GetX(), CbmTrdParAsic::GetY(), CbmTrdParModGeo::GetY(), CbmTrdParModGeo::GetZ(), h1DataModule, h1OptLinksModule, CbmTrdUtils::InitColorVector(), myfile, nTotalAsics, nTotalOptLinks, and trdTotalDataRate.
Referenced by Exec().
|
virtual |
Definition at line 156 of file CbmTrdHitRateFastQa.cxx.
|
staticprivate |
Definition at line 164 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 130 of file CbmTrdHitRateFastQa.h.
|
private |
MC Track information.
Definition at line 206 of file CbmTrdHitRateFastQa.h.
Referenced by ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 214 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 140 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 140 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 141 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 212 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 190 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 190 of file CbmTrdHitRateFastQa.h.
|
private |
|
private |
map to store digis for pair of x,y position in module
Definition at line 217 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 219 of file CbmTrdHitRateFastQa.h.
|
private |
|
private |
Definition at line 207 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformationFromDigiPar(), ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 134 of file CbmTrdHitRateFastQa.h.
Referenced by DrawBorders(), Exec(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 197 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 180 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 181 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 182 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 210 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 208 of file CbmTrdHitRateFastQa.h.
Referenced by GetModuleInformationFromDigiPar(), ReInit(), ScanModulePlane(), and SetParContainers().
|
private |
Definition at line 138 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformation(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 144 of file CbmTrdHitRateFastQa.h.
|
private |
Corresponding MCPoints to TRD digis.
Definition at line 204 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 143 of file CbmTrdHitRateFastQa.h.
Definition at line 193 of file CbmTrdHitRateFastQa.h.
|
staticprivate |
Definition at line 165 of file CbmTrdHitRateFastQa.h.
|
staticprivate |
Definition at line 166 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 188 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 186 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 189 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 187 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 136 of file CbmTrdHitRateFastQa.h.
Referenced by Exec().
|
private |
Definition at line 183 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 184 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 195 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 195 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 142 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 142 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 142 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 162 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 137 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), GetModuleInformation(), GetModuleInformationFromDigiPar(), and HistoInit().
|
private |
Definition at line 201 of file CbmTrdHitRateFastQa.h.
Referenced by Init().
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 161 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 213 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 153 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 152 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 149 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 148 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 158 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 157 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 100 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 101 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 151 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 150 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 147 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 146 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 156 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 155 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 178 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 94 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 96 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 97 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().
|
private |
Definition at line 177 of file CbmTrdHitRateFastQa.h.
|
private |
Definition at line 132 of file CbmTrdHitRateFastQa.h.
Referenced by Exec().
|
private |
Definition at line 98 of file CbmTrdHitRateFastQa.h.
Referenced by Exec(), and ScanModulePlane().