FairRoot/PandaRoot
PndPlane.h
Go to the documentation of this file.
1 /*
2  * PndPlane.h
3  *
4  * Created on: Jun 14, 2016
5  * Author: kibellus
6  */
7 
8 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_
9 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_
10 
11 #include "PndLine.h"
12 #include "TMath.h"
13 #include "PndLine.h"
14 
15 #include <iostream>
16 
17 using namespace std;
18 
19 class PndLine;
20 
21 class PndPlane {
22 public:
23  PndPlane(TVector3 b, TVector3 d1, TVector3 d2) : base(b),dir1(d1),dir2(d2) {}
24  PndPlane(PndLine line, Int_t layer);
25  virtual ~PndPlane();
26  PndLine getIntersection(PndPlane &p);
27  void Print();
28  TVector3 getBase(){return base;}
29  TVector3 getDir1(){return dir1;}
30  TVector3 getDir2(){return dir2;}
31  TVector3 getIntersection(PndLine l);
32 private:
33  TVector3 base;
34  TVector3 dir1;
35  TVector3 dir2;
36 };
37 
38 #endif /* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_ */
MechFsc Print()
TTree * b
TVector3 dir2
Definition: PndPlane.h:35
TVector3 getDir2()
Definition: PndPlane.h:30
Double_t p
Definition: anasim.C:58
TVector3 getBase()
Definition: PndPlane.h:28
TVector3 getDir1()
Definition: PndPlane.h:29
PndPlane(TVector3 b, TVector3 d1, TVector3 d2)
Definition: PndPlane.h:23
TVector3 dir1
Definition: PndPlane.h:34
TVector3 base
Definition: PndPlane.h:33