PandaRoot
TtLinFitTask.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 TTLINFITTASK_H
17
#define TTLINFITTASK_H
18
19
// Base Class Headers ----------------
20
#include "FairTask.h"
21
#include <TGraph2D.h>
22
#include <TGraph2DErrors.h>
23
#include "TH1F.h"
24
25
// Collaborating Class Headers -------
26
#include <map>
27
#include "TString.h"
28
#include <iostream>
29
30
using namespace
std
;
31
32
// Collaborating Class Declarations --
33
class
TClonesArray;
34
class
TGeoManager;
35
36
class
TtLinFitTask
:
public
FairTask {
37
38
public
:
39
// Constructors/Destructors ---------
40
TtLinFitTask
();
41
// TtLinFitTask(const TtLinFitTask& o){};
42
// TtLinFitTask& operator=(const TtLinFitTask& o) { return *this;};
43
virtual
~
TtLinFitTask
();
44
45
virtual
InitStatus Init();
46
47
virtual
void
Exec(Option_t *opt);
48
49
private
:
50
// Input Data------------
51
TClonesArray *fTCandArray;
52
TString fTCandBranchName;
53
54
// Output Data----------
55
TClonesArray *fTrackArray;
56
57
// Bool_t firstIt;
58
59
Int_t fTrackcount;
60
61
Int_t fEvent;
62
63
Double_t fEloss[6];
// energy loss in each sensor
64
65
// Fitting ------------
66
67
void
MyFit(Double_t *x, Double_t *y, Double_t *z, Double_t *Erx, Double_t *Ery, Double_t *Erz, Double_t *par, Double_t &chiX, Double_t &chiY);
68
69
ClassDef(
TtLinFitTask
, 1);
70
};
71
72
#endif
std
STL namespace.
TtLinFitTask
Definition:
TtLinFitTask.h:36
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
detectors
mvd
MvdTracking
LinFit
TtLinFitTask.h
Generated on Fri Nov 22 2024 06:04:46 for PandaRoot by
1.8.13