KiTrackMarlin  1.9.0
Public Member Functions | List of all members
KiTrackMarlin::SectorSystemFTD Class Reference

A Sector System class for the Forward Tracking Disks FTD in the ILD. More...

#include <SectorSystemFTD.h>

Inheritance diagram for KiTrackMarlin::SectorSystemFTD:

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
 

Detailed Description

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.

Parameters
side+1 for forward, -1 for backward
layerlayer of FTD: 0 is the layer of the IP, 1 is the first FTD disk and so on.
modulemodule
sensorthe sensor on the module

Constructor & Destructor Documentation

SectorSystemFTD::SectorSystemFTD ( unsigned  nLayers,
unsigned  nModules,
unsigned  nSensors 
)

Constructor.

Parameters
nLayersthe 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.
nModulesthe number of modules per disk.
nSensorsthe number of sensors on one module.

Member Function Documentation

std::string SectorSystemFTD::getInfoOnSector ( int  sector) const
virtual
Returns
some information on the sector as string

References getLayer(), getModule(), getSensor(), and getSide().

unsigned SectorSystemFTD::getLayer ( int  sector) const
throw (OutOfRange
)
virtual

Virtual, because this method is demanded by the Interface ISectorSystem.

Returns
the layer corresponding to the passed sector number

Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().

unsigned SectorSystemFTD::getModule ( int  sector) const
throw (OutOfRange
)
Returns
the module of the sector

Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().

unsigned SectorSystemFTD::getSensor ( int  sector) const
throw (OutOfRange
)
Returns
the sensor of the sector

Referenced by getInfoOnSector().

int SectorSystemFTD::getSide ( int  sector) const
throw (OutOfRange
)
Returns
the side the sector is on (+1 = forward, -1 = backward)

Referenced by getInfoOnSector(), and KiTrackMarlin::FTDSectorConnector::getTargetSectors().


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