/* $Id$ */
#include <TClonesArray.h>
+#include <TRandom3.h>
#include <AliESDVertex.h>
#include <TH3F.h>
#include <TBits.h>
virtual ~AliITSVertexer3D();
virtual AliESDVertex* FindVertexForCurrentEvent(TTree *itsClusterTree);
void FindVertex3DIterative();
+ void FindVertex3DIterativeMM();
void FindVertex3D(TTree *itsClusterTree);
AliESDVertex GetVertex3D() const {return fVert3D;}
virtual void PrintStatus() const;
}
void SetCoarseDiffPhiCut(Double_t dphi = 0.5){fCoarseDiffPhiCut=dphi;}
void SetFineDiffPhiCut(Double_t dphi = 0.05){fFineDiffPhiCut=dphi;}
- void SetCutOnPairs(Double_t cp = 0.1){fCutOnPairs = cp;}
+ void SetCutOnPairs(Double_t cp = 0.15){fCutOnPairs = cp;}
void SetCoarseMaxRCut(Double_t rad = 2.5){fCoarseMaxRCut=rad;}
void SetMaxRCut(Double_t rad = 0.5){fMaxRCut=rad;}
- void SetZCutDiamond(Double_t zcut = 20.0){fZCutDiamond=zcut;}
+ void SetMaxRCutAlgo2(Double_t rad = 0.2){fMaxRCut2=rad;}
+ void SetZCutDiamond(Double_t zcut = 40.0){fZCutDiamond=zcut;}
void SetMaxZCut(Double_t dz = 0.5){fMaxZCut=dz;}
void SetDCACut(Double_t dca=0.1){fDCAcut=dca;}
void SetDiffPhiMax(Double_t pm = 0.025){fDiffPhiMax = pm;}
void SetMeanPtSelTracks(Double_t ptGeV=0.630){fMeanPtSelTrk = ptGeV;}
void SetMeanPPtSelTracks(Double_t fieldTesla);
void SetMinDCAforPileup(Double_t mindist=0.1) {fDCAforPileup=mindist;}
- void SetPileupAlgo(UShort_t optalgo=0){fPileupAlgo=optalgo;}
+ void SetDeltaPhiforPileup(Double_t dphi=0.01) {fDiffPhiforPileup=dphi;}
+ void SetPileupAlgo(UShort_t optalgo=1){fPileupAlgo=optalgo;}
void SetBinSizeR(Double_t siz=0.1){fBinSizeR=siz;}
void SetBinSizeZ(Double_t siz=0.8){fBinSizeZ=siz;}
+ void SetMaxNumOfClusters(Int_t ncl){fMaxNumOfCl=ncl;}
+ Int_t GetMaxNumOfClusters() const {return fMaxNumOfCl;}
protected:
AliITSVertexer3D(const AliITSVertexer3D& vtxr);
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 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
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
- ClassDef(AliITSVertexer3D,10);
+ static const Int_t fgkMaxNumOfClDefault; // Default max number of clusters
+
+ ClassDef(AliITSVertexer3D,14);
};