Belle II Software  release-05-02-19
DATCONHoughCand Class Reference

Hough Candidates class. More...

#include <DATCONHoughCand.h>

Collaboration diagram for DATCONHoughCand:

Public Member Functions

 DATCONHoughCand (std::vector< unsigned int > &list, coord2dPair coord)
 Constructor for Hough candidates. More...
 
std::vector< unsigned int > getIdList ()
 Get Index list.
 
coord2dPair getCoord ()
 Get Index list.
 
unsigned int getHash () const
 Get Hash of hit list.
 
unsigned int getHitSize () const
 Get Size of hit list.
 
bool operator< (const DATCONHoughCand &b)
 Smaller-than operator for sorting functions.
 

Private Attributes

std::vector< unsigned int > hitList
 List of IDs of hits that belong to this DATCONHoughCand.
 
coord2dPair coordinatePair
 Coordinate of rectangle for this candidate.
 
unsigned int hash
 Hash for id list.
 
unsigned int hitSize
 Size of this DATCONHoughCand.
 

Detailed Description

Hough Candidates class.

Definition at line 37 of file DATCONHoughCand.h.

Constructor & Destructor Documentation

◆ DATCONHoughCand()

DATCONHoughCand ( std::vector< unsigned int > &  list,
coord2dPair  coord 
)
inline

Constructor for Hough candidates.

A HoughCand is a pair of two TVector2 containing the lower left and upper right corner of a Hough Space (sub) sector as well as the list of the hits (=space points) associated with this HoughCand (hits of at least three different SVD layers).

Parameters
listVector of unsinged ints containing the ids of the hits belonging to this candidate
coordPair of two TVector2 pointing to the lower-left and upper-right corner of this cell of the Hough Space

Definition at line 49 of file DATCONHoughCand.h.

52  { return hitList; }
53 
55  coord2dPair getCoord() { return coordinatePair; }
56 

The documentation for this class was generated from the following file:
Belle2::DATCONHoughCand::getCoord
coord2dPair getCoord()
Get Index list.
Definition: DATCONHoughCand.h:63
Belle2::coord2dPair
std::pair< TVector2, TVector2 > coord2dPair
Typedef for the coord2dPair, which represents the DATCONHoughCand.
Definition: DATCONHoughCand.h:32
Belle2::DATCONHoughCand::coordinatePair
coord2dPair coordinatePair
Coordinate of rectangle for this candidate.
Definition: DATCONHoughCand.h:81
Belle2::DATCONHoughCand::hitList
std::vector< unsigned int > hitList
List of IDs of hits that belong to this DATCONHoughCand.
Definition: DATCONHoughCand.h:79