ForwardTracking  1.10.0
SectorSystemEndcap.h
1 #ifndef SectorSystemEndcap_h
2 #define SectorSystemEndcap_h
3 
4 #include "marlin/VerbosityLevels.h"
5 
6 
7 #include "KiTrack/ISectorSystem.h"
8 
9 #include <vector>
10 
11 using namespace KiTrack;
12 
13 namespace KiTrackMarlin{
14 
29  class SectorSystemEndcap : public ISectorSystem{
30 
31 
32  public:
33 
43  SectorSystemEndcap( unsigned nLayers , unsigned nDivisionsInPhi , unsigned nDivisionsInTheta );
44 
45 
50  virtual unsigned getLayer( int sector ) const throw ( OutOfRange );
51 
52  virtual unsigned getPhi( int sector ) const throw ( OutOfRange );
53 
54  virtual unsigned getTheta( int sector ) const throw ( OutOfRange );
55 
57  virtual std::string getInfoOnSector( int sector) const;
58 
59 
62  int getSector( int layer, int phi, int theta ) const throw( OutOfRange );
63 
64  int getSector( int layer, double phi, double cosTheta ) const throw( OutOfRange );
65 
66  unsigned getPhiSectors() const ;
67 
68  unsigned getThetaSectors() const ;
69 
70  unsigned getNLayers() const ;
71 
72  virtual ~SectorSystemEndcap(){}
73 
74  private:
75 
76  int _sectorMax;
77  unsigned _nLayers;
78  unsigned _nDivisionsInPhi ;
79  unsigned _nDivisionsInTheta ;
80 
81  void checkSectorIsInRange( int sector ) const throw ( OutOfRange );
82 
83  };
84 
85 
86 
87 }
88 
89 
90 #endif
91 
92 
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemEndcap.h:29