@@ -30,7 +30,10 @@ namespace o2::quality_control_modules::its
3030Quality ITSChipStatusCheck::check (std::map<std::string, std::shared_ptr<MonitorObject>>* moMap)
3131{
3232
33- // limits to be used as "X,Y" --> BAD if at least X FFEIDs have at least Y chips each into error
33+ // "bin1,bin2,bin3,..." not to be checked on the TH2Poly stave overview
34+ std::vector<int > skipbinsStaveOverview = convertToArray<int >(o2::quality_control_modules::common::getFromConfig<std::string>(mCustomParameters , " skipbinsStaveOverview" , " " ));
35+
36+ // limits to be used as "X,Y" --> BAD if at least X FFEIDs have at least a fraction Y of chips each into error
3437 std::vector<float > feeidlimitsIB = convertToArray<float >(o2::quality_control_modules::common::getFromConfig<std::string>(mCustomParameters , " feeidlimitsIB" , " " ));
3538 std::vector<float > feeidlimitsML = convertToArray<float >(o2::quality_control_modules::common::getFromConfig<std::string>(mCustomParameters , " feeidlimitsML" , " " ));
3639 std::vector<float > feeidlimitsOL = convertToArray<float >(o2::quality_control_modules::common::getFromConfig<std::string>(mCustomParameters , " feeidlimitsOL" , " " ));
@@ -64,6 +67,9 @@ Quality ITSChipStatusCheck::check(std::map<std::string, std::shared_ptr<MonitorO
6467 }
6568 for (int ilayer = 0 ; ilayer < NLayer; ilayer++) {
6669 for (int ibin = StaveBoundary[ilayer] + 1 ; ibin <= StaveBoundary[ilayer + 1 ]; ++ibin) {
70+ if (std::find (skipbinsStaveOverview.begin (), skipbinsStaveOverview.end (), ibin) != skipbinsStaveOverview.end ()) {
71+ continue ;
72+ }
6773 if (abs (h->GetBinContent (ibin) - 1 ) < 0.01 ) {
6874 result = Quality::Bad;
6975 TString text = Form (" BAD: At least one stave is without data" );
0 commit comments