24#include "FairRootManager.h"
27#include "TClonesArray.h"
31#include "TGraphAsymmErrors.h"
36#include "TProfile2D.h"
118 auto SetRange = [](std::array<double, 2>& range,
double min,
double max) {
123 SetRange(
fRHitDx, 0.0000, 0.0050);
124 SetRange(
fRHitDy, 0.0000, 0.0200);
125 SetRange(
fRHitDu, 0.0000, 0.0050);
126 SetRange(
fRHitDv, 0.0000, 0.0050);
127 SetRange(
fRHitDt, 0.0000, 10.000);
129 SetRange(
fRResX, -0.02, 0.02);
130 SetRange(
fRResY, -0.10, 0.10);
131 SetRange(
fRResU, -0.02, 0.02);
132 SetRange(
fRResV, -0.02, 0.02);
133 SetRange(
fRResT, -25.0, 25.0);
145 int nDigis = pCluster->GetNofDigis();
155 int nDigis = pCluster->GetNofDigis();
174 if (initStatus != kSUCCESS) {
180 fpClusters =
dynamic_cast<TClonesArray*
>(FairRootManager::Instance()->GetObject(
"StsCluster"));
181 LOG_IF(fatal, !
fpClusters) <<
"\033[1;31m" << fName <<
": container of hit clusters in STS is not found\033[0m";
188 for (
int iSt = 0; iSt <= nSt; ++iSt) {
189 TString tsuff = (iSt == nSt) ?
"" : Form(
" in STS station %d", iSt);
190 fvph_hit_du[iSt]->SetTitle((TString)
"Hit position error across front strips" + tsuff);
191 fvph_hit_dv[iSt]->SetTitle((TString)
"Hit position error across back strips" + tsuff);
192 fvph_hit_kuv[iSt]->SetTitle((TString)
"Hit error correlation between front and back strips" + tsuff);
194 fvph_res_u[iSt]->SetTitle((TString)
"Residuals for Front strip coordinate" + tsuff);
195 fvph_res_v[iSt]->SetTitle((TString)
"Residuals for Back strip coordinate" + tsuff);
196 fvph_pull_u[iSt]->SetTitle((TString)
"Pulls for Front strip coordinate" + tsuff);
197 fvph_pull_v[iSt]->SetTitle((TString)
"Pulls for Back strip coordinate" + tsuff);
198 fvph_res_u_vs_u[iSt]->SetTitle((TString)
"Residuals for Front strip coordinate" + tsuff);
199 fvph_res_v_vs_v[iSt]->SetTitle((TString)
"Residuals for Back strip coordinate" + tsuff);
200 fvph_pull_u_vs_u[iSt]->SetTitle((TString)
"Pulls for Front strip coordinate" + tsuff);
201 fvph_pull_v_vs_v[iSt]->SetTitle((TString)
"Pulls for Back strip coordinate" + tsuff);
210 TString sN =
"All stations/pull/Ndigi/pull_u_";
211 TString sT =
"Pulls for Front strip coordinate, hits with ";
217 sN += Form(
"%d_digi", idig);
218 sT += Form(
"%d digi", idig);
220 sT +=
"; (u_{reco} - u_{MC}) / #sigma_{u}^{reco}";
225 TString sN =
"All stations/pull/Ndigi/pull_v_";
226 TString sT =
"Pulls for Back strip coordinate, hits with ";
232 sN += Form(
"%d_digi", idig);
233 sT += Form(
"%d digi", idig);
235 sT +=
"; (v_{reco} - v_{MC}) / #sigma_{v}^{reco}";
Definition of the CbmQaCanvas class.
Definition of CbmQaTable class.
Useful utilities for CBM QA tasks.
Data class for STS clusters.
Data class for a reconstructed hit in the STS.
friend fscal max(fscal x, fscal y)
friend fscal min(fscal x, fscal y)
T * MakeQaObject(TString sName, TString sTitle, Args... args)
void StoreCheckResult(const std::string &tag, bool result, const std::string &msg="")
Data class for STS clusters.
data class for a reconstructed 3-d hit in the STS
void SetLargeStats(TH1 *pHist)
Set large stat. window.