FairRoot/PandaRoot
Static Public Member Functions | Static Public Attributes | List of all members
qualityNumbers Struct Reference

Holding statically callable quality numbers. More...

#include <PndTrackingQA.h>

Static Public Member Functions

static std::string QualityNumberToString (int qNumber)
 

Static Public Attributes

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 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 kMcAllTracksWithHits = -12
 
static const int kMcAllTracks = -13
 
static const int kSpuriousFound = 1
 
static const int kPartiallyFound = 2
 
static const int kFullyFound = 3
 
static const int kGhost = 5
 
static const int kNotFound = 7
 
static const int kFound = 8
 

Detailed Description

Holding statically callable quality numbers.

Per event, a track can have a certain quality. On a MC level, it can be below a threshold to be even found. If found, it can be found fully, or partially. The struct holds the identifiers needed to categorize tracks. The rough idea is: Positive numbers are referring to reconstructed tracks, negative numbers to track before reconstruction. The five numbers from -5 to -1 are repeating from -11 to -7 and there referring to monte carlo data.

Definition at line 39 of file PndTrackingQA.h.

Member Function Documentation

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

Definition at line 68 of file PndTrackingQA.h.

References kAtLeastThreePrim, kAtLeastThreeSec, kFound, kFullyFound, kGhost, kLessThanThreePrim, kMcAllTracks, kMcAllTracksWithHits, kMcAtLeastThreePrim, kMcAtLeastThreeSec, kMcLessThanThreePrim, kMcPossibleSec, kNotFound, kPartiallyFound, kPossiblePrim, kPossibleSec, and kSpuriousFound.

Referenced by PndTrackingQA::PrintTrackMCStatusMap(), and PndTrackingQA::PrintTrackQualityMap().

69  {
70  if (qNumber == kPossiblePrim) return "PossiblePrimary";
71  if (qNumber == kPossibleSec) return "PossibleSec";
72  if (qNumber == kAtLeastThreeSec) return "AtLeastThreeSec";
73  if (qNumber == kAtLeastThreePrim) return "AtLeastThreePrim";
74  if (qNumber == kLessThanThreePrim) return "LessThanThreePrim";
75  if (qNumber == kMcPossibleSec) return "McPossibleSec";
76  if (qNumber == kMcAtLeastThreeSec) return "McAtLeastThreeSec";
77  if (qNumber == kMcAtLeastThreePrim) return "McAtLeastThreePrim";
78  if (qNumber == kMcLessThanThreePrim) return "McLessThanThreePrim";
79  if (qNumber == kMcAllTracksWithHits) return "McAllTracksWithHits";
80  if (qNumber == kMcAllTracks) return "McAllTracks";
81  if (qNumber == kSpuriousFound) return "SpuriousFound";
82  if (qNumber == kPartiallyFound) return "PartiallyFound";
83  if (qNumber == kFullyFound) return "FullyFound";
84  if (qNumber == kGhost) return "Ghost";
85  if (qNumber == kNotFound) return "NotFound";
86  if (qNumber == kFound) return "Found";
87  return std::to_string(qNumber);
88  };
static const int kMcAtLeastThreeSec
Definition: PndTrackingQA.h:52
static const int kGhost
Definition: PndTrackingQA.h:63
static const int kLessThanThreePrim
Definition: PndTrackingQA.h:47
static const int kPossiblePrim
Definition: PndTrackingQA.h:44
static const int kAtLeastThreeSec
Definition: PndTrackingQA.h:45
static const int kPartiallyFound
Definition: PndTrackingQA.h:60
static const int kMcPossibleSec
Definition: PndTrackingQA.h:50
static const int kPossibleSec
Definition: PndTrackingQA.h:43
static const int kAtLeastThreePrim
Definition: PndTrackingQA.h:46
static const int kMcLessThanThreePrim
Definition: PndTrackingQA.h:54
static const int kMcAllTracksWithHits
Definition: PndTrackingQA.h:55
static const int kFullyFound
Definition: PndTrackingQA.h:61
static const int kFound
Definition: PndTrackingQA.h:66
static const int kMcAllTracks
Definition: PndTrackingQA.h:56
static const int kMcAtLeastThreePrim
Definition: PndTrackingQA.h:53
static const int kSpuriousFound
Definition: PndTrackingQA.h:59
static const int kNotFound
Definition: PndTrackingQA.h:65

Member Data Documentation

const int qualityNumbers::kAtLeastThreePrim = -4
static
const int qualityNumbers::kAtLeastThreeSec = -3
static
const int qualityNumbers::kFound = 8
static
const int qualityNumbers::kFullyFound = 3
static
const int qualityNumbers::kGhost = 5
static
const int qualityNumbers::kLessThanThreePrim = -5
static
const int qualityNumbers::kMcAllTracks = -13
static

Definition at line 56 of file PndTrackingQA.h.

Referenced by QualityNumberToString().

const int qualityNumbers::kMcAllTracksWithHits = -12
static
const int qualityNumbers::kMcAtLeastThreePrim = -10
static
const int qualityNumbers::kMcAtLeastThreeSec = -9
static
const int qualityNumbers::kMcLessThanThreePrim = -11
static
const int qualityNumbers::kMcPossiblePrim = -8
static
const int qualityNumbers::kMcPossibleSec = -7
static
const int qualityNumbers::kNotFound = 7
static
const int qualityNumbers::kPartiallyFound = 2
static
const int qualityNumbers::kPossiblePrim = -2
static
const int qualityNumbers::kPossibleSec = -1
static
const int qualityNumbers::kSpuriousFound = 1
static

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