BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/TrkReco/include/TrkReco/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 : yoshihito.iwasaki@kek.jp
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/TBuilder0.h"
22#include "TrkReco/TFinderBase.h"
23class TMLink;
24
25/// A class to find tracks with the conformal method.
26class TFastFinder : public TFinderBase {
27
28public:
29 /// Constructor.
31
32 /// Destructor
33 virtual ~TFastFinder();
34
35public: // 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
46public: // Modifiers
47 /// clear internal information.
48 void clear( void );
49
50 /// finds tracks.
51 int doit( const AList<TMDCWireHit>& axialHits, const AList<TMDCWireHit>& stereoHits,
52 AList<TTrack>& tracks );
53
54private:
55 /// selects isolated hits.(conf.finder type)
56 void selectHits( const AList<TMDCWireHit>& axialHits, const AList<TMDCWireHit>& stereoHits );
57
58 /// selects isolated hits.(calling selectSimpleSegments)
59 void selectHits2( const AList<TMDCWireHit>& axialHits,
60 const AList<TMDCWireHit>& stereoHits );
61
62 /// selects simple segments.
63 void selectSimpleSegments( const AList<TMDCWireHit>& hits,
65
66 /// finds close hits.
67 AList<TMLink> findCloseHits( const AList<TMLink>& links, const TTrack& track ) const;
68
69private:
70 AList<TMDCWireHit> _axialHits;
71 AList<TMDCWireHit> _stereoHits;
72 AList<TMLink> _axialLinks;
73 AList<TMLink> _stereoLinks;
74
75 TBuilder0 _builder;
76 TMSelector _selector;
77};
78
79//-----------------------------------------------------------------------------
80
81#ifdef TFastFinder_NO_INLINE
82# define inline
83#else
84# undef inline
85# define TFastFinder_INLINE_DEFINE_HERE
86#endif
87
88#ifdef TFastFinder_INLINE_DEFINE_HERE
89
90inline std::string TFastFinder::name( void ) const { return "Fast Finder"; }
91
92#endif
93
94#undef inline
95
96#endif /* TFastFinder_FLAG_ */
*******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 find tracks with the conformal method.
std::string version(void) const
returns version.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
void clear(void)
clear internal information.
int doit(const AList< TMDCWireHit > &axialHits, const AList< TMDCWireHit > &stereoHits, AList< TTrack > &tracks)
finds tracks.
virtual ~TFastFinder()
Destructor.
std::string name(void) const
returns name.
TFastFinder()
Constructor.
A virtual class for a track finder in tracking.
A class to represent a track in tracking.