KiTrack  1.7.0
ISectorSystem.h
1 #ifndef ISectorSystem_h
2 #define ISectorSystem_h
3 
4 #include <string>
5 
6 #include "KiTrack/KiTrackExceptions.h"
7 
8 namespace KiTrack{
9 
10 
25 
26 
27  public:
28 
30  virtual unsigned getLayer( int sector ) const throw ( OutOfRange ) =0;
31 
33  unsigned getNumberOfLayers() const { return _nLayers; };
34 
36  virtual std::string getInfoOnSector( int sector ) const = 0;
37 
38  virtual ~ISectorSystem(){}
39 
40 
41 
42  protected:
43 
44 
45  unsigned _nLayers;
46 
47 
48 
49  };
50 
51 
52 }
53 
54 
55 #endif
56 
unsigned getNumberOfLayers() const
Definition: ISectorSystem.h:33
virtual unsigned getLayer(int sector) const =0
Out of range exception, used when the user tries to access layers oder sensors, that are not implemen...
Definition: KiTrackExceptions.h:40
virtual std::string getInfoOnSector(int sector) const =0
An interface for Sector Systems.
Definition: ISectorSystem.h:24