5 #include "EVENT/TrackerHit.h"
8 #include "KiTrack/IHit.h"
10 #include "ILDImpl/SectorSystemFTD.h"
14 namespace KiTrackMarlin{
27 TrackerHit* getTrackerHit() {
return _trackerHit; };
30 int getSide() {
return _side; }
31 unsigned getModule() {
return _module; }
32 unsigned getSensor() {
return _sensor; }
34 void setSide(
int side ){ _side = side; calculateSector();}
35 void setLayer(
unsigned layer ){ _layer = layer; calculateSector();}
36 void setModule(
unsigned module ){ _module = module; calculateSector();}
37 void setSensor(
unsigned sensor ){ _layer = sensor; calculateSector();}
41 virtual const ISectorSystem* getSectorSystem()
const {
return _sectorSystemFTD; };
45 TrackerHit* _trackerHit;
57 void calculateSector(){ _sector = _sectorSystemFTD->getSector( _side, _layer , _module , _sensor ); }
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemFTD.h:27
void calculateSector()
Calculates and sets the sector number.
Definition: IFTDHit.h:57
An interface for a hit for the ILD using an lcio TrackerHit as basis.
Definition: IFTDHit.h:21