Skip to content
Snippets Groups Projects
Commit 31c9dba8 authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau Committed by Pierre-Alain Loizeau
Browse files

Set nb TRD stations in QA macro for SIS300, fixes warning in weekly tests

parent 40b5747a
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,13 @@ void run_qa(TString dataTra = "data/sis100_muon_jpsi_test", TString dataRaw = "d
//run->AddTask(new CbmTrdHitRateQa()); //opens lots of windows
//run->AddTask(new CbmTrdDigitizerPRFQa()); //works put currently doesn't do anything
//run->AddTask(new CbmTrdHitRateFastQa()); //opens lots of windows
run->AddTask(new CbmTrdHitProducerQa());
CbmTrdHitProducerQa* trdHitProducerQa = new CbmTrdHitProducerQa();
if ("sis300_electron" == setup) {
/// Larger number of stations, needed to fit geometry and avoid warning
/// => fast-fix to accomodate the 4+4+2 complexity of tentative SIS300 geometry
trdHitProducerQa->SetNumberStations(10);
}
run->AddTask(trdHitProducerQa);
run->AddTask(new CbmTrdCalibTracker());
run->AddTask(new CbmTrackerInputQaTrd()); // Tracker requirements to TRD
}
......
......@@ -174,7 +174,8 @@ void CbmTrdHitProducerQa::Exec(Option_t*)
const int planeId = trdHit->GetPlaneId();
if (planeId >= fNoTrdStations * fNoTrdPerStation) {
cout << GetName() << ": Warning, TRD plane out of bounds, skipping hit." << endl;
cout << GetName() << ": Warning, TRD plane out of bounds, skipping hit."
<< " (" << planeId << " VS " << fNoTrdStations << " x " << fNoTrdPerStation << ")" << endl;
continue;
}
......
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