Belle II Software  release-05-02-19
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 35 of file Segment.h.

Constructor & Destructor Documentation

◆ Segment() [1/2]

Segment ( )
inline

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

Default constructor for the ROOT IO.

Definition at line 58 of file Segment.h.

◆ 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 73 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 94 of file Segment.h.

◆ operator==()

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

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

overloaded '=='-operator

Definition at line 85 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 40 of file Segment.h.


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