KiTrackMarlin  1.9.0
FTDHitSimple.h
1 #ifndef FTDHitSimple_h
2 #define FTDHitSimple_h
3 
4 #include "KiTrack/IHit.h"
5 
6 #include "ILDImpl/SectorSystemFTD.h"
7 
8 
9 
10 namespace KiTrackMarlin{
11 
12 
15  class FTDHitSimple : public IHit{
16 
17 
18  public:
19 
20  FTDHitSimple( float x , float y , float z , int side, unsigned layer , unsigned module, unsigned sensor, const SectorSystemFTD* const sectorSystemFTD );
21 
22 
23 
24  virtual const ISectorSystem* getSectorSystem() const { return _sectorSystemFTD; };
25 
26  virtual ~FTDHitSimple(){}
27 
28  private:
29 
30  int _side;
31  unsigned _layer;
32  unsigned _module;
33  unsigned _sensor;
34 
35  const SectorSystemFTD* _sectorSystemFTD;
36 
37  void calculateSector(){ _sector = _sectorSystemFTD->getSector( _side, _layer , _module , _sensor ); }
38 
39  };
40 
41 }
42 
43 
44 #endif
45 
A hit.
Definition: FTDHitSimple.h:15
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemFTD.h:27
int getSector(int side, unsigned layer, unsigned module, unsigned sensor) const
Calculates the sector number corresponding to the passed parameters.
Definition: SectorSystemFTD.cc:21