]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Reduction of logs from ITS local reconstruction
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Apr 2010 15:32:52 +0000 (15:32 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 23 Apr 2010 15:32:52 +0000 (15:32 +0000)
ITS/AliITSClusterFinderV2SDD.cxx
ITS/AliITSClusterFinderV2SPD.cxx
ITS/AliITSClusterFinderV2SSD.cxx
ITS/AliITSDetTypeRec.cxx
ITS/AliITSReconstructor.cxx
ITS/AliITSVertexer.cxx

index 3a518f2d7ffdba53999a1a3758caceb4253100de..ace11e4031dcca0d12555f31184a67a07d911b38 100644 (file)
@@ -440,7 +440,7 @@ void AliITSClusterFinderV2SDD::FindClustersSDD(AliITSRawStream* input,
   for(Int_t iHyb=0;iHyb<kHybridsPerDDL;iHyb++){ 
    delete ddlAnodeFired[iHyb];
   }
-  Info("FindClustersSDD", "found clusters in ITS SDD: %d", nClustersSDD); 
+  AliDebug(1,Form("found clusters in ITS SDD: %d", nClustersSDD));
 }
 
 //______________________________________________________________________
index b0e2e1754e4d2e0761b2aec9a6e844120621d1f9..5dd8cc274d86d7227dc5cf25098a1b6bf1f01d26 100644 (file)
@@ -320,8 +320,8 @@ void AliITSClusterFinderV2SPD::FindClustersSPD(AliITSRawStreamSPD* input,
   delete [] binsSPDInit;
   delete [] binsSPD;
   
-  // AliDebug(1,Form("found clusters in ITS SPD: %d", nClustersSPD));
-  Info("FindClustersSPD", "found clusters in ITS SPD: %d", nClustersSPD);
+  AliDebug(1,Form("found clusters in ITS SPD: %d", nClustersSPD));
+  
  
     // Fill the FastOr fired map
   for (UInt_t eq=0; eq<20; eq++) {
index 3e46291731ad4b1e7bec1676309c3f2240b28f3b..9d7d60a239a0d30fc1ef03077b0fb11ec44be302 100644 (file)
@@ -731,7 +731,7 @@ void AliITSClusterFinderV2SSD::FindClustersSSD(AliITSRawStreamSSD* input,
     if(!next) break;
   }
   
-  Info("FindClustersSSD", "found clusters in ITS SSD: %d", nClustersSSD);
+  AliDebug(1,Form("found clusters in ITS SSD: %d", nClustersSSD));
 }
 
 void AliITSClusterFinderV2SSD::
index 82ff297010cccd93e5f1c229e771b7aed2437b06..13b02e3c6defe59a18466a398f67452736a73fe1 100644 (file)
@@ -906,6 +906,13 @@ void AliITSDetTypeRec::DigitsToRecPoints(TTree *treeD,TTree *treeR,Int_t lastent
     // here removing bits which have no associated clusters 
     RemoveFastOrFiredFromDead(GetFiredChipMap(treeR));  
   }
+
+  AliITSRecPointContainer* rpcont = AliITSRecPointContainer::Instance();
+  Int_t nClu[6];
+  nClu[0]=rpcont->GetNClustersInLayer(1,treeR);
+  for(Int_t iLay=2; iLay<=6; iLay++) nClu[iLay-1]=rpcont->GetNClustersInLayerFast(iLay);
+  AliInfo(Form("Number of RecPoints in ITS Layers = %d %d %d %d %d %d",
+              nClu[0],nClu[1],nClu[2],nClu[3],nClu[4],nClu[5]));
 }
 //______________________________________________________________________
 void AliITSDetTypeRec::DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR,Option_t *opt){
@@ -958,10 +965,13 @@ void AliITSDetTypeRec::DigitsToRecPoints(AliRawReader* rawReader,TTree *treeR,Op
   }
   delete emptyArray;
 
+  AliITSRecPointContainer* rpcont = AliITSRecPointContainer::Instance();
+  Int_t nClu[6];
+  nClu[0]=rpcont->GetNClustersInLayer(1,treeR);
+  for(Int_t iLay=2; iLay<=6; iLay++) nClu[iLay-1]=rpcont->GetNClustersInLayerFast(iLay);
+  AliInfo(Form("Number of RecPoints in ITS Layers = %d %d %d %d %d %d, Total = %d",
+              nClu[0],nClu[1],nClu[2],nClu[3],nClu[4],nClu[5],nClusters));
   delete[] clusters;
-  Info("DigitsToRecPoints", "total number of found recpoints in ITS: %d\n", 
-       nClusters);
-  
 }
 //______________________________________________________________________
 void AliITSDetTypeRec::DigitsToRecPoints(AliRawReader* rawReader,TClonesArray** clusters,Option_t *opt){
index ddafe68e3320cc0a9af872b6d3ad77e31c54c4f0..9232ee9f0241a62042b0cfeff5aba4264fee6cf8 100644 (file)
@@ -64,11 +64,11 @@ void AliITSReconstructor::GetPidSettings(AliESDpid *ESDpid) {
   Int_t pidOpt = GetRecoParam()->GetPID();
 
   if(pidOpt==1){
-    AliInfo("ITS LandauFitPID option has been selected\n");
+    AliDebug(1,"ITS LandauFitPID option has been selected\n");
     ESDpid->SetITSPIDmethod(AliESDpid::kITSLikelihood);
   }
   else{
-    AliInfo("ITS default PID\n");
+    AliDebug(1,"ITS default PID\n");
     ESDpid->SetITSPIDmethod(AliESDpid::kITSTruncMean);
   }
 }
@@ -180,30 +180,30 @@ AliVertexer* AliITSReconstructor::CreateVertexer() const
   AliITSVertexer *vptr;
   Int_t vtxOpt = GetRecoParam()->GetVertexer();
   if(vtxOpt==3){
-    AliInfo("AliITSVertexerIons has been selected");
+    AliDebug(1,"AliITSVertexerIons has been selected");
     vptr =  new AliITSVertexerIons();
   }
   else if(vtxOpt==4){
     Double_t smear[3]={GetRecoParam()->GetVertexerFastSmearX(),
                       GetRecoParam()->GetVertexerFastSmearY(),
                       GetRecoParam()->GetVertexerFastSmearZ()};
-    AliInfo("AliITSVertexerFast has been selected"); 
+    AliDebug(1,"AliITSVertexerFast has been selected"); 
     vptr = new AliITSVertexerFast(smear);
   }
   else if(vtxOpt==1){
-    AliInfo("AliITSVertexerZ has been selected");
+    AliDebug(1,"AliITSVertexerZ has been selected");
     vptr =  new AliITSVertexerZ();
   }
   else if(vtxOpt==2){
-    AliInfo("AliITSVertexerCosmics has been selected");
+    AliDebug(1,"AliITSVertexerCosmics has been selected");
     vptr = new AliITSVertexerCosmics();
   }
   else if(vtxOpt==5){ 
-    AliInfo("Vertex is fixed in the position of the TDI\n");
+    AliDebug(1,"Vertex is fixed in the position of the TDI\n");
     vptr = new AliITSVertexerFixed("TDI");
   }
   else if(vtxOpt==6){ 
-    AliInfo("Vertex is fixed in the position of the TED\n");
+    AliDebug(1,"Vertex is fixed in the position of the TED\n");
     vptr = new AliITSVertexerFixed("TED");
   }
   else {
@@ -222,7 +222,7 @@ AliVertexer* AliITSReconstructor::CreateVertexer() const
     vtxr->SetDCACut(dcacut);
     Int_t pileupAlgo=GetRecoParam()->GetSPDVertexerPileupAlgo();
     vtxr->SetPileupAlgo(pileupAlgo);
-    AliInfo(Form("AliITSVertexer3D with pileup algo %d has been selected",pileupAlgo));
+    AliDebug(1,Form("AliITSVertexer3D with pileup algo %d has been selected",pileupAlgo));
     vptr = vtxr;
   }
   vptr->SetDetTypeRec(fDetTypeRec);
index 2b0d451c4defc3d511b26b7a6bec99c25d8bda5a..4c3ca507b94f048c5800524448c9517bc959abc1 100644 (file)
@@ -85,8 +85,8 @@ void AliITSVertexer::FindMultiplicity(TTree *itsClusterTree){
 
   if(!success){
     if(!cosmics) {     
-      AliWarning("Tracklets multiplicity not determined because the primary vertex was not found");
-      AliWarning("Just counting the number of cluster-fired chips on the SPD layers");
+      AliDebug(1,"Tracklets multiplicity not determined because the primary vertex was not found");
+      AliDebug(1,"Just counting the number of cluster-fired chips on the SPD layers");
     }
     if (!itsClusterTree) {
       AliError(" Invalid ITS cluster tree !\n");