PandaRoot
PndPlane.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
/*
14
* PndPlane.h
15
*
16
* Created on: Jun 14, 2016
17
* Author: kibellus
18
*/
19
20
#ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_
21
#define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_
22
23
#include "
PndLine.h
"
24
#include "TMath.h"
25
#include "
PndLine.h
"
26
27
#include <iostream>
28
29
using namespace
std
;
30
31
class
PndLine
;
32
33
class
PndPlane
{
34
public
:
35
PndPlane
(TVector3 b, TVector3 d1, TVector3 d2) : base(b), dir1(d1), dir2(d2) {}
36
PndPlane
(
PndLine
line, Int_t layer);
37
virtual
~
PndPlane
();
38
PndLine
getIntersection(
PndPlane
&p);
39
void
Print();
40
TVector3
getBase
() {
return
base; }
41
TVector3
getDir1
() {
return
dir1; }
42
TVector3
getDir2
() {
return
dir2; }
43
TVector3 getIntersection(
PndLine
l);
44
45
private
:
46
TVector3 base;
47
TVector3 dir1;
48
TVector3 dir2;
49
};
50
51
#endif
/* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDPLANE_H_ */
PndLine.h
std
STL namespace.
PndPlane::getDir2
TVector3 getDir2()
Definition:
PndPlane.h:42
PndPlane::getBase
TVector3 getBase()
Definition:
PndPlane.h:40
PndPlane
Definition:
PndPlane.h:33
PndPlane::getDir1
TVector3 getDir1()
Definition:
PndPlane.h:41
PndPlane::PndPlane
PndPlane(TVector3 b, TVector3 d1, TVector3 d2)
Definition:
PndPlane.h:35
PndLine
Definition:
PndLine.h:35
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tracking
PndForwardTrackFinder
PndPlane.h
Generated on Fri Nov 29 2024 06:04:44 for PandaRoot by
1.8.13