QwAnalysis
QwTrackingTreeSort.h
Go to the documentation of this file.
1 /**
2  * \class QwTrackingTreeSort QwTrackingTreeSort.h
3  *
4  * \brief This module is used to identify good track segments versus ghost tracks/hits.
5  *
6  * \date Sun May 24 14:29:42 CDT 2009
7  *
8  */
9 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
10 
11 #ifndef QWTRACKINGTREESORT_H
12 #define QWTRACKINGTREESORT_H
13 
14 // Standard C and C++ headers
15 #include <iostream>
16 #include "QwTrackingTree.h"
17 #include "QwPartialTrack.h"
18 
19 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
20 ///
21 /// \ingroup QwTracking
23 
24  public:
25 
27  virtual ~QwTrackingTreeSort();
28 
29  void SetDebugLevel (const int debuglevel) { fDebug = debuglevel; };
30 
31  double doubletrack;
32  int good;
33 
34  int rcTreeConnSort (QwTreeLine *head, EQwRegionID region);
35  int connectiv( char *ca, int *array, int *isvoid, char size, int idx );
36  int rcCommonWires(const QwTreeLine *line1, const QwTreeLine *line2 );
37  int rcCommonWires_r3(const QwTreeLine *line1, const QwTreeLine *line2 );
38  int connectarray( char *ca, int *array, int *isvoid, char size, int idx );
39  void bestunconnected( char *ca, int *array, int *isvoid, double *chia,
40  int size, int idx);
41  int bestconnected( char *ca, int *array, int *isvoid, double *chia,
42  int size, int idx);
43  int globalconnectiv( char *ca, int *array, int *isvoid, int size, int idx);
44 
45 
46 
47  int rcPartConnSort (std::vector<QwPartialTrack*> head);
48  int rcPTCommonWires (const QwPartialTrack *track1, const QwPartialTrack *track2);
49 
50  private:
51 
52  int fDebug;
53 
54 
55 }; // class QwTrackingTreeSort
56 
57 #endif // QWTRACKINGTREESORT_H
58 
59 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
int rcCommonWires(const QwTreeLine *line1, const QwTreeLine *line2)
Counts the number of common wires shared between two tree lines.
int connectarray(char *ca, int *array, int *isvoid, char size, int idx)
int connectiv(char *ca, int *array, int *isvoid, char size, int idx)
int rcTreeConnSort(QwTreeLine *head, EQwRegionID region)
The best (by chi^2) treelines are select.
Definition of the partial track class.
void bestunconnected(char *ca, int *array, int *isvoid, double *chia, int size, int idx)
EQwRegionID
Definition: QwTypes.h:16
int rcPartConnSort(std::vector< QwPartialTrack * > head)
This module is used to identify good track segments versus ghost tracks/hits.
void SetDebugLevel(const int debuglevel)
One-dimensional (u, v, or x) track stubs and associated hits.
Definition: QwTreeLine.h:51
int rcPTCommonWires(const QwPartialTrack *track1, const QwPartialTrack *track2)
Definition of the track search tree.
int bestconnected(char *ca, int *array, int *isvoid, double *chia, int size, int idx)
int globalconnectiv(char *ca, int *array, int *isvoid, int size, int idx)
Contains the straight part of a track in one region only.
int rcCommonWires_r3(const QwTreeLine *line1, const QwTreeLine *line2)