KiTrackMarlin  1.9.0
IMiniVector.h
1 #ifndef IMiniVector_h
2 #define IMiniVector_h
3 
4 #include <iostream>
5 
6 #include "EVENT/TrackerHit.h"
7 #include "lcio.h"
8 
9 #include "KiTrack/IHit.h"
10 #include "ILDImpl/MiniVector.h"
11 
12 #include "ILDImpl/SectorSystemVXD.h"
13 
14 using namespace lcio;
15 
16 namespace KiTrackMarlin{
17 
18 
21  class IMiniVector : public IHit{
22 
23 
24  public:
25 
26 
27  MiniVector* getMiniVector() { return _miniVector; };
28 
29 
30  int getTheta() { return _theta; }
31  unsigned getPhi() { return _phi; }
32 
33 
34  //void setLayer( unsigned layer ){ _layer = layer; calculateSector();}
35  //void setPhi( unsigned phi ){ _phi = phi; calculateSector();}
36  //void setTheta( unsigned theta ){ _theta = theta; calculateSector();}
37  void setLayer( unsigned layer ){ _layer = layer; }
38  void setPhi( unsigned phi ){ _phi = phi; }
39  void setTheta( unsigned theta ){ _theta = theta; }
40 
41 
42  virtual const ISectorSystem* getSectorSystem() const { return _sectorSystemVXD; };
43 
44  protected:
45 
46  MiniVector* _miniVector;
47 
48 
49  int _layer;
50  int _phi;
51  int _theta;
52 
53  const SectorSystemVXD* _sectorSystemVXD;
54 
58  //void calculateSector(){ _sector = _sectorSystemMV->getSector( _layer, _phi, _theta ); }
59 
60  };
61 
62 }
63 
64 
65 #endif
66 
Definition: MiniVector.h:28
An interface for a mini-vector for the ILD.
Definition: IMiniVector.h:21
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemVXD.h:29