No PileUp check for HighFlux settings
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 7 Nov 2010 22:55:56 +0000 (22:55 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 7 Nov 2010 22:55:56 +0000 (22:55 +0000)
ITS/AliITSRecoParam.cxx
ITS/AliITSRecoParam.h
ITS/AliITSVertexer3D.cxx

index e756b59..97482ce 100644 (file)
@@ -319,7 +319,7 @@ AliITSRecoParam *AliITSRecoParam::GetHighFluxParam()
   //
   AliITSRecoParam *param = new AliITSRecoParam();
   param->SetVertexer3DDefaults();
-
+  param->SetSPDVertexerPileupAlgoOff();
   // use of bads from OCDB
   param->SetUseBadZonesFromOCDB(kTRUE);
   param->SetUseSingleBadChannelsFromOCDB(kFALSE);
index 243c48a..f38bd89 100644 (file)
@@ -119,6 +119,7 @@ class AliITSRecoParam : public AliDetectorRecoParam
     SetVertexer3DDeltaPhiCuts();
     SetVertexer3DDCACut();    
   }
+  void SetSPDVertexerPileupAlgoOff(){fVtxr3DPileupAlgo=3;}
   void SetSPDVertexerPileupAlgoZ(){fVtxr3DPileupAlgo=0;}
   void SetSPDVertexerPileupAlgo3DTwoSteps(){fVtxr3DPileupAlgo=1;}
   void SetSPDVertexerPileupAlgo3DOneShot(){fVtxr3DPileupAlgo=2;}
index b9460f1..7b9acf4 100644 (file)
@@ -128,7 +128,7 @@ AliESDVertex* AliITSVertexer3D::FindVertexForCurrentEvent(TTree *itsClusterTree)
       if(nolines>=2){
        rc=Prepare3DVertex(1);
        if(fPileupAlgo == 2 && rc == 0) FindVertex3DIterative();
-       else if(fPileupAlgo<2 && rc == 0) FindVertex3D(itsClusterTree);
+       else if(fPileupAlgo!=2 && rc == 0) FindVertex3D(itsClusterTree);
        if(rc!=0) fVert3D.SetNContributors(0); // exclude this vertex      
       }
     }
@@ -178,6 +178,7 @@ void AliITSVertexer3D::FindVertex3D(TTree *itsClusterTree){
     switch(fPileupAlgo){
     case 0: PileupFromZ(); break;
     case 1: FindOther3DVertices(itsClusterTree); break;
+    case 3: break; // no pileup algo  
     default: AliError("Wrong pileup algorithm"); break;
     }
     if(fNoVertices==1){