PandaRoot
TrackingQA::qualityNumbers Struct Reference

#include <PndTrackingQAQualityNumbers.h>

Static Public Member Functions

static std::string QualityNumberToString (int qNumber)
 
static std::string QualityNumberToDetailedString (int qNumber)
 

Static Public Attributes

static const std::array< int, 22 > constexpr listOfNumbers {-14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}
 
static const int kPossibleSec = -1
 
static const int kPossiblePrim = -2
 
static const int kAtLeastThreeSec = -3
 
static const int kAtLeastThreePrim = -4
 
static const int kLessThanThreePrim = -5
 
static const int kLessThanThreeSec = -6
 
static const int kMcPossibleSec = -7
 
static const int kMcPossiblePrim = -8
 
static const int kMcAtLeastThreeSec = -9
 
static const int kMcAtLeastThreePrim = -10
 
static const int kMcLessThanThreePrim = -11
 
static const int kMcLessThanThreeSec = -12
 
static const int kMcAllTracksWithHits = -13
 
static const int kMcAllTracks = -14
 
static const int kPartiallyImpure = 1
 
static const int kPartiallyPure = 2
 
static const int kFullyImpure = 3
 
static const int kFullyPure = 4
 
static const int kGhost = 5
 
static const int kClone = 6
 
static const int kNotFound = 7
 
static const int kFound = 8
 

Detailed Description

Definition at line 9 of file PndTrackingQAQualityNumbers.h.

Member Function Documentation

◆ QualityNumberToDetailedString()

static std::string TrackingQA::qualityNumbers::QualityNumberToDetailedString ( int  qNumber)
inlinestatic

Definition at line 69 of file PndTrackingQAQualityNumbers.h.

References TrackingQA::GetRecoQuality(), kAtLeastThreePrim, kAtLeastThreeSec, kClone, kFound, kFullyImpure, kFullyPure, kGhost, kLessThanThreePrim, kLessThanThreeSec, kMcAllTracks, kMcAllTracksWithHits, kMcAtLeastThreePrim, kMcAtLeastThreeSec, kMcLessThanThreePrim, kMcLessThanThreeSec, kMcPossiblePrim, kMcPossibleSec, kNotFound, kPartiallyImpure, kPartiallyPure, kPossiblePrim, kPossibleSec, and TrackingQA::RecoTrackFound().

70  {
71  switch (qNumber) {
72 
73  case kFullyPure: return "Fully Purely found"; break;
74  case kFullyImpure: return "Fully Impurely found"; break;
75  case kPartiallyPure: return "Partially Purely found"; break;
76  case kPartiallyImpure: return "Partially Impurely found"; break;
77  case kGhost: return "Ghosts"; break;
78  case kClone: return "Clones"; break;
79  case kNotFound: return "Total not found"; break;
80  case kFound: return "Total found"; break;
81  case kPossibleSec: return "Possible, Sec."; break;
82  case kPossiblePrim: return "Possible, Prim."; break;
83  case kAtLeastThreeSec: return ">= 3 Hits, Sec."; break;
84  case kAtLeastThreePrim: return ">= 3 Hits, Prim."; break;
85  case kLessThanThreePrim: return "< 3 Hits, Prim."; break;
86  case kLessThanThreeSec: return "< 3 Hits, Sec."; break;
87  case kMcPossibleSec: return "MC: Possible, Sec."; break;
88  case kMcPossiblePrim: return "MC: Possible, Prim."; break;
89  case kMcAtLeastThreeSec: return "MC: >= 3 Hits, Sec."; break;
90  case kMcAtLeastThreePrim: return "MC: >= 3 Hits, Prim."; break;
91  case kMcLessThanThreePrim: return "MC: < 3 Hits, Prim."; break;
92  case kMcLessThanThreeSec: return "MC: < 3 Hits, Sec."; break;
93  case kMcAllTracksWithHits: return "All tracks with MC hits"; break;
94  case kMcAllTracks: return "All tracks"; break;
95  default: {
96  return std::to_string(qNumber);
97  }
98  }
99  };

◆ QualityNumberToString()

static std::string TrackingQA::qualityNumbers::QualityNumberToString ( int  qNumber)
inlinestatic

Definition at line 38 of file PndTrackingQAQualityNumbers.h.

References kAtLeastThreePrim, kAtLeastThreeSec, kClone, kFound, kFullyImpure, kFullyPure, kGhost, kLessThanThreePrim, kLessThanThreeSec, kMcAllTracks, kMcAllTracksWithHits, kMcAtLeastThreePrim, kMcAtLeastThreeSec, kMcLessThanThreePrim, kMcLessThanThreeSec, kMcPossiblePrim, kMcPossibleSec, kNotFound, kPartiallyImpure, kPartiallyPure, kPossiblePrim, and kPossibleSec.

