CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrkReco/TrkReco/TTrackMC.h File Reference
#include <string>
#include "CLHEP/Alist/AList.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/LorentzVector.h"

Go to the source code of this file.

Classes

class  TTrackMC
 A class to have MC information of TTrack. More...
 

Macros

#define TTrackClassified   1
 
#define TTrackGarbage   1
 
#define TTrackCharge   2
 
#define TTrackBad   4
 
#define TTrackGhost   8
 
#define TTrackGood   16
 
#define TTrackHep   65536
 
#define TTrackWire   131072
 
#define TTrackPt   524288
 
#define TTrackPz   1048576
 
#define TTrackUnique   2097152
 
#define TTrackMatchingLoose   4194304
 
#define TTrackMatchingTight   8388608
 
#define HEP_SHORT_NAMES
 
#define TTrackMC_INLINE_DEFINE_HERE
 

Functions

std::string TrackMCStatus (const TTrackMC &)
 
std::string TrackMCStatus (const MdcRec_mctrk &)
 
std::string TrackMCQualityString (unsigned quality)
 

Macro Definition Documentation

◆ HEP_SHORT_NAMES

#define HEP_SHORT_NAMES

◆ TTrackBad

#define TTrackBad   4

◆ TTrackCharge

#define TTrackCharge   2

◆ TTrackClassified

#define TTrackClassified   1

◆ TTrackGarbage

#define TTrackGarbage   1

◆ TTrackGhost

#define TTrackGhost   8

◆ TTrackGood

#define TTrackGood   16

◆ TTrackHep

#define TTrackHep   65536

◆ TTrackMatchingLoose

#define TTrackMatchingLoose   4194304

◆ TTrackMatchingTight

#define TTrackMatchingTight   8388608

◆ TTrackMC_INLINE_DEFINE_HERE

#define TTrackMC_INLINE_DEFINE_HERE

◆ TTrackPt

#define TTrackPt   524288

◆ TTrackPz

#define TTrackPz   1048576

◆ TTrackUnique

#define TTrackUnique   2097152

◆ TTrackWire

#define TTrackWire   131072

Function Documentation

◆ TrackMCQualityString()

std::string TrackMCQualityString ( unsigned  quality)

Definition at line 313 of file TTrackMC.cxx.

313 {
314 if (quality & TTrackGood) return std::string("Good");
315 else if (quality & TTrackGhost) return std::string("Ghost");
316 else if (quality & TTrackBad) return std::string("Bad");
317 else if (quality & TTrackCharge) return std::string("Charge");
318 else if (quality & TTrackGarbage) return std::string("Garbage");
319 return std::string("Unknown");
320}

◆ TrackMCStatus() [1/2]

std::string TrackMCStatus ( const MdcRec_mctrk m)

Definition at line 308 of file TTrackMC.cxx.

308 {
309 return TrackMCStatus(m.quality);
310}
std::string TrackMCStatus(unsigned quality)
Definition: TTrackMC.cxx:290

◆ TrackMCStatus() [2/2]

std::string TrackMCStatus ( const TTrackMC m)

Definition at line 303 of file TTrackMC.cxx.

303 {
304 return TrackMCStatus(m.quality());
305}
unsigned quality(void) const
returns quality.