Belle II Software  release-08-01-10
TrackNode Struct Reference

Minimal class to store combination of sector and spacePoint, since SpacePoint can not carry sectorConnection. More...

#include <TrackNode.h>

Collaboration diagram for TrackNode:

Public Types

using StaticSectorType = VXDTFFilters< SpacePoint >::staticSector_t
 To improve readability of the code, here the definition of the static sector type.
 

Public Member Functions

 TrackNode ()
 Constructor.
 
 TrackNode (SpacePoint *spacePoint)
 Constructor with information from SpacePoint.
 
 ~TrackNode ()
 Destructor.
 
bool operator== (const TrackNode &b) const
 Overloaded '=='-operator TODO JKL: pretty ugly operator overload, should be fixed ASAP! (solution for null-ptr-issue needed) TODO write a test for that one! TODO find good reasons why one would like to create TrackNodes without Hits and ActiveSectors linked to them!
 
bool operator!= (const TrackNode &b) const
 Overloaded '!='-operator.
 
const SpacePointgetHit () const
 returns reference to hit.
 
ActiveSector< StaticSectorType, TrackNode > & getActiveSector ()
 returns reference to hit.
 
std::int32_t getID () const
 Return ID of this node.
 
std::string getName () const
 Returns longer debugging name of this node.
 

Public Attributes

ActiveSector< StaticSectorType, TrackNode > * m_sector
 Pointer to sector.
 
SpacePointm_spacePoint
 Pointer to spacePoint.
 
const std::int32_t m_identifier
 Unique integer identifier.
 

Detailed Description

Minimal class to store combination of sector and spacePoint, since SpacePoint can not carry sectorConnection.

Definition at line 22 of file TrackNode.h.


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