CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TMLine.h File Reference
#include <string>
#include "TrkReco/TTrackBase.h"
#include "TrkReco/TMLink.h"
#include "TrkReco/TLineFitter.h"
#include "CLHEP/Geometry/Point3D.h"

Go to the source code of this file.

Classes

class  TMLine
 A class to represent a track in tracking. More...
 

Macros

#define HEP_SHORT_NAMES
 
#define TMLine_INLINE_DEFINE_HERE
 

Typedefs

typedef HepGeom::Point3D< double > HepPoint3D
 

Functions

int SortByB (const void *a, const void *b)
 Sorter.
 

Macro Definition Documentation

◆ HEP_SHORT_NAMES

#define HEP_SHORT_NAMES

Definition at line 24 of file TMLine.h.

◆ TMLine_INLINE_DEFINE_HERE

#define TMLine_INLINE_DEFINE_HERE

Definition at line 140 of file TMLine.h.

Typedef Documentation

◆ HepPoint3D

typedef HepGeom::Point3D<double> HepPoint3D

Definition at line 34 of file TMLine.h.

Function Documentation

◆ SortByB()

int SortByB ( const void * a,
const void * b )

Sorter.

Definition at line 648 of file TMLine.cxx.

648 {
649 const TMLine ** a((const TMLine **) av);
650 const TMLine ** b((const TMLine **) bv);
651 if (fabs((* a)->b()) > fabs((* b)->b()))
652 return 1;
653 else if (fabs((* a)->b()) == fabs((* b)->b()))
654 return 0;
655 else
656 return -1;
657}
A class to represent a track in tracking.
Definition TMLine.h:40

Referenced by TBuilder::searchInitialLines().