KiTrack  1.7.0
Public Member Functions | Protected Attributes | List of all members
KiTrack::ISectorSystem Class Referenceabstract

An interface for Sector Systems. More...

#include <ISectorSystem.h>

Public Member Functions

virtual unsigned getLayer (int sector) const =0 throw ( OutOfRange )
 
unsigned getNumberOfLayers () const
 
virtual std::string getInfoOnSector (int sector) const =0
 

Protected Attributes

unsigned _nLayers
 

Detailed Description

An interface for Sector Systems.

A sector is a code for a place. So it can for example equal a sensor somewhere in a detector or be something abstract like the IP.

A sector system is able to take a sector (integer number) and give back information about it. This can be things like the number of the sensor or the rough distance from the IP or such things. Or even neighbouring sectors. But this is all dependent on the circumstances of the detectors and their representation.

What all SectorSystems have in common is the layer: SectorSystems must be able to return the layer of a sector and how many layers there are all in all.

Member Function Documentation

virtual std::string KiTrack::ISectorSystem::getInfoOnSector ( int  sector) const
pure virtual
Returns
some information on the sector as string
virtual unsigned KiTrack::ISectorSystem::getLayer ( int  sector) const
throw (OutOfRange
)
pure virtual
Returns
the layer of the corresponding sector.

Referenced by KiTrack::IHit::getLayer().

unsigned KiTrack::ISectorSystem::getNumberOfLayers ( ) const
inline
Returns
the number of layers in the sector system.

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