39  {
40  switch (qNumber) {
41  case kPossiblePrim: return "PossiblePrimary"; break;
42  case kPossibleSec: return "PossibleSec"; break;
43  case kAtLeastThreeSec: return "AtLeastThreeSec"; break;
44  case kAtLeastThreePrim: return "AtLeastThreePrim"; break;
45  case kLessThanThreePrim: return "LessThanThreePrim"; break;
46  case kLessThanThreeSec: return "LessThanThreeSec"; break;
47  case kMcPossiblePrim: return "McPossiblePrimary"; break;
48  case kMcPossibleSec: return "McPossibleSec"; break;
49  case kMcAtLeastThreeSec: return "McAtLeastThreeSec"; break;
50  case kMcAtLeastThreePrim: return "McAtLeastThreePrim"; break;
51  case kMcLessThanThreePrim: return "McLessThanThreePrim"; break;
52  case kMcLessThanThreeSec: return "McLessThanThreeSec"; break;
53  case kMcAllTracksWithHits: return "McAllTracksWithHits"; break;
54  case kMcAllTracks: return "McAllTracks"; break;
55  case kPartiallyImpure: return "PartiallyImpure"; break;
56  case kPartiallyPure: return "PartiallyPure"; break;
57  case kFullyPure: return "FullyPure"; break;
58  case kFullyImpure: return "FullyImpure"; break;
59  case kGhost: return "Ghost"; break;
60  case kClone: return "Clone"; break;
61  case kNotFound: return "NotFound"; break;
62  case kFound: return "Found"; break;
63  default: {
64  return std::to_string(qNumber);
65  }
66  }
67  };

Member Data Documentation

◆ kAtLeastThreePrim

const int TrackingQA::qualityNumbers::kAtLeastThreePrim = -4
static

◆ kAtLeastThreeSec

const int TrackingQA::qualityNumbers::kAtLeastThreeSec = -3
static

◆ kClone

const int TrackingQA::qualityNumbers::kClone = 6
static

◆ kFound

const int TrackingQA::qualityNumbers::kFound = 8
static

◆ kFullyImpure

const int TrackingQA::qualityNumbers::kFullyImpure = 3
static

◆ kFullyPure

const int TrackingQA::qualityNumbers::kFullyPure = 4
static

◆ kGhost

const int TrackingQA::qualityNumbers::kGhost = 5
static

◆ kLessThanThreePrim

const int TrackingQA::qualityNumbers::kLessThanThreePrim = -5
static

◆ kLessThanThreeSec

const int TrackingQA::qualityNumbers::kLessThanThreeSec = -6
static

◆ kMcAllTracks

const int TrackingQA::qualityNumbers::kMcAllTracks = -14
static

◆ kMcAllTracksWithHits

const int TrackingQA::qualityNumbers::kMcAllTracksWithHits = -13
static

◆ kMcAtLeastThreePrim

const int TrackingQA::qualityNumbers::kMcAtLeastThreePrim = -10
static

◆ kMcAtLeastThreeSec

const int TrackingQA::qualityNumbers::kMcAtLeastThreeSec = -9
static

◆ kMcLessThanThreePrim

const int TrackingQA::qualityNumbers::kMcLessThanThreePrim = -11
static

◆ kMcLessThanThreeSec

const int TrackingQA::qualityNumbers::kMcLessThanThreeSec = -12
static

◆ kMcPossiblePrim

const int TrackingQA::qualityNumbers::kMcPossiblePrim = -8
static

◆ kMcPossibleSec

const int TrackingQA::qualityNumbers::kMcPossibleSec = -7
static

◆ kNotFound

const int TrackingQA::qualityNumbers::kNotFound = 7
static

◆ kPartiallyImpure

const int TrackingQA::qualityNumbers::kPartiallyImpure = 1
static

◆ kPartiallyPure

const int TrackingQA::qualityNumbers::kPartiallyPure = 2
static

◆ kPossiblePrim

const int TrackingQA::qualityNumbers::kPossiblePrim = -2
static

◆ kPossibleSec

const int TrackingQA::qualityNumbers::kPossibleSec = -1
static

◆ listOfNumbers

const std::array<int, 22> constexpr TrackingQA::qualityNumbers::listOfNumbers {-14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8}
static

Definition at line 10 of file PndTrackingQAQualityNumbers.h.


The documentation for this struct was generated from the following file: