KiTrackMarlin  1.9.0
MiniVector.h
1 #ifndef MINIVECTOR_H
2 #define MINIVECTOR_H 1
3 
4 #include <lcio.h>
5 #include <iostream>
6 #include <sstream>
7 #include <string>
8 #include <EVENT/TrackerHit.h>
9 #include "UTIL/ILDConf.h"
10 #include "KiTrack/IHit.h"
11 
12 #include "marlin/VerbosityLevels.h"
13 
14 #include "ILDImpl/SectorSystemVXD.h"
15 
16 #include <vector>
17 #include <math.h>
18 
19 #include <marlin/Global.h>
20 #include <gear/GEAR.h>
21 
22 using namespace lcio ;
23 
24 
25 namespace KiTrackMarlin{
26 
27 
28  class MiniVector : public IHit{
29 
30  public:
31 
32  TrackerHitVec HitVec ;
33 
34  // Class constructor
35  MiniVector(EVENT::TrackerHit * outer, EVENT::TrackerHit * inner);
36 
37  MiniVector(TrackerHitVec hitPair);
38 
39  ~MiniVector();
40 
41  // returns the TrackerHitVec
42  TrackerHitVec getTrackerHitVec() ;
43 
44  // Gives the layer of the inner hit
45  //int getLayer() ;
46 
47  // Gives the azimuth angle of the mini-vector
48  double getPhi() ;
49 
50  // Gives the polar angle of the mini-vector
51  double getTheta() ;
52 
53  // Gives the 2-D angle between two minivectors
54  //double get2DAngle(MiniVector MinVec1, MiniVector MinVec2) ;
55 
56  // Gives the 3-D angle between two minivectors
57  double get3DAngleMV(MiniVector *MinVec2) ;
58 
59  double * getXYZ() ;
60 
61  // Gives the position of the mini-vector
62  double * getPosition() ;
63 
64  virtual const ISectorSystem* getSectorSystem() const { return _sectorSystemVXD; };
65 
66 
67  protected:
68 
69  const SectorSystemVXD* _sectorSystemVXD;
70 
71  };
72 
73 }
74 
75 
76 
77 
78 #endif
Definition: MiniVector.h:28
A Sector System class for the Forward Tracking Disks FTD in the ILD.
Definition: SectorSystemVXD.h:29