BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TBuilderCosmic.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// $Id: TBuilderCosmic.h,v 1.6 2010/03/31 09:58:59 liucy Exp $
3//-----------------------------------------------------------------------------
4// Filename : TBuilderCosmic.h
5// Section : Tracking
6// Owner : Yoshi Iwasaki
7// Email : [email protected]
8//-----------------------------------------------------------------------------
9// Description : A class to build a cosmic track.
10// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11//-----------------------------------------------------------------------------
12
13#ifndef TBuilderCosmic_FLAG_
14#define TBuilderCosmic_FLAG_
15
16#ifdef TRKRECO_DEBUG_DETAIL
17#ifndef TRKRECO_DEBUG
18#define TRKRECO_DEBUG
19#endif
20#endif
21
22//#ifndef LINE_COSMIC
23//#define LINE_COSMIC
24//#endif
25
26#include <string>
27
28#define HEP_SHORT_NAMES
29#include "CLHEP/Alist/AList.h"
30#include "TrkReco/TMSelector.h"
31#include "TrkReco/TBuilder0.h"
34
35/// A class to build a cosmic track.
36class TBuilderCosmic : public TBuilder0 {
37
38 public:
39 /// Constructor.
40 TBuilderCosmic(const std::string & name, float salvageLevel);
41
42 /// Destructor
43 virtual ~TBuilderCosmic();
44
45 public:// Selectors
46 /// appends stereo hits to a track.
47 TTrack * buildStereo(TTrack & track, const AList<TMLink> &) const;
48
49 private:
50#ifdef LINE_COSMIC
51 T3DLineFitter _fitter;
52#else
53 //THelixFitter _fitter;
54 TCosmicFitter _fitter;
55#endif
56};
57
58//-----------------------------------------------------------------------------
59
60#ifdef TBuilderCosmic_NO_INLINE
61#define inline
62#else
63#undef inline
64#define TBuilderCosmic_INLINE_DEFINE_HERE
65#endif
66
67#ifdef TBuilderCosmic_INLINE_DEFINE_HERE
68
69#endif
70
71#undef inline
72
73#endif /* TBuilderCosmic_FLAG_ */
A class to fit a TTrackBase object to a 3D line.
Definition: T3DLineFitter.h:41
A class to build a track.
Definition: TBuilder0.h:35
const std::string & name(void) const
returns name.
Definition: TBuilder0.h:137
A class to build a cosmic track.
virtual ~TBuilderCosmic()
Destructor.
TTrack * buildStereo(TTrack &track, const AList< TMLink > &) const
appends stereo hits to a track.
A class to fit a TTrackBase object to a helix.
Definition: TCosmicFitter.h:45
A class to represent a track in tracking.
Definition: TTrack.h:129