KiTrackMarlin
1.9.0
|
A Sector System class for the Forward Tracking Disks FTD in the ILD. More...
#include <SectorSystemFTD.h>
Public Member Functions | |
SectorSystemFTD (unsigned nLayers, unsigned nModules, unsigned nSensors) | |
Constructor. More... | |
int | getSector (int side, unsigned layer, unsigned module, unsigned sensor) const throw ( OutOfRange ) |
Calculates the sector number corresponding to the passed parameters. | |
virtual unsigned | getLayer (int sector) const throw ( OutOfRange ) |
Virtual, because this method is demanded by the Interface ISectorSystem. More... | |
virtual std::string | getInfoOnSector (int sector) const |
int | getSide (int sector) const throw ( OutOfRange ) |
unsigned | getModule (int sector) const throw ( OutOfRange ) |
unsigned | getSensor (int sector) const throw ( OutOfRange ) |
unsigned | getNumberOfModules () const |
unsigned | getNumberOfSensors () const |
A Sector System class for the Forward Tracking Disks FTD in the ILD.
It calculates sectors from the side, layer, sensor and module and vice versa.
side | +1 for forward, -1 for backward |
layer | layer of FTD: 0 is the layer of the IP, 1 is the first FTD disk and so on. |
module | module |
sensor | the sensor on the module |
SectorSystemFTD::SectorSystemFTD | ( | unsigned | nLayers, |
unsigned | nModules, | ||
unsigned | nSensors | ||
) |
Constructor.
nLayers | the number of possible layers. The layers from 0 to n-1 will be available. Keep in mind, that layer 0 is used for the IP. |
nModules | the number of modules per disk. |
nSensors | the number of sensors on one module. |
|
virtual |
References getLayer(), getModule(), getSensor(), and getSide().
|
virtual |
Virtual, because this method is demanded by the Interface ISectorSystem.
Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().
unsigned SectorSystemFTD::getModule | ( | int | sector | ) | const |
throw | ( | OutOfRange | |||
) |
Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().
unsigned SectorSystemFTD::getSensor | ( | int | sector | ) | const |
throw | ( | OutOfRange | |||
) |
Referenced by getInfoOnSector().
int SectorSystemFTD::getSide | ( | int | sector | ) | const |
throw | ( | OutOfRange | |||
) |
Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().