23 #ifndef genfit_TrackCandHit_h
24 #define genfit_TrackCandHit_h
41 double sortingParameter = 0.);
48 int getDetId()
const {
return detId_;}
49 int getHitId()
const {
return hitId_;}
50 int getPlaneId()
const {
return planeId_;}
51 double getSortingParameter()
const {
return sortingParameter_;}
54 void setSortingParameter(
double sortingParameter) {sortingParameter_ = sortingParameter;}
56 virtual void Print(Option_t* option =
"")
const;
69 return (lhs.sortingParameter_ < rhs.sortingParameter_);
76 TObject(other), detId_(other.detId_), hitId_(other.hitId_), planeId_(other.planeId_), sortingParameter_(other.sortingParameter_) {;}
85 double sortingParameter_;
Hit object for use in TrackCand.
TrackCandHit(const TrackCandHit &other)
protect from calling copy c'tor from outside the class. Use #clone() if you want a copy!
TrackCandHit & operator=(const TrackCandHit &)
protect from calling assignment operator from outside the class. Use #clone() instead!
friend bool operator<(const TrackCandHit &lhs, const TrackCandHit &rhs)
Compare sortingParameter, needed for sorting.
friend bool operator==(const TrackCandHit &lhs, const TrackCandHit &rhs)
Equality operator.
Defines for I/O streams used for error and debug printing.