1 #ifndef __StKFVerticesCollection_h__
3 #define __StKFVerticesCollection_h__
6 #include "StKFVertex.h"
14 StKFVerticesCollection(Int_t NoPeaks = 0, Double_t *zOfPeaks = 0, Double_t sigmaXY = 1.5, Double_t sigmaZ = 2);
15 void AddVertex(Double_t x, Double_t y, Double_t z, Double_t sigmaXY, Double_t sigmaZ);
16 void AddVertex(
StKFVertex*vtx) {fVertices.AddLast(vtx);}
18 Int_t NoVertices()
const {
return fVertices.GetEntriesFast();}
20 Double_t DoTrack2VertexAssociation(
const TObjArray &particles);
21 Double_t UpdateStVertexTrackAssociation();
22 void CleanDuplicatedVertices();
23 void MergeDuplicatedVertices();
25 void UniqueTracks2VertexAssociation();
26 void Compress() {fVertices.Compress();}
27 Double_t Fit(Int_t marker = 0, TCanvas *c1 = 0, TH1* Vtx = 0);
31 void SetMc(Int_t NoMuMcVertex = 0, Int_t NoMuMcTrack = 0,
const Float_t *time = 0,
32 const Float_t *x = 0,
const Float_t *y = 0,
const Float_t *z = 0,
33 const Int_t *NoDaughters = 0,
const Int_t *IdParTrk = 0,
const Int_t *gePid = 0);
34 virtual void Print(
const Option_t* opt =
"")
const {
if (opt) {}; std::cout << *
this;}
35 static void SetVxPenaltyFactor(Double_t chi2 = 1000) {fgVxPenaltyFactor = chi2;}
38 static Double_t fgVxPenaltyFactor;