From 9b72221bcd40f171d1eb49295e32750386854022 Mon Sep 17 00:00:00 2001 From: kleinb Date: Thu, 12 Nov 2009 18:13:38 +0000 Subject: [PATCH] limit printouts --- JETAN/AliCdfJetFinder.cxx | 15 +++++++----- JETAN/AliDAJetFinder.cxx | 1 - JETAN/AliSISConeJetFinder.cxx | 44 ++++++++++++++++++----------------- 3 files changed, 32 insertions(+), 28 deletions(-) diff --git a/JETAN/AliCdfJetFinder.cxx b/JETAN/AliCdfJetFinder.cxx index 572aeb67b2d..4f166ee3556 100644 --- a/JETAN/AliCdfJetFinder.cxx +++ b/JETAN/AliCdfJetFinder.cxx @@ -4,7 +4,7 @@ * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * - * Permission to use, copy, modify and distribute this software and its * + * Permission to usec, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * @@ -335,7 +335,7 @@ void AliCdfJetFinder::FindJets() // * Go to the next highest PT particle (not already included in a jet) and include in the "jet" all particles // (not already included in a jet) within the radius R =0.7. // * Continue until all particles are in a "jet". - + if (fDebug) { printf("AliCDJetfinder::FindJets() %d \n", __LINE__ ); } AliCdfJetHeader *header = (AliCdfJetHeader*)fHeader; if (header) @@ -364,7 +364,10 @@ FindCones(); ComputeConesWeight(); -if (fAODwrite) { cout << "Writing AOD" << endl ; WriteJets(); } +if (fAODwrite) { + if(fDebug)cout << "Writing AOD" << endl ; + WriteJets(); + } if (fAnalyseJets) AnalizeJets(); @@ -586,10 +589,10 @@ for( Int_t jetnr = 0 ; jetnr < fNJets ; jetnr++ ) if (fDebug) jet.Print(""); if (fFromAod && fAODtracksWrite) - { + { for ( Int_t jetTrack = 0; jetTrack < fNPart; jetTrack++ ) - { if ( fVectParticle[jetTrack]->njet == jetnr ) { jet.AddTrack(fRefArr->At(jetTrack)) ; } } - } + { if ( fVectParticle[jetTrack]->njet == jetnr ) { jet.AddTrack(fRefArr->At(jetTrack)) ; } } + } // tracks REFs written in AOD AddJet(jet); } diff --git a/JETAN/AliDAJetFinder.cxx b/JETAN/AliDAJetFinder.cxx index c4613db59c6..3a27f736d30 100644 --- a/JETAN/AliDAJetFinder.cxx +++ b/JETAN/AliDAJetFinder.cxx @@ -477,7 +477,6 @@ void AliDAJetFinder::StoreJets(Int_t nk,Double_t **xData, Int_t *xx, TMatrixD } } AddJet(jet); - printf("jet %d, Eta: %f, Phi: %f, Et: %f\n",iClust,jet.Eta(),jet.Phi(),jet.Pt()); } } delete [] dDeltaEta; delete [] dDeltaPhi; diff --git a/JETAN/AliSISConeJetFinder.cxx b/JETAN/AliSISConeJetFinder.cxx index 16cdb8d5325..771138a9983 100644 --- a/JETAN/AliSISConeJetFinder.cxx +++ b/JETAN/AliSISConeJetFinder.cxx @@ -267,20 +267,21 @@ void AliSISConeJetFinder::FindJets() // If the correction is > jet energy px = py = pz = e = 0 if (corrJets[j].px() == 0 && corrJets[j].py() == 0 && corrJets[j].pz() == 0 && corrJets[j].E() == 0) continue; - cout<<"********************************** Reconstructed jet(s) (non corrected)"<