]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Part of the Warning messages changed to AliDebug messages
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Nov 2011 10:53:42 +0000 (10:53 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 13 Nov 2011 10:53:42 +0000 (10:53 +0000)
ITS/AliITSPlaneEffSPD.cxx
ITS/AliITSTrackleterSPDEff.cxx

index 6de1135ccf966acdf49ebefd4834f837f923f50b..af9dec7c85b5e987cc42b39589ee3be5998379b3 100644 (file)
@@ -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<kNModuleLy1) chip = kNChip-(chip+1);
@@ -470,7 +470,7 @@ UInt_t AliITSPlaneEffSPD::GetBCm4FromKey(const UInt_t key) const {
 if(key>=kNModule*kNChip*(kNClockPhase+1))
   {AliError("GetBCm4FromKey: you asked for a non existing key"); return 999;}
 if(key<kNModule*kNChip) 
-  {AliWarning("GetBCm4FromKey: key is below 1200, why are you asking for FO related stuff"); return 999;}
+  {AliDebug(1,"GetBCm4FromKey: key is below 1200, why are you asking for FO related stuff"); return 999;}
 
 return key/(kNModule*kNChip) - 1 ;
 }
@@ -723,7 +723,7 @@ Bool_t AliITSPlaneEffSPD::GetBlockBoundaries(const UInt_t key, Float_t& xmn,Floa
 //  Return: kTRUE if computation was succesfully, kFALSE otherwise
 //
 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);
index 617eb171054af9082e1fe7660ab70df4d0fccfc8..83952641f5c6e8754b08b5773b52977878909b6b 100644 (file)
@@ -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;
       }