PandaRoot
TtFitRes.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// Simone Bianco
14
// 15.07.2010
15
16
#ifndef TTFITRES_H
17
#define TTFITRES_H
18
19
#include "TVector3.h"
20
#include "TString.h"
21
22
#include <stdio.h>
23
#include <iostream>
24
#include <vector>
25
26
class
TtFitRes
:
public
TObject {
27
28
public
:
29
TtFitRes
();
30
31
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);
32
33
virtual
~TtFitRes
();
34
35
void
GetPar
(Double_t *par)
const
36
{
37
par[0] = fP0;
38
par[1] = fP1;
39
par[2] = fP2;
40
par[3] = fP3;
41
}
42
TVector2
GetFirstPoint
()
const
{
return
TVector2(fP0, fP2); }
43
TVector2
GetDirectionVec
()
const
{
return
TVector2(fP1, fP3); }
44
Double_t
GetChiSquareX
()
const
{
return
fChiSqX; }
45
Double_t
GetChiSquareY
()
const
{
return
fChiSqY; }
46
Int_t
GetNsens
()
const
{
return
fNsens; }
47
Double_t
GetEloss
() {
return
fEloss; }
48
49
private
:
50
Double_t fP0, fP1, fP2, fP3;
// fit-parameter
51
Double_t fEloss;
// Total energy loss
52
Double_t fChiSqX;
// Chi-Square of X Fit
53
Double_t fChiSqY;
// Chi-Square of Y Fit
54
Int_t fNsens;
// number of sensors used for the fit
55
56
ClassDef(
TtFitRes
, 1);
57
};
58
59
#endif
TtFitRes::TtFitRes
TtFitRes()
TtFitRes::GetNsens
Int_t GetNsens() const
Definition:
TtFitRes.h:46
TtFitRes::GetChiSquareX
Double_t GetChiSquareX() const
Definition:
TtFitRes.h:44
TtFitRes::~TtFitRes
virtual ~TtFitRes()
TtFitRes::GetFirstPoint
TVector2 GetFirstPoint() const
Definition:
TtFitRes.h:42
TtFitRes
Definition:
TtFitRes.h:26
TtFitRes::GetPar
void GetPar(Double_t *par) const
Definition:
TtFitRes.h:35
TtFitRes::GetDirectionVec
TVector2 GetDirectionVec() const
Definition:
TtFitRes.h:43
TtFitRes::GetEloss
Double_t GetEloss()
Definition:
TtFitRes.h:47
TtFitRes::GetChiSquareY
Double_t GetChiSquareY() const
Definition:
TtFitRes.h:45
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
mvd
MvdTracking
LinFit
TtFitRes.h
Generated on Fri Nov 22 2024 06:04:46 for PandaRoot by
1.8.13