PandaRoot
TtFitRes.h
Go to the documentation of this file.
1
// Simone Bianco
2
// 15.07.2010
3
4
#ifndef TTFITRES_H
5
#define TTFITRES_H
6
7
#include "TVector3.h"
8
#include "TString.h"
9
10
#include <stdio.h>
11
#include <iostream>
12
#include <vector>
13
14
class
TtFitRes
:
public
TObject {
15
16
public
:
17
TtFitRes
();
18
19
TtFitRes
(Double_t p0, Double_t p1, Double_t p2, Double_t p3, Double_t eloss, Double_t chiX, Double_t chiY, Int_t numSens);
20
21
virtual
~TtFitRes
();
22
23
void
GetPar
(Double_t *par)
const
24
{
25
par[0] = fP0;
26
par[1] = fP1;
27
par[2] = fP2;
28
par[3] = fP3;
29
}
30
TVector2
GetFirstPoint
()
const
{
return
TVector2(fP0, fP2); }
31
TVector2
GetDirectionVec
()
const
{
return
TVector2(fP1, fP3); }
32
Double_t
GetChiSquareX
()
const
{
return
fChiSqX; }
33
Double_t
GetChiSquareY
()
const
{
return
fChiSqY; }
34
Int_t
GetNsens
()
const
{
return
fNsens; }
35
Double_t
GetEloss
() {
return
fEloss; }
36
37
private
:
38
Double_t fP0, fP1, fP2, fP3;
// fit-parameter
39
Double_t fEloss;
// Total energy loss
40
Double_t fChiSqX;
// Chi-Square of X Fit
41
Double_t fChiSqY;
// Chi-Square of Y Fit
42
Int_t fNsens;
// number of sensors used for the fit
43
44
ClassDef(
TtFitRes
, 1);
45
};
46
47
#endif
TtFitRes::TtFitRes
TtFitRes()
TtFitRes::GetNsens
Int_t GetNsens() const
Definition:
TtFitRes.h:34
TtFitRes::GetChiSquareX
Double_t GetChiSquareX() const
Definition:
TtFitRes.h:32
TtFitRes::~TtFitRes
virtual ~TtFitRes()
TtFitRes::GetFirstPoint
TVector2 GetFirstPoint() const
Definition:
TtFitRes.h:30
TtFitRes
Definition:
TtFitRes.h:14
TtFitRes::GetPar
void GetPar(Double_t *par) const
Definition:
TtFitRes.h:23
TtFitRes::GetDirectionVec
TVector2 GetDirectionVec() const
Definition:
TtFitRes.h:31
TtFitRes::GetEloss
Double_t GetEloss()
Definition:
TtFitRes.h:35
TtFitRes::GetChiSquareY
Double_t GetChiSquareY() const
Definition:
TtFitRes.h:33
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
detectors
mvd
MvdTracking
LinFit
TtFitRes.h
Generated on Fri Oct 21 2022 07:04:00 for PandaRoot by
1.8.13