KiTrackMarlin  1.9.0
SectorSystemFTD.h
1 #ifndef SectorSystemFTD_h
2 #define SectorSystemFTD_h
3 
4 #include "marlin/VerbosityLevels.h"
5 
6 
7 #include "KiTrack/ISectorSystem.h"
8 
9 using namespace KiTrack;
10 
11 namespace KiTrackMarlin{
12 
27  class SectorSystemFTD : public ISectorSystem{
28 
29 
30  public:
31 
41  SectorSystemFTD( unsigned nLayers , unsigned nModules , unsigned nSensors );
42 
43 
46  int getSector( int side, unsigned layer , unsigned module , unsigned sensor ) const throw( OutOfRange );
47 
48 
53  virtual unsigned getLayer( int sector ) const throw ( OutOfRange );
54 
55 
57  virtual std::string getInfoOnSector( int sector ) const;
58 
61  int getSide( int sector ) const throw ( OutOfRange );
62 
65  unsigned getModule( int sector ) const throw ( OutOfRange );
66 
69  unsigned getSensor( int sector ) const throw ( OutOfRange );
70 
71 
72 
73  unsigned getNumberOfModules() const { return _nModules; }
74  unsigned getNumberOfSensors() const { return _nSensors; }
75 
76  virtual ~SectorSystemFTD(){}
77 
78  private:
79 
80  unsigned _nModules;
81  unsigned _nSensors;
82 
83  int _sectorMax;
84 
85  void checkSectorIsInRange( int sector ) const throw ( OutOfRange );
86 
87  };
88 
89 
90 
91 }
92 
93 
94 #endif
95 
96 
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemFTD.h:27