CMS 3D CMS Logo

IdxChi2List.h
Go to the documentation of this file.
1 #ifndef RecoTracker_MkFitCore_interface_IdxChi2List_h
2 #define RecoTracker_MkFitCore_interface_IdxChi2List_h
3 
4 namespace mkfit {
5 
6  struct IdxChi2List {
7  public:
8  unsigned int module; // module id
9  int hitIdx; // hit index
10  int trkIdx; // candidate index
11  int nhits; // number of hits (used for sorting)
12  int ntailholes; // number of holes at the end of the track (used for sorting)
13  int noverlaps; // number of overlaps (used for sorting)
14  int nholes; // number of holes (used for sorting)
15  float pt; // pt (used for sorting)
16  float chi2; // total chi2 (used for sorting)
17  float chi2_hit; // chi2 of the added hit
18  float score; // score used for candidate ranking
19 
20  // Zero initialization
21  void reset() {
22  module = 0u;
23  hitIdx = trkIdx = 0;
24  nhits = ntailholes = noverlaps = nholes = 0;
25  pt = chi2 = chi2_hit = score = 0;
26  }
27  };
28 
29 } // namespace mkfit
30 
31 #endif
unsigned int module
Definition: IdxChi2List.h:8