From 73f560964499de8282b5842b7c38374ef65ebd6f Mon Sep 17 00:00:00 2001 From: masera Date: Sun, 13 Nov 2011 10:53:42 +0000 Subject: [PATCH] Part of the Warning messages changed to AliDebug messages --- ITS/AliITSPlaneEffSPD.cxx | 10 +++++----- ITS/AliITSTrackleterSPDEff.cxx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ITS/AliITSPlaneEffSPD.cxx b/ITS/AliITSPlaneEffSPD.cxx index 6de1135ccf9..af9dec7c85b 100644 --- a/ITS/AliITSPlaneEffSPD.cxx +++ b/ITS/AliITSPlaneEffSPD.cxx @@ -424,10 +424,10 @@ UInt_t AliITSPlaneEffSPD::GetKey(const UInt_t mod, const UInt_t chip, const Bool // get key given a basic block UInt_t key=99999; if(mod>=kNModule || chip>=kNChip) - {AliWarning("GetKey: you asked for a non existing block"); return 99999;} + {AliDebug(1,"GetKey: you asked for a non existing block"); return 99999;} key = mod*kNChip+chip; if(FO) { - if(BCm4>= kNClockPhase) {AliWarning("GetKey: you have asked Fast OR and a non exisiting BC modulo 4"); return 99999;} + if(BCm4>= kNClockPhase) {AliDebug(1,"GetKey: you have asked Fast OR and a non exisiting BC modulo 4"); return 99999;} key += kNModule*kNChip*(BCm4+1); } return key; @@ -441,7 +441,7 @@ UInt_t AliITSPlaneEffSPD::SwitchChipKeyNumbering(UInt_t key) const { // Implemented by valerio.altini@ba.infn.it if(key>=kNModule*kNChip*(kNClockPhase+1)) - {AliWarning("SwitchChipKeyNumbering: you asked for a non existing key"); return 99999;} + {AliDebug(1,"SwitchChipKeyNumbering: you asked for a non existing key"); return 99999;} UInt_t mod=9999,chip=9999,phase=9999; GetModAndChipFromKey(key,mod,chip); if(mod=kNModule*kNChip*(kNClockPhase+1)) {AliError("GetBCm4FromKey: you asked for a non existing key"); return 999;} if(key=kNModule*kNChip) - {AliWarning("GetBlockBoundaries: you asked for a non existing key"); return kFALSE;} + {AliDebug(1,"GetBlockBoundaries: you asked for a non existing key"); return kFALSE;} UInt_t chip=GetChipFromKey(key); zmn=GetLocZFromCol(chip*kNCol); zmx=GetLocZFromCol((chip+1)*kNCol); diff --git a/ITS/AliITSTrackleterSPDEff.cxx b/ITS/AliITSTrackleterSPDEff.cxx index 617eb171054..83952641f5c 100644 --- a/ITS/AliITSTrackleterSPDEff.cxx +++ b/ITS/AliITSTrackleterSPDEff.cxx @@ -412,7 +412,7 @@ AliITSTrackleterSPDEff::Reconstruct(AliStack *pStack, TTree *tRef, Bool_t lbkg) found=FindChip(key, 0, vtx, fClustersLay2[iC2][0],fClustersLay2[iC2][1]); if (!found) { - AliWarning(Form("Reconstruct: cannot find chip prediction on inner layer for cluster %d on the outer layer",iC2)); + AliDebug(1,Form("Reconstruct: cannot find chip prediction on inner layer for cluster %d on the outer layer",iC2)); key=999999; } nfTraPred1+=(Int_t)found; // this for debugging purpose @@ -456,7 +456,7 @@ AliITSTrackleterSPDEff::Reconstruct(AliStack *pStack, TTree *tRef, Bool_t lbkg) Int_t lab3=(Int_t)fClustersLay1[iC1][5]; // do it always as a function of the chip number used to built the prediction found=FindChip(key,0,vtx,fClustersLay1[iC1][0],fClustersLay1[iC1][1],fClustersLay1[iC1][2]); - if (!found) {AliWarning( + if (!found) {AliDebug(1, Form("Reconstruct MC: cannot find chip on inner layer for cluster %d",iC1)); } else { if((lab1 != -2 && PrimaryTrackChecker(lab1,pStack) ) || @@ -585,7 +585,7 @@ AliITSTrackleterSPDEff::Reconstruct(AliStack *pStack, TTree *tRef, Bool_t lbkg) // Check that this cluster is still in the same chip (here you pass also Zvtx for better computation) found=FindChip(key,1,vtx,fClustersLay2[iC2WithBestDist][0],fClustersLay2[iC2WithBestDist][1],fClustersLay2[iC2WithBestDist][2]); if(!found){ - AliWarning( + AliDebug(1, Form("Reconstruct: cannot find chip on outer layer for cluster %d",iC2WithBestDist)); key=999999; } @@ -664,7 +664,7 @@ AliITSTrackleterSPDEff::Reconstruct(AliStack *pStack, TTree *tRef, Bool_t lbkg) Int_t lab3=(Int_t)fClustersLay2[iC2][5]; // do it always as a function of the chip number used to built the prediction found=FindChip(key,1,vtx,fClustersLay2[iC2][0],fClustersLay2[iC2][1],fClustersLay2[iC2][2]); - if (!found) {AliWarning( + if (!found) {AliDebug(1, Form("Reconstruct MC: cannot find chip on outer layer for cluster %d",iC2)); } else { if((lab1 != -2 && PrimaryTrackChecker(lab1,pStack) ) || @@ -786,7 +786,7 @@ AliITSTrackleterSPDEff::Reconstruct(AliStack *pStack, TTree *tRef, Bool_t lbkg) // Check that this cluster is still in the same chip (here you pass also Zvtx for better computation) found=FindChip(key,0,vtx,fClustersLay1[iC1WithBestDist][0],fClustersLay1[iC1WithBestDist][1],fClustersLay1[iC1WithBestDist][2]); if(!found){ - AliWarning( + AliDebug(1, Form("Reconstruct: cannot find chip on inner layer for cluster %d",iC1WithBestDist)); key=999999; } -- 2.39.3