BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TFastFinder.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// $Id: TFastFinder.h,v 1.5 2010/03/31 09:58:59 liucy Exp $
3//-----------------------------------------------------------------------------
4// Filename : TFastFinder.h
5// Section : Tracking
6// Owner : Yoshi Iwasaki
7// Email : [email protected]
8//-----------------------------------------------------------------------------
9// Description : A class to find tracks with the conformal method.
10// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11//-----------------------------------------------------------------------------
12
13#ifndef TFastFinder_FLAG_
14#define TFastFinder_FLAG_
15
16#ifdef TRKRECO_DEBUG_DETAIL
17#ifndef TRKRECO_DEBUG
18#define TRKRECO_DEBUG
19#endif
20#endif
21#include "TrkReco/TFinderBase.h"
22#include "TrkReco/TBuilder0.h"
23class TMLink;
24
25/// A class to find tracks with the conformal method.
26class TFastFinder : public TFinderBase {
27
28 public:
29 /// Constructor.
31
32 /// Destructor
33 virtual ~TFastFinder();
34
35 public:// Selectors
36 /// returns name.
37 std::string name(void) const;
38
39 /// returns version.
40 std::string version(void) const;
41
42 /// dumps debug information.
43 void dump(const std::string & message = std::string(""),
44 const std::string & prefix = std::string("")) const;
45
46 public:// Modifiers
47 /// clear internal information.
48 void clear(void);
49
50 /// finds tracks.
51 int doit(const AList<TMDCWireHit> & axialHits,
52 const AList<TMDCWireHit> & stereoHits,
53 AList<TTrack> & tracks);
54
55 private:
56 /// selects isolated hits.(conf.finder type)
57 void selectHits(const AList<TMDCWireHit> & axialHits,
58 const AList<TMDCWireHit> & stereoHits);
59
60 /// selects isolated hits.(calling selectSimpleSegments)
61 void selectHits2(const AList<TMDCWireHit> & axialHits,
62 const AList<TMDCWireHit> & stereoHits);
63
64 /// selects simple segments.
65 void selectSimpleSegments(const AList<TMDCWireHit> & hits,
67
68 /// finds close hits.
69 AList<TMLink> findCloseHits(const AList<TMLink> & links,
70 const TTrack & track) const;
71
72 private:
73 AList<TMDCWireHit> _axialHits;
74 AList<TMDCWireHit> _stereoHits;
75 AList<TMLink> _axialLinks;
76 AList<TMLink> _stereoLinks;
77
78 TBuilder0 _builder;
79 TMSelector _selector;
80};
81
82//-----------------------------------------------------------------------------
83
84#ifdef TFastFinder_NO_INLINE
85#define inline
86#else
87#undef inline
88#define TFastFinder_INLINE_DEFINE_HERE
89#endif
90
91#ifdef TFastFinder_INLINE_DEFINE_HERE
92
93inline
94std::string
95TFastFinder::name(void) const {
96 return "Fast Finder";
97}
98
99#endif
100
101#undef inline
102
103#endif /* TFastFinder_FLAG_ */
104
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per saves r n generator level $ !Flag for chat level in output
Definition: FoamA.h:89
A class to build a track.
Definition: TBuilder0.h:35
A class to find tracks with the conformal method.
Definition: TFastFinder.h:26
std::string version(void) const
returns version.
Definition: TFastFinder.cxx:35
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
Definition: TFastFinder.cxx:40
void clear(void)
clear internal information.
Definition: TFastFinder.cxx:46
int doit(const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks)
finds tracks.
Definition: TFastFinder.cxx:54
virtual ~TFastFinder()
Destructor.
Definition: TFastFinder.cxx:31
std::string name(void) const
returns name.
Definition: TFastFinder.h:95
TFastFinder()
Constructor.
Definition: TFastFinder.cxx:20
A virtual class for a track finder in tracking.
Definition: TFinderBase.h:31
A class to select a TTrackBase object.
Definition: TMSelector.h:32
A class to represent a track in tracking.
Definition: TTrack.h:129