Skip to content
Snippets Groups Projects
Commit 717d5ae5 authored by Alexandru Bercuci's avatar Alexandru Bercuci
Browse files

add recoQA task to the QA tests. Remove Rich QA [legacy] .

parent 61d3419f
No related branches found
No related tags found
1 merge request!1871alignment matrices for mCBM24 Ni-Ni [3105]
Pipeline #30255 failed
...@@ -25,14 +25,14 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105, ...@@ -25,14 +25,14 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105,
Bool_t bTRD = kTRUE, Bool_t bTRD = kTRUE,
Bool_t bTRD2d = kTRUE, Bool_t bTRD2d = kTRUE,
Bool_t bRICH = kTRUE, Bool_t bRICH = kTRUE,
Bool_t bMUCH = kTRUE, Bool_t bMUCH = kFALSE,
Bool_t bTOF = kTRUE, Bool_t bTOF = kTRUE,
Bool_t bTOFtr = kTRUE, Bool_t bTOFtr = kFALSE,
Bool_t bPSD = kFALSE, Bool_t bPSD = kFALSE,
Bool_t bAli = kTRUE, Bool_t bAli = kTRUE,
Bool_t bEvB = kTRUE, Bool_t bEvB = kTRUE,
Bool_t bL1 = kFALSE, Bool_t bL1 = kTRUE,
Bool_t bQA = kFALSE, Bool_t bQA = kTRUE,
Bool_t bFSD = kFALSE, Bool_t bFSD = kFALSE,
TString sInpFile = "" TString sInpFile = ""
) )
...@@ -634,24 +634,18 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105, ...@@ -634,24 +634,18 @@ Bool_t mcbm_event_reco_L1(UInt_t uRunId = 3105,
// === QA === // === QA ===
// ========================================================================= // =========================================================================
if (bQA) { if (bQA) {
// e.g for RICH: CbmRecoQaTask* recoQa = new CbmRecoQaTask();
CbmRichMCbmQaReal* qaTask = new CbmRichMCbmQaReal(); recoQa->SetSetupClass(CbmRecoQaTask::kMcbm24);
Int_t taskId = 1; // USER : Uncomment this line if you like to select only track multiplicities 1 and 2 per event
if (taskId < 0) { // recoQa->AddEventFilter(CbmRecoQaTask::EventFilter::eEventCut::kMultTrk)->SetFilter({1, 2});
qaTask->SetOutputDir(Form("result_run%d", uRunId)); // USER : All track cuts are EXCLUSIVE (they ALL have to be met in order that tracks are selected)
} // USER : Uncomment this line if you like to select ONLY tracks with AT LEAST 3 STS hits
else { // recoQa->AddTrackFilter(CbmRecoQaTask::TrackFilter::eTrackCut::kSts)->SetFilter({3});
qaTask->SetOutputDir(Form("result_run%d_%05d", uRunId, taskId)); // USER : Uncomment this line if you like to select ONLY tracks with AT LEAST 2 TRD hits
} // recoQa->AddTrackFilter(CbmRecoQaTask::TrackFilter::eTrackCut::kTrd)->SetFilter({2});
//qaTask->XOffsetHistos(+25.0); // USER : Uncomment this line if you like to select ONLY tracks with AT LEAST 1 ToF hit
qaTask->XOffsetHistos(-4.1); // recoQa->AddTrackFilter(CbmRecoQaTask::TrackFilter::eTrackCut::kTof)->SetFilter({1});
if (uRunId > 2351) qaTask->XOffsetHistos(0.0); run->AddTask(recoQa);
qaTask->SetMaxNofDrawnEvents(100);
qaTask->SetTotRich(23.7, 30.0);
qaTask->SetTriggerRichHits(eb_TriggerMinNumberRich);
qaTask->SetTriggerTofHits(0); // eb_TriggerMinNumberTof);
qaTask->SetSEDisplayRingOnly();
run->AddTask(qaTask);
} }
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment