23 #ifndef genfit_TrackCandHit_h
24 #define genfit_TrackCandHit_h
41 double sortingParameter = 0.);
56 virtual void Print(Option_t* option =
"")
const;
97 #endif // genfit_TrackCandHit_h
virtual void Print(Option_t *option="") const
friend bool operator!=(const TrackCandHit &lhs, const TrackCandHit &rhs)
virtual TrackCandHit * clone() const
double getSortingParameter() const
Hit object for use in TrackCand. Provides IDs and sorting parameters.
TrackCandHit & operator=(const TrackCandHit &)
protect from calling assignment operator from outside the class. Use clone() instead! ...
TrackCandHit(const TrackCandHit &other)
protect from calling copy c'tor from outside the class. Use clone() if you want a copy! ...
void setSortingParameter(double sortingParameter)
friend bool operator==(const TrackCandHit &lhs, const TrackCandHit &rhs)
Equality operator. Does not check sortingParameter.
friend bool operator<(const TrackCandHit &lhs, const TrackCandHit &rhs)
Compare sortingParameter, needed for sorting.
Defines for I/O streams used for error and debug printing.
TrackCandHit(int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.)