QwAnalysis
QwBridgingTrackFilter.h
Go to the documentation of this file.
1 /*! \file QwBridgingTrackFilter.h
2  *
3  * \author Jie Pan <jpan@jlab.org>
4  * \author Wouter Deconinck <wdconinc@mit.edu>
5  *
6  * \date Sun May 23 16:43:37 EDT 2010
7  * \brief Definition of the track filter for the bridging methods
8  *
9  * \ingroup QwTracking
10  */
11 
12 #ifndef __QWBRIDGINGTRACKFILTER_H__
13 #define __QWBRIDGINGTRACKFILTER_H__
14 
15 // System headers
16 #include <iostream>
17 #include <vector>
18 
19 // Forward declarations
20 class QwPartialTrack;
21 
22 
23 /**
24  * \class QwBridgingTrackFilter
25  * \ingroup QwTracking
26  * \brief Track filter for the bridging methods
27  *
28  * Not all combinations of front and back tracks lead to a valid bridged
29  * track. This object filters combinations of front and back tracks and
30  * only accepts combinations that satisfy certain criteria.
31  */
33 
34  public:
35 
36  /// \brief Default constructor
38  /// \brief Destructor
39  virtual ~QwBridgingTrackFilter() { };
40 
41  /// List of possible failure modes for the filter
42  enum EStatus {
43  kPass = 0,
52  };
53 
54  /// \brief Filter front and back track combinations
55  EStatus Filter(const QwPartialTrack* front,
56  const QwPartialTrack* back) const;
57 
58  /// \todo Setters for the filter angle boundaries (wdc)
59 
60  private:
61 
62  /// Angle and position boundaries for the filter
63  double fMinTheta;
64  double fMaxTheta;
65  double fMinPhi;
66  double fMaxPhi;
67  double fMinDiffTheta;
68  double fMaxDiffTheta;
69  double fMinDiffPhi;
70  double fMaxDiffPhi;
71  double fMinVertexZ;
72  double fMaxVertexZ;
73 
74 }; // class QwBridgingTrackFilter
75 
76 #endif // __QWBRIDGINGTRACKFILTER_H__
double fMinTheta
Angle and position boundaries for the filter.
virtual ~QwBridgingTrackFilter()
Destructor.
QwBridgingTrackFilter()
Default constructor.
EStatus Filter(const QwPartialTrack *front, const QwPartialTrack *back) const
Filter front and back track combinations.
Track filter for the bridging methods.
EStatus
List of possible failure modes for the filter.
Contains the straight part of a track in one region only.