23 #ifndef genfit_TrackCandHit_h 24 #define genfit_TrackCandHit_h 36 TrackCandHit(
int detId = -1,
int hitId = -1,
int planeId = -1,
double sortingParameter = 0.);
51 virtual void Print(Option_t *option =
"")
const;
81 #endif // genfit_TrackCandHit_h
double getSortingParameter() const
virtual TrackCandHit * clone() const
TrackCandHit(int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.)
TrackCandHit(const TrackCandHit &other)
protect from calling copy c'tor from outside the class. Use clone() if you want a copy! ...
friend bool operator!=(const TrackCandHit &lhs, const TrackCandHit &rhs)
Hit object for use in TrackCand. Provides IDs and sorting parameters.
virtual void Print(Option_t *option="") const
friend bool operator<(const TrackCandHit &lhs, const TrackCandHit &rhs)
Compare sortingParameter, needed for sorting.
void setSortingParameter(double sortingParameter)
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)
Equality operator. Does not check sortingParameter.