change some messages from AliError to AliDebug
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Sep 2013 10:50:57 +0000 (10:50 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Sep 2013 10:50:57 +0000 (10:50 +0000)
PWGHF/vertexingHF/AliCFVertexingHF.cxx

index 46f20b6..968adf5 100644 (file)
@@ -831,7 +831,7 @@ Bool_t AliCFVertexingHF::SetLabelArray()
                          }                 
                          Int_t nDauRes=partK0S->GetNDaughters();
                          if(nDauRes!=2 || partK0S->GetPdgCode()!=310) {
-                           AliError("No K0S on no 2-body decay");
+                           AliDebug(2,"No K0S on no 2-body decay");
                            delete [] fLabelArray;
                            fLabelArray = 0x0;
                            return bLabelArray;
@@ -843,7 +843,7 @@ Bool_t AliCFVertexingHF::SetLabelArray()
                            AliAODMCParticle* dauRes = dynamic_cast<AliAODMCParticle*>(fmcArray->At(iLabelDauRes));
                            if (dauRes){
                              if (TMath::Abs(dauRes->GetPdgCode())!=211) {
-                               AliError("K0S doesn't decay in 2 charged pions!");
+                               AliDebug(2,"K0S doesn't decay in 2 charged pions!");
                                delete [] fLabelArray; 
                                fLabelArray = 0x0;  
                                return bLabelArray;