virtual AliESDVertex* FindVertexForCurrentEvent(TTree *itsClusterTree);
virtual void PrintStatus() const;
void SetDiffPhiMax(Float_t pm = 0.01){fDiffPhiMax = pm;}
- void ConfigIterations(Int_t noiter=3,Float_t *ptr=0);
+ void ConfigIterations(Int_t noiter=4,Float_t *ptr=0);
void SetFirstLayerModules(Int_t m1 = 0, Int_t m2 = 79){fFirstL1 = m1; fLastL1 = m2;}
void SetSecondLayerModules(Int_t m1 = 80, Int_t m2 = 239){fFirstL2 = m1; fLastL2 = m2;}
void SetLowLimit(Float_t lim=-40.){fLowLim = lim;}
void SetWindowWidth(Float_t ww=0.2){fWindowWidth=ww;}
Float_t GetTolerance() const {return fTolerance;}
// virtual void MakeTracklet(Double_t * /* pA */, Double_t * /*pB */, Int_t & /* nolines */) {} // implemented in a derived class
+
+ void SetSearchForPileup(Bool_t opt){fSearchForPileup=opt;}
+ Bool_t IsSearchForPileupActive() const { return fSearchForPileup;}
+
protected:
void ResetHistograms();
void VertexZFinder(TTree *itsClusterTree);
Int_t fMaxIter; // Maximum number of iterations (<=5)
Float_t fPhiDiffIter[5]; // Delta phi used in iterations
Float_t fWindowWidth; // Z window width for symmetrization
+ Bool_t fSearchForPileup; // flag to switch pileup off/on
+
private:
AliITSVertexerZ(const AliITSVertexerZ& vtxr);
AliITSVertexerZ& operator=(const AliITSVertexerZ& vtxr );
- ClassDef(AliITSVertexerZ,10);
+ ClassDef(AliITSVertexerZ,11);
};
#endif