From de96ebc9111de277d6460b68d826781a8cdfa691 Mon Sep 17 00:00:00 2001 From: dsilverm Date: Mon, 2 Jul 2012 17:58:07 +0000 Subject: [PATCH] skip checking L1Gamma and L1Jet histos for calib events --- EMCAL/AliEMCALQAChecker.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/EMCAL/AliEMCALQAChecker.cxx b/EMCAL/AliEMCALQAChecker.cxx index 08817d06c58..96b1eafc70c 100644 --- a/EMCAL/AliEMCALQAChecker.cxx +++ b/EMCAL/AliEMCALQAChecker.cxx @@ -162,6 +162,7 @@ void AliEMCALQAChecker::CheckRaws(Double_t * test, TObjArray ** list) Int_t nTowersPerSM = 24*48; // number of towers in a SuperModule; 24x48 Double_t nTot = fgknSM * nTowersPerSM ; TList *lstF = 0; + Int_t calibSpecieId = (Int_t)TMath::Log2( AliRecoParam::kCalib ); for (Int_t specie = 0 ; specie < AliRecoParam::kNSpecies ; specie++) { test[specie] = 0.0 ; if ( !AliQAv1::Instance()->IsEventSpecieSet(specie)) continue ; @@ -226,7 +227,8 @@ void AliEMCALQAChecker::CheckRaws(Double_t * test, TObjArray ** list) } // calib histo checking done //now L1 checks: - if(hL1GammaPatch->GetEntries() !=0) { + if (specie != calibSpecieId) { + if(hL1GammaPatch->GetEntries() !=0 ) { lstF = hL1GammaPatch->GetListOfFunctions(); CleanListOfFunctions(lstF); @@ -315,6 +317,7 @@ void AliEMCALQAChecker::CheckRaws(Double_t * test, TObjArray ** list) } }//fTextL1[1] } // L1 Jet patch checking done + } // if (specie != calibSpecieId) .. if(hFrameR->GetEntries() !=0) { lstF = hFrameR->GetListOfFunctions(); @@ -348,9 +351,9 @@ void AliEMCALQAChecker::CheckRaws(Double_t * test, TObjArray ** list) } }//fTextL1[2] } // Checker for link TRU-STU done - } + } - } + } // specie } //______________________________________________________________________________ -- 2.43.0