Belle II Software  release-08-01-10
Segment< HitType > Class Template Reference

The Segment class This class represents segments of track candidates needed for TrackFinderVXD-Modules. More...

#include <Segment.h>

Public Member Functions

 Segment ()
 ************************* CONSTRUCTORS ************************* More...
 
 Segment (FullSecID::BaseType outerSector, FullSecID::BaseType innerSector, HitType *outerNode, HitType *innerNode)
 Constructor. More...
 
bool operator== (const Segment &b) const
 ************************* OPERATORS ************************* More...
 
std::int64_t getID () const
 ************************* PUBLIC MEMBER FUNCTIONS ************************* More...
 
std::string getName () const
 returns longer debugging name of this segment
 
const HitType * getInnerHit () const
 returns inner hit of current Segment
 
const HitType * getOuterHit () const
 returns outer hit of current Segment
 
FullSecID::BaseType getInnerSecID () const
 returns inner secID of current Segment
 
FullSecID::BaseType getOuterSecID () const
 returns outer secID of current Segment
 

Protected Attributes

HitType * m_outerHit
 ************************* DATA MEMBERS ************************* More...
 
HitType * m_innerHit
 pointer to hit forming the inner end of the Segment.
 
FullSecID::BaseType m_outerSector
 iD of sector carrying outer hit
 
FullSecID::BaseType m_innerSector
 iD of sector carrying inner hit
 
const std::int64_t m_identifier
 unique identifier
 

Detailed Description

template<class HitType>
class Belle2::Segment< HitType >

The Segment class This class represents segments of track candidates needed for TrackFinderVXD-Modules.

Definition at line 25 of file Segment.h.

Constructor & Destructor Documentation

◆ Segment() [1/2]

Segment ( )
inline

************************* CONSTRUCTORS *************************

Default constructor for the ROOT IO.

Definition at line 48 of file Segment.h.

48  :
49  m_outerHit(nullptr),
50  m_innerHit(nullptr),
51  m_outerSector(FullSecID()),
52  m_innerSector(FullSecID()),
53  m_identifier(-1)
54  {}
HitType * m_innerHit
pointer to hit forming the inner end of the Segment.
Definition: Segment.h:33
FullSecID::BaseType m_outerSector
iD of sector carrying outer hit
Definition: Segment.h:36
const std::int64_t m_identifier
unique identifier
Definition: Segment.h:42
FullSecID::BaseType m_innerSector
iD of sector carrying inner hit
Definition: Segment.h:39
HitType * m_outerHit
************************* DATA MEMBERS *************************
Definition: Segment.h:30

◆ Segment() [2/2]

Segment ( FullSecID::BaseType  outerSector,
FullSecID::BaseType  innerSector,
HitType *  outerNode,
HitType *  innerNode 
)
inline

Constructor.

// *

Parameters
outerSectorsecID of outer Sector associated with this segment. // *
innerSectorsecID of inner Sector associated with this segment. // *
outerNodepointer to outer Hit associated with this segment. // *
innerNodepointer to inner Hit associated with this segment. //

Definition at line 63 of file Segment.h.

Member Function Documentation

◆ getID()

std::int64_t getID ( ) const
inline

************************* PUBLIC MEMBER FUNCTIONS *************************

getters: return ID of this segment

Definition at line 84 of file Segment.h.

◆ operator==()

bool operator== ( const Segment< HitType > &  b) const
inline

************************* OPERATORS *************************

overloaded '=='-operator

Definition at line 75 of file Segment.h.

Member Data Documentation

◆ m_outerHit

HitType* m_outerHit
protected

************************* DATA MEMBERS *************************

pointer to hit forming the outer end of the Segment.

Definition at line 30 of file Segment.h.


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