Belle II Software development
BKLMTrackFinder.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11/* KLM headers. */
12#include <klm/dataobjects/KLMHit2d.h>
13#include <klm/bklm/modules/bklmTracking/BKLMTrackFitter.h>
14
15/* C++ headers. */
16#include <list>
17
18namespace Belle2 {
26
27 public:
28
31
33 explicit BKLMTrackFinder(BKLMTrackFitter* fitter);
34
37
39 void registerFitter(BKLMTrackFitter* fitter);
40
42 bool filter(const std::list<KLMHit2d* >& seed,
43 std::list<KLMHit2d* >& hits,
44 std::list<KLMHit2d* >& track);
45
47 void setGlobalFit(bool localOrGlobal)
48 {
49 m_globalFit = localOrGlobal;
50 }
51
52 protected:
53
56
59
60 private:
61
62 };
63
65} // end of namespace Belle2
track finding procedure
bool filter(const std::list< KLMHit2d * > &seed, std::list< KLMHit2d * > &hits, std::list< KLMHit2d * > &track)
find associated hits and do fit.
void registerFitter(BKLMTrackFitter *fitter)
Register a fitter if not constructed with one.
void setGlobalFit(bool localOrGlobal)
set the fitting mode, local system or global system
bool m_globalFit
do fit in the local system or global system false: local sys; true: global sys.
BKLMTrackFinder()
Default constructor.
BKLMTrackFitter * m_Fitter
pointer to the fitter
track fitting procedure
Abstract base class for different kinds of events.