BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHelixFitter.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: TrkHelixFitter.h,v 1.4 2011/02/17 11:54:59 maqm Exp $
4//
5// Description:
6// Fit track to helix or circle. Flags allow fitter to add and drop
7// hits (i.e. make them active or inactive), and (in the case of
8// MDC hits) flip their ambiguities.
9// Produces an error matrix, but does not (currently) handle multiple
10// scattering.
11//
12// Environment:
13// Software developed for the BaBar Detector at the SLAC B-Factory.
14//
15// Author(s): Steve Schaffner
16//
17//------------------------------------------------------------------------
18#ifndef TRKHELIXFITTER_H
19#define TRKHELIXFITTER_H
20
22class TrkRecoTrk;
23class TrkSimpTraj;
24class TrkHitOnTrk;
25class TrkErrCode;
26class TrkHotList;
27
28// Class definition//
30
31public:
32 TrkHelixFitter(bool allowFlips=false, bool allowDrops=false);
33 virtual ~TrkHelixFitter();
36
38 void setFittingPar(bool allowFlips, bool allowDrops);
39 double lastChisq() const {return _lastChisq;}
40 static bool m_debug;
41 static double nSigmaCut[43];
42
43private:
44 bool _allowDrops;
45 bool _allowFlips;
46 double _lastChisq;
47
48 void setLastChisq(double l) {_lastChisq = l;}
49};
50
51#endif
52
53
virtual ~TrkHelixFitter()
static bool m_debug
double lastChisq() const
TrkHelixFitter & operator=(const TrkHelixFitter &right)
TrkErrCode fit(TrkHotList &hitList, TrkSimpTraj &)
static double nSigmaCut[43]
void setFittingPar(bool allowFlips, bool allowDrops)