BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmKFSecondaryVertexFinder.h
Go to the documentation of this file.
1/** The CbmKFSecondaryVertexFinder class
2 *
3 * @author S.Gorbunov, I.Kisel
4 * @version 1.0
5 * @since 06.02.06
6 *
7 * Class to fit secondary vertex with the Kalman Filter method
8 *
9 */
10#ifndef CBMKFSECONDARYVERTEXFINDER_H
11#define CBMKFSECONDARYVERTEXFINDER_H
12
13#include "CbmKFTrackInterface.h"
15
16#include <vector>
17
19{
20
21 std::vector<CbmKFTrackInterface*> vTracks;
24 Double_t r[8], r0[8], C[36];
26
27 void AddMassConstraint();
28 void AddTopoConstraint();
29 Double_t& Cij(Int_t i, Int_t j) { return C[(j <= i) ? i * (i + 1) / 2 + j : j * (j + 1) / 2 + i]; }
30
31 public:
33 : vTracks()
34 , NDF(0)
35 , Chi2(0)
37 , VParent(0)
38 , VGuess(0)
39 {
40 Clear();
41 };
43
44 void Clear();
45 void ClearTracks();
46 void AddTrack(CbmKFTrackInterface* Track);
47 void SetTracks(std::vector<CbmKFTrackInterface*>& vTracks);
49 void SetMassConstraint(Double_t MotherMass = -1);
51 void Fit();
53 void GetVertex(CbmVertex& vtx);
54 void GetMotherTrack(Double_t T[], Double_t C[]);
55 void GetMass(Double_t* M, Double_t* Error);
56 void Extrapolate(double T);
57
59
60 private:
63};
64#endif /* !CBMKFSECONDARYVERTEXFINDER_H */
int i
Definition P4_F32vec4.h:22
int Int_t
double Double_t
#define ClassDef(name, id)
void Error(const char *location, const char *msgfmt,...)
The CbmKFSecondaryVertexFinder class.
void SetTopoConstraint(CbmKFVertexInterface *Parent=0)
Double_t & Cij(Int_t i, Int_t j)
void SetTracks(std::vector< CbmKFTrackInterface * > &vTracks)
void GetMass(Double_t *M, Double_t *Error)
void SetApproximation(CbmKFVertexInterface *Guess=0)
std::vector< CbmKFTrackInterface * > vTracks
CbmKFSecondaryVertexFinder(const CbmKFSecondaryVertexFinder &)
void SetMassConstraint(Double_t MotherMass=-1)
void GetVertex(CbmKFVertexInterface &vtx)
void GetMotherTrack(Double_t T[], Double_t C[])
void AddTrack(CbmKFTrackInterface *Track)
void operator=(const CbmKFSecondaryVertexFinder &)
CbmVertex.h.
Definition CbmVertex.h:21