+ void ResetVert3D();
+ void FindPeaks(TH3F* histo, Double_t *peak, Int_t &nOfTracklets, Int_t &nOfTimes);
+ void PileupFromZ();
+ void MarkUsedClusters();
+ Int_t RemoveTracklets();
+ void FindOther3DVertices(TTree *itsClusterTree);
+
+ enum {kMaxCluPerMod=250};
+
+ TClonesArray fLines; //! array of tracklets
+ AliESDVertex fVert3D; // 3D Vertex
+ Double_t fCoarseDiffPhiCut; // loose cut on DeltaPhi for RecPoint matching
+ Double_t fFineDiffPhiCut; // tight value of DeltaPhi for RP matching (2nd method)
+ Double_t fCutOnPairs; //cut on distance between pairs of tracklets
+ Double_t fCoarseMaxRCut; // cut on tracklet DCA to Z axis
+ Double_t fMaxRCut; // cut on tracklet DCA to beam axis
+ Double_t fMaxRCut2; // cut on tracklet DCA to beam axis - algo2
+ Double_t fZCutDiamond; // cut on +-Z of the diamond
+ Double_t fMaxZCut; // cut on Z distance from estimated vertex
+ Double_t fDCAcut; // cut on tracklet to tracklet and tracklet to vertex DCA
+ Double_t fDiffPhiMax; // Maximum delta phi allowed among corr. pixels
+ Double_t fMeanPSelTrk; // GeV, mean P for tracks with dphi<0.01 rad
+ Double_t fMeanPtSelTrk; // GeV, mean Pt for tracks with dphi<0.01 rad
+ TBits fUsedCluster; // flag for used clusters in vertex calculation
+ TH1F *fZHisto; //! histogram with coarse z distribution
+ Double_t fDCAforPileup; // Minimum DCA to 1st vertex for pileup tracklets
+ Double_t fDiffPhiforPileup; // Cut on delta phi for pileup
+ Double_t fBinSizeR; // Histo3D bin size along radius
+ Double_t fBinSizeZ; // Histo3D bin size along z
+ UShort_t fPileupAlgo; // Algo for pileup identification
+ // 0->VertexerZ pileup algo
+ // 1->Unused RecPoints algo
+ Int_t fMaxNumOfCl; // max number of clusters on L1 or L2
+ Bool_t fDoDownScale; // Control downscaling of tracklets in high mult
+ TRandom3 *fGenerForDownScale; // randomnumber generator fordownscaling
+
+ static const Int_t fgkMaxNumOfClDefault; // Default max number of clusters