![]() |
PandaRoot
|
Hit object for use in TrackCand. Provides IDs and sorting parameters. More...
#include <TrackCandHit.h>
Public Member Functions | |
TrackCandHit (int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.) | |
virtual | ~TrackCandHit () |
virtual TrackCandHit * | clone () const |
int | getDetId () const |
int | getHitId () const |
int | getPlaneId () const |
double | getSortingParameter () const |
void | setSortingParameter (double sortingParameter) |
virtual void | Print (Option_t *option="") const |
Protected Member Functions | |
TrackCandHit (const TrackCandHit &other) | |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy! More... | |
TrackCandHit & | operator= (const TrackCandHit &) |
protect from calling assignment operator from outside the class. Use clone() instead! More... | |
Protected Attributes | |
int | detId_ |
int | hitId_ |
int | planeId_ |
double | sortingParameter_ |
Friends | |
bool | operator== (const TrackCandHit &lhs, const TrackCandHit &rhs) |
Equality operator. Does not check sortingParameter. More... | |
bool | operator!= (const TrackCandHit &lhs, const TrackCandHit &rhs) |
bool | operator< (const TrackCandHit &lhs, const TrackCandHit &rhs) |
Compare sortingParameter, needed for sorting. More... | |
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Definition at line 33 of file TrackCandHit.h.
genfit::TrackCandHit::TrackCandHit | ( | int | detId = -1 , |
int | hitId = -1 , |
||
int | planeId = -1 , |
||
double | sortingParameter = 0. |
||
) |
Referenced by clone().
|
inlinevirtual |
Definition at line 38 of file TrackCandHit.h.
|
inlineprotected |
protect from calling copy c'tor from outside the class. Use clone() if you want a copy!
Definition at line 64 of file TrackCandHit.h.
References operator=().
|
inlinevirtual |
Reimplemented in genfit::WireTrackCandHit.
Definition at line 40 of file TrackCandHit.h.
References TrackCandHit().
|
inline |
Definition at line 43 of file TrackCandHit.h.
References detId_.
Referenced by genfit::MeasurementFactory< genfit::AbsMeasurement >::createMany().
|
inline |
Definition at line 44 of file TrackCandHit.h.
References hitId_.
Referenced by genfit::MeasurementFactory< genfit::AbsMeasurement >::createMany().
|
inline |
|
inline |
|
protected |
protect from calling assignment operator from outside the class. Use clone() instead!
Referenced by TrackCandHit().
|
virtual |
Reimplemented in genfit::WireTrackCandHit.
Referenced by setSortingParameter().
|
inline |
Definition at line 49 of file TrackCandHit.h.
References operator==, Print(), and sortingParameter_.
|
friend |
Definition at line 56 of file TrackCandHit.h.
|
friend |
Compare sortingParameter, needed for sorting.
Definition at line 60 of file TrackCandHit.h.
|
friend |
Equality operator. Does not check sortingParameter.
Referenced by setSortingParameter().
|
protected |
Definition at line 69 of file TrackCandHit.h.
Referenced by getDetId().
|
protected |
Definition at line 70 of file TrackCandHit.h.
Referenced by getHitId().
|
protected |
Definition at line 71 of file TrackCandHit.h.
Referenced by getPlaneId().
|
protected |
Definition at line 72 of file TrackCandHit.h.
Referenced by getSortingParameter(), and setSortingParameter().