BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnFitNode.h
Go to the documentation of this file.
1
/**
2
* \file BmnFitNode.h
3
* \author Andrey Lebedev <andrey.lebedev@gsi.de>
4
* \date 2008
5
* \brief Data class for storage of fitted track parameters, transport matrix and chi-square on each detector station.
6
*/
7
8
#ifndef BMNFITNODE_H_
9
#define BMNFITNODE_H_
10
11
#include "FairTrackParam.h"
12
#include "
TMatrixD.h
"
13
14
#include <vector>
15
using namespace
std
;
16
17
/**
18
* \class CbmLitFitNode
19
* \author Andrey Lebedev <andrey.lebedev@gsi.de>
20
* \date 2008
21
* \brief Data class for storage of fitted track parameters, transport matrix and chi-square on each detector station.
22
*/
23
class
BmnFitNode
24
{
25
public
:
26
/**
27
* \brief Constructor.
28
*/
29
BmnFitNode
()
30
:
fF
(25, 0.)
31
,
fPredictedParam
()
32
,
fUpdatedParam
()
33
,
fSmoothedParam
()
34
,
fChiSqFiltered
(0.)
35
,
fChiSqSmoothed
(0.)
36
{
37
fF_matr
.ResizeTo(5, 5);
38
}
39
40
/**
41
* \brief Destructor.
42
*/
43
virtual
~BmnFitNode
() {};
44
45
/* Getters */
46
const
vector<Double_t>&
GetF
()
const
{
return
fF
; }
47
const
TMatrixD
GetF_matr
()
const
{
return
fF_matr
; }
48
const
FairTrackParam*
GetPredictedParam
()
const
{
return
&
fPredictedParam
; }
49
FairTrackParam*
GetUpdatedParam
() {
return
&
fUpdatedParam
; }
50
FairTrackParam*
GetSmoothedParam
() {
return
&
fSmoothedParam
; }
51
Float_t
GetChiSqFiltered
()
const
{
return
fChiSqFiltered
; }
52
Float_t
GetChiSqSmoothed
()
const
{
return
fChiSqSmoothed
; }
53
54
/* Setters */
55
void
SetF
(
const
vector<Double_t>& F) {
fF
.assign(F.begin(), F.end()); }
56
void
SetF_matr
(
const
TMatrixD
& F) {
fF_matr
= F; }
57
void
SetPredictedParam
(
const
FairTrackParam* par) {
fPredictedParam
= *par; }
58
void
SetUpdatedParam
(
const
FairTrackParam* par) {
fUpdatedParam
= *par; }
59
void
SetSmoothedParam
(
const
FairTrackParam* par) {
fSmoothedParam
= *par; }
60
void
SetChiSqFiltered
(
Float_t
chiSq) {
fChiSqFiltered
= chiSq; }
61
void
SetChiSqSmoothed
(
Float_t
chiSq) {
fChiSqSmoothed
= chiSq; }
62
63
private
:
64
vector<Double_t>
fF
;
// Transport matrix.
65
66
TMatrixD
fF_matr
;
// Transport matrix.
67
68
FairTrackParam
fPredictedParam
;
// Predicted track parameters.
69
FairTrackParam
fUpdatedParam
;
// Updated with KF track parameters.
70
FairTrackParam
fSmoothedParam
;
// Smoothed track parameters.
71
72
Float_t
fChiSqFiltered
;
// Contribution to chi-square of updated track parameters and hit.
73
Float_t
fChiSqSmoothed
;
// Contribution to chi-square of smoothed track parameters and hit.
74
};
75
76
#endif
/*BMNFITNODE_H_*/
Float_t
float Float_t
TMatrixD.h
TMatrixD
TMatrixT< Double_t > TMatrixD
BmnFitNode
Definition
BmnFitNode.h:24
BmnFitNode::fChiSqSmoothed
Float_t fChiSqSmoothed
Definition
BmnFitNode.h:73
BmnFitNode::SetF
void SetF(const vector< Double_t > &F)
Definition
BmnFitNode.h:55
BmnFitNode::~BmnFitNode
virtual ~BmnFitNode()
Destructor.
Definition
BmnFitNode.h:43
BmnFitNode::SetPredictedParam
void SetPredictedParam(const FairTrackParam *par)
Definition
BmnFitNode.h:57
BmnFitNode::SetChiSqSmoothed
void SetChiSqSmoothed(Float_t chiSq)
Definition
BmnFitNode.h:61
BmnFitNode::fUpdatedParam
FairTrackParam fUpdatedParam
Definition
BmnFitNode.h:69
BmnFitNode::fChiSqFiltered
Float_t fChiSqFiltered
Definition
BmnFitNode.h:72
BmnFitNode::fPredictedParam
FairTrackParam fPredictedParam
Definition
BmnFitNode.h:68
BmnFitNode::GetChiSqSmoothed
Float_t GetChiSqSmoothed() const
Definition
BmnFitNode.h:52
BmnFitNode::fF
vector< Double_t > fF
Definition
BmnFitNode.h:64
BmnFitNode::GetSmoothedParam
FairTrackParam * GetSmoothedParam()
Definition
BmnFitNode.h:50
BmnFitNode::SetSmoothedParam
void SetSmoothedParam(const FairTrackParam *par)
Definition
BmnFitNode.h:59
BmnFitNode::BmnFitNode
BmnFitNode()
Constructor.
Definition
BmnFitNode.h:29
BmnFitNode::GetChiSqFiltered
Float_t GetChiSqFiltered() const
Definition
BmnFitNode.h:51
BmnFitNode::SetUpdatedParam
void SetUpdatedParam(const FairTrackParam *par)
Definition
BmnFitNode.h:58
BmnFitNode::fF_matr
TMatrixD fF_matr
Definition
BmnFitNode.h:66
BmnFitNode::GetF
const vector< Double_t > & GetF() const
Definition
BmnFitNode.h:46
BmnFitNode::SetF_matr
void SetF_matr(const TMatrixD &F)
Definition
BmnFitNode.h:56
BmnFitNode::SetChiSqFiltered
void SetChiSqFiltered(Float_t chiSq)
Definition
BmnFitNode.h:60
BmnFitNode::GetPredictedParam
const FairTrackParam * GetPredictedParam() const
Definition
BmnFitNode.h:48
BmnFitNode::GetF_matr
const TMatrixD GetF_matr() const
Definition
BmnFitNode.h:47
BmnFitNode::fSmoothedParam
FairTrackParam fSmoothedParam
Definition
BmnFitNode.h:70
BmnFitNode::GetUpdatedParam
FairTrackParam * GetUpdatedParam()
Definition
BmnFitNode.h:49
std
Definition
json.hpp:4446
install
include
BmnFitNode.h
Generated on
for BmnRoot by
1.17.0