BmnRoot
Loading...
Searching...
No Matches
CbmStsKFSecondaryVertexFinder.h
Go to the documentation of this file.
1
10#ifndef CBMSTSKFSECONDARYVERTEXFINDER_H
11#define CBMSTSKFSECONDARYVERTEXFINDER_H
12
14#include "CbmKFTrack.h"
15#include "CbmKFVertex.h"
16
17#include "CbmStsTrack.h"
18
19#include <vector>
20
21class CbmStsKFSecondaryVertexFinder:public TObject {
22
23 std::vector<CbmStsTrack*> vStsTracks;
24 std::vector<CbmKFTrack> vKFTracks;
25 CbmKFVertex VParent, VGuess;
27
28 public:
29
30 CbmStsKFSecondaryVertexFinder(): vStsTracks(), vKFTracks(), VParent(), VGuess(), Finder() { Clear(); };
32
33 void Clear();
34 void AddTrack( CbmStsTrack *Track );
35 void SetApproximation( CbmVertex *Guess=0 );
36 void SetMassConstraint( Double_t MotherMass=-1 );
37 void SetTopoConstraint( CbmVertex *Parent=0 );
38 void Fit();
39 void GetVertex( CbmVertex &vtx );
40 //void GetFittedTrack( Int_t itrack, CbmStsTrack *Track );
41 //void GetFittedTrack( Int_t itrack, FairTrackParam *Param );
42 void GetMotherTrack( CbmStsTrack *MotherTrack );
43 void GetMass( Double_t *M, Double_t *Error );
44 CbmStsTrack * GetTrack( Int_t itrack );
45 Int_t GetNTracks();
46
48};
49#endif /* !CBMSTSKFSECONDARYVERTEXFINDER_H */
void GetMotherTrack(CbmStsTrack *MotherTrack)
void SetMassConstraint(Double_t MotherMass=-1)
void GetMass(Double_t *M, Double_t *Error)
ClassDef(CbmStsKFSecondaryVertexFinder, 1)