Hit object for use in TrackCand. Provides IDs and sorting parameters.
More...
#include <TrackCandHit.h>
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Definition at line 34 of file TrackCandHit.h.
◆ TrackCandHit() [1/2]
genfit::TrackCandHit::TrackCandHit |
( |
int |
detId = -1 , |
|
|
int |
hitId = -1 , |
|
|
int |
planeId = -1 , |
|
|
double |
sortingParameter = 0. |
|
) |
| |
◆ ~TrackCandHit()
virtual genfit::TrackCandHit::~TrackCandHit |
( |
| ) |
|
|
inlinevirtual |
◆ TrackCandHit() [2/2]
genfit::TrackCandHit::TrackCandHit |
( |
const TrackCandHit & |
other | ) |
|
|
inlineprotected |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
Definition at line 75 of file TrackCandHit.h.
◆ clone()
virtual TrackCandHit * genfit::TrackCandHit::clone |
( |
| ) |
const |
|
inlinevirtual |
◆ getDetId()
int genfit::TrackCandHit::getDetId |
( |
| ) |
const |
|
inline |
◆ getHitId()
int genfit::TrackCandHit::getHitId |
( |
| ) |
const |
|
inline |
◆ getPlaneId()
int genfit::TrackCandHit::getPlaneId |
( |
| ) |
const |
|
inline |
◆ getSortingParameter()
double genfit::TrackCandHit::getSortingParameter |
( |
| ) |
const |
|
inline |
◆ operator=()
protect from calling assignment operator from outside the class. Use clone() instead!
◆ Print()
void genfit::TrackCandHit::Print |
( |
Option_t * |
option = "" | ) |
const |
|
virtual |
◆ setSortingParameter()
void genfit::TrackCandHit::setSortingParameter |
( |
double |
sortingParameter | ) |
|
|
inline |
◆ operator!=
Definition at line 62 of file TrackCandHit.h.
62 {
63 return !(lhs == rhs);
64 }
◆ operator<
Compare sortingParameter, needed for sorting.
Definition at line 68 of file TrackCandHit.h.
68 {
69 return (lhs.sortingParameter_ < rhs.sortingParameter_);
70 }
◆ operator==
Equality operator. Does not check sortingParameter.
Definition at line 47 of file TrackCandHit.cc.
47 {
48 if(lhs.detId_ == rhs.detId_ &&
49 lhs.hitId_ == rhs.hitId_ &&
50 lhs.planeId_ == rhs.planeId_)
51 return true;
52 return false;
53}
◆ detId_
int genfit::TrackCandHit::detId_ |
|
protected |
◆ hitId_
int genfit::TrackCandHit::hitId_ |
|
protected |
◆ planeId_
int genfit::TrackCandHit::planeId_ |
|
protected |
◆ sortingParameter_
double genfit::TrackCandHit::sortingParameter_ |
|
protected |
The documentation for this class was generated from the following files: