BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
"
14
#include "
CbmKFVertexInterface.h
"
15
16
#include <vector>
17
18
class
CbmKFSecondaryVertexFinder
:
public
TObject
19
{
20
21
std::vector<CbmKFTrackInterface*>
vTracks
;
22
Int_t
NDF
;
23
Double_t
Chi2
,
MassConstraint
;
24
Double_t
r
[8],
r0
[8],
C
[36];
25
CbmKFVertexInterface
*
VParent
, *
VGuess
;
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
:
32
CbmKFSecondaryVertexFinder
()
33
:
vTracks
()
34
,
NDF
(0)
35
,
Chi2
(0)
36
,
MassConstraint
(0)
37
,
VParent
(0)
38
,
VGuess
(0)
39
{
40
Clear
();
41
};
42
~CbmKFSecondaryVertexFinder
() {};
43
44
void
Clear
();
45
void
ClearTracks
();
46
void
AddTrack
(
CbmKFTrackInterface
* Track);
47
void
SetTracks
(std::vector<CbmKFTrackInterface*>&
vTracks
);
48
void
SetApproximation
(
CbmKFVertexInterface
* Guess = 0);
49
void
SetMassConstraint
(
Double_t
MotherMass = -1);
50
void
SetTopoConstraint
(
CbmKFVertexInterface
* Parent = 0);
51
void
Fit
();
52
void
GetVertex
(
CbmKFVertexInterface
& vtx);
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
58
ClassDef
(
CbmKFSecondaryVertexFinder
, 1);
59
60
private
:
61
CbmKFSecondaryVertexFinder
(
const
CbmKFSecondaryVertexFinder
&);
62
void
operator=
(
const
CbmKFSecondaryVertexFinder
&);
63
};
64
#endif
/* !CBMKFSECONDARYVERTEXFINDER_H */
i
int i
Definition
P4_F32vec4.h:22
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
Error
void Error(const char *location, const char *msgfmt,...)
CbmKFSecondaryVertexFinder
The CbmKFSecondaryVertexFinder class.
Definition
CbmKFSecondaryVertexFinder.h:19
CbmKFSecondaryVertexFinder::SetTopoConstraint
void SetTopoConstraint(CbmKFVertexInterface *Parent=0)
Definition
CbmKFSecondaryVertexFinder.cxx:52
CbmKFSecondaryVertexFinder::AddTopoConstraint
void AddTopoConstraint()
Definition
CbmKFSecondaryVertexFinder.cxx:458
CbmKFSecondaryVertexFinder::VParent
CbmKFVertexInterface * VParent
Definition
CbmKFSecondaryVertexFinder.h:25
CbmKFSecondaryVertexFinder::C
Double_t C[36]
Definition
CbmKFSecondaryVertexFinder.h:24
CbmKFSecondaryVertexFinder::Cij
Double_t & Cij(Int_t i, Int_t j)
Definition
CbmKFSecondaryVertexFinder.h:29
CbmKFSecondaryVertexFinder::SetTracks
void SetTracks(std::vector< CbmKFTrackInterface * > &vTracks)
Definition
CbmKFSecondaryVertexFinder.cxx:37
CbmKFSecondaryVertexFinder::Fit
void Fit()
Definition
CbmKFSecondaryVertexFinder.cxx:57
CbmKFSecondaryVertexFinder::GetMass
void GetMass(Double_t *M, Double_t *Error)
Definition
CbmKFSecondaryVertexFinder.cxx:361
CbmKFSecondaryVertexFinder::AddMassConstraint
void AddMassConstraint()
Definition
CbmKFSecondaryVertexFinder.cxx:377
CbmKFSecondaryVertexFinder::MassConstraint
Double_t MassConstraint
Definition
CbmKFSecondaryVertexFinder.h:23
CbmKFSecondaryVertexFinder::SetApproximation
void SetApproximation(CbmKFVertexInterface *Guess=0)
Definition
CbmKFSecondaryVertexFinder.cxx:42
CbmKFSecondaryVertexFinder::vTracks
std::vector< CbmKFTrackInterface * > vTracks
Definition
CbmKFSecondaryVertexFinder.h:21
CbmKFSecondaryVertexFinder::VGuess
CbmKFVertexInterface * VGuess
Definition
CbmKFSecondaryVertexFinder.h:25
CbmKFSecondaryVertexFinder::Chi2
Double_t Chi2
Definition
CbmKFSecondaryVertexFinder.h:23
CbmKFSecondaryVertexFinder::ClearTracks
void ClearTracks()
Definition
CbmKFSecondaryVertexFinder.cxx:27
CbmKFSecondaryVertexFinder::CbmKFSecondaryVertexFinder
CbmKFSecondaryVertexFinder(const CbmKFSecondaryVertexFinder &)
CbmKFSecondaryVertexFinder::r
Double_t r[8]
Definition
CbmKFSecondaryVertexFinder.h:24
CbmKFSecondaryVertexFinder::SetMassConstraint
void SetMassConstraint(Double_t MotherMass=-1)
Definition
CbmKFSecondaryVertexFinder.cxx:47
CbmKFSecondaryVertexFinder::GetVertex
void GetVertex(CbmKFVertexInterface &vtx)
Definition
CbmKFSecondaryVertexFinder.cxx:285
CbmKFSecondaryVertexFinder::GetMotherTrack
void GetMotherTrack(Double_t T[], Double_t C[])
Definition
CbmKFSecondaryVertexFinder.cxx:303
CbmKFSecondaryVertexFinder::CbmKFSecondaryVertexFinder
CbmKFSecondaryVertexFinder()
Definition
CbmKFSecondaryVertexFinder.h:32
CbmKFSecondaryVertexFinder::AddTrack
void AddTrack(CbmKFTrackInterface *Track)
Definition
CbmKFSecondaryVertexFinder.cxx:32
CbmKFSecondaryVertexFinder::~CbmKFSecondaryVertexFinder
~CbmKFSecondaryVertexFinder()
Definition
CbmKFSecondaryVertexFinder.h:42
CbmKFSecondaryVertexFinder::operator=
void operator=(const CbmKFSecondaryVertexFinder &)
CbmKFSecondaryVertexFinder::NDF
Int_t NDF
Definition
CbmKFSecondaryVertexFinder.h:22
CbmKFSecondaryVertexFinder::Extrapolate
void Extrapolate(double T)
Definition
CbmKFSecondaryVertexFinder.cxx:416
CbmKFSecondaryVertexFinder::r0
Double_t r0[8]
Definition
CbmKFSecondaryVertexFinder.h:24
CbmKFSecondaryVertexFinder::Clear
void Clear()
Definition
CbmKFSecondaryVertexFinder.cxx:19
CbmKFTrackInterface
Definition
CbmKFTrackInterface.h:26
CbmKFVertexInterface
Definition
CbmKFVertexInterface.h:25
CbmVertex
CbmVertex.h.
Definition
CbmVertex.h:21
TObject::TObject
TObject()
CbmKFTrackInterface.h
CbmKFVertexInterface.h
reconstruction
KF
CbmKFSecondaryVertexFinder.h
Generated on
for BmnRoot by
1.17.0