Belle II Software development
CDCTriggerHoughCand Class Reference

Hough Candidates class. More...

#include <CDCTriggerHoughETFModule.h>

Public Member Functions

 CDCTriggerHoughCand (std::vector< unsigned > &_list, coord2dPair _coord, unsigned short _slcount, unsigned _id)
 Constructor for hough candidates.
 
std::vector< unsigned > getIdList () const
 Get Index list.
 
coord2dPair getCoord () const
 Get rectangle coordinates.
 
unsigned short getSLcount () const
 Get super layer count.
 
unsigned getID () const
 Get candidate number.
 
 CDCTriggerHoughCand (std::vector< unsigned > &_list, coord2dPair _coord, unsigned short _slcount, unsigned _id)
 Constructor for hough candidates.
 
std::vector< unsigned > getIdList () const
 Get Index list.
 
coord2dPair getCoord () const
 Get rectangle coordinates.
 
unsigned short getSLcount () const
 Get super layer count.
 
unsigned getID () const
 Get candidate number.
 

Private Attributes

std::vector< unsigned > hitList
 list of hit indices contained in the Hough cell
 
coord2dPair coord
 Coordinate of rectangle for this candidate.
 
unsigned short SLcount = 0
 Super layer count (number of hits from different super layers).
 
unsigned id = 0
 candidate number, for debugging.
 

Detailed Description

Hough Candidates class.

A candidate is a single Hough cells which passes the minimum hit criterion. It contains the coordinates of the cell corners, a list of hit indices and the super layer count. Connecting candidates are combined to a track.

Definition at line 47 of file CDCTriggerHoughETFModule.h.

Constructor & Destructor Documentation

◆ CDCTriggerHoughCand() [1/2]

CDCTriggerHoughCand ( std::vector< unsigned > &  _list,
coord2dPair  _coord,
unsigned short  _slcount,
unsigned  _id 
)
inline

Constructor for hough candidates.

Definition at line 50 of file CDCTriggerHoughETFModule.h.

51 :
52 hitList(_list), coord(_coord), SLcount(_slcount), id(_id) {}
coord2dPair coord
Coordinate of rectangle for this candidate.
unsigned short SLcount
Super layer count (number of hits from different super layers).
std::vector< unsigned > hitList
list of hit indices contained in the Hough cell
unsigned id
candidate number, for debugging.

◆ ~CDCTriggerHoughCand() [1/2]

~CDCTriggerHoughCand ( )
inline

Definition at line 54 of file CDCTriggerHoughETFModule.h.

54{}

◆ CDCTriggerHoughCand() [2/2]

CDCTriggerHoughCand ( std::vector< unsigned > &  _list,
coord2dPair  _coord,
unsigned short  _slcount,
unsigned  _id 
)
inline

Constructor for hough candidates.

Definition at line 50 of file CDCTrigger2DFinderModule.h.

51 :
52 hitList(_list), coord(_coord), SLcount(_slcount), id(_id) {}

◆ ~CDCTriggerHoughCand() [2/2]

~CDCTriggerHoughCand ( )
inline

Definition at line 54 of file CDCTrigger2DFinderModule.h.

54{}

Member Function Documentation

◆ getCoord() [1/2]

coord2dPair getCoord ( ) const
inline

Get rectangle coordinates.

Definition at line 59 of file CDCTriggerHoughETFModule.h.

59{ return coord; }

◆ getCoord() [2/2]

coord2dPair getCoord ( ) const
inline

Get rectangle coordinates.

Definition at line 59 of file CDCTrigger2DFinderModule.h.

59{ return coord; }

◆ getID() [1/2]

unsigned getID ( ) const
inline

Get candidate number.

Definition at line 63 of file CDCTriggerHoughETFModule.h.

63{ return id; }

◆ getID() [2/2]

unsigned getID ( ) const
inline

Get candidate number.

Definition at line 63 of file CDCTrigger2DFinderModule.h.

63{ return id; }

◆ getIdList() [1/2]

std::vector< unsigned > getIdList ( ) const
inline

Get Index list.

Definition at line 57 of file CDCTriggerHoughETFModule.h.

57{ return hitList; }

◆ getIdList() [2/2]

std::vector< unsigned > getIdList ( ) const
inline

Get Index list.

Definition at line 57 of file CDCTrigger2DFinderModule.h.

57{ return hitList; }

◆ getSLcount() [1/2]

unsigned short getSLcount ( ) const
inline

Get super layer count.

Definition at line 61 of file CDCTriggerHoughETFModule.h.

61{ return SLcount; }

◆ getSLcount() [2/2]

unsigned short getSLcount ( ) const
inline

Get super layer count.

Definition at line 61 of file CDCTrigger2DFinderModule.h.

61{ return SLcount; }

Member Data Documentation

◆ coord

coord2dPair coord
private

Coordinate of rectangle for this candidate.

Definition at line 69 of file CDCTriggerHoughETFModule.h.

◆ hitList

std::vector< unsigned > hitList
private

list of hit indices contained in the Hough cell

Definition at line 67 of file CDCTriggerHoughETFModule.h.

◆ id

unsigned id = 0
private

candidate number, for debugging.

Initialized at 0 by the SW shifter.

Definition at line 73 of file CDCTriggerHoughETFModule.h.

◆ SLcount

unsigned short SLcount = 0
private

Super layer count (number of hits from different super layers).

Initialized at 0 by the SW shifter

Definition at line 71 of file CDCTriggerHoughETFModule.h.


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