Belle II Software  release-08-01-10
TrackCandHit Class Reference

Hit object for use in TrackCand. More...

#include <TrackCandHit.h>

Inheritance diagram for TrackCandHit:
Collaboration diagram for TrackCandHit:

Public Member Functions

 TrackCandHit (int detId=-1, int hitId=-1, int planeId=-1, double sortingParameter=0.)
 
virtual TrackCandHitclone () 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!
 
TrackCandHitoperator= (const TrackCandHit &)
 protect from calling assignment operator from outside the class. Use #clone() instead!
 

Protected Attributes

int detId_
 
int hitId_
 
int planeId_
 
double sortingParameter_
 

Friends

bool operator== (const TrackCandHit &lhs, const TrackCandHit &rhs)
 Equality operator. More...
 
bool operator!= (const TrackCandHit &lhs, const TrackCandHit &rhs)
 
bool operator< (const TrackCandHit &lhs, const TrackCandHit &rhs)
 Compare sortingParameter, needed for sorting.
 

Detailed Description

Hit object for use in TrackCand.

Provides IDs and sorting parameters.

Definition at line 34 of file TrackCandHit.h.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const TrackCandHit lhs,
const TrackCandHit rhs 
)
friend

Equality operator.

Does not check sortingParameter.

Definition at line 46 of file TrackCandHit.cc.


The documentation for this class was generated from the following files: