Alignment
CocoaModel
interface
ALILine.h
Go to the documentation of this file.
1
// COCOA class header file
2
//Id: ALILine.h
3
//CAT: Model
4
//
5
// Base class for entries
6
//
7
// History: v1.0
8
// Pedro Arce
9
10
#ifndef _ALILINE_HH
11
#define _ALILINE_HH
12
#include <iostream>
13
#include <CLHEP/Vector/ThreeVector.h>
14
class
ALIPlane
;
15
16
class
ALILine
{
17
public
:
18
ALILine
(){};
19
~ALILine
(){};
20
ALILine
(
const
CLHEP::Hep3Vector&
point
,
const
CLHEP::Hep3Vector& direction);
21
// Next 1 line was added with 22 Mar 2001
22
// CLHEP::Hep3Vector ALILine( const ALILine& l2, bool notParallel = 0);
23
//0
24
CLHEP::Hep3Vector
intersect
(
const
ALILine
& l2,
bool
notParallel =
false
);
25
CLHEP::Hep3Vector
intersect
(
const
ALIPlane
& plane,
bool
notParallel =
true
);
26
const
CLHEP::Hep3Vector&
pt
()
const
{
return
_point
; };
27
const
CLHEP::Hep3Vector&
vec
()
const
{
return
_direction
; };
28
29
friend
std::ostream&
operator<<
(std::ostream&,
const
ALILine
& li);
30
31
private
:
32
CLHEP::Hep3Vector
_point
;
33
CLHEP::Hep3Vector
_direction
;
34
};
35
36
#endif
ALILine::_point
CLHEP::Hep3Vector _point
Definition:
ALILine.h:32
ALILine::intersect
CLHEP::Hep3Vector intersect(const ALILine &l2, bool notParallel=false)
Definition:
ALILine.cc:27
ALILine
Definition:
ALILine.h:16
ALILine::_direction
CLHEP::Hep3Vector _direction
Definition:
ALILine.h:33
ALILine::pt
const CLHEP::Hep3Vector & pt() const
Definition:
ALILine.h:26
ALIPlane
Definition:
ALIPlane.h:15
ALILine::ALILine
ALILine()
Definition:
ALILine.h:18
ALILine::vec
const CLHEP::Hep3Vector & vec() const
Definition:
ALILine.h:27
ALILine::~ALILine
~ALILine()
Definition:
ALILine.h:19
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition:
invegas.h:5
ALILine::operator<<
friend std::ostream & operator<<(std::ostream &, const ALILine &li)
Definition:
ALILine.cc:167
Generated for CMSSW Reference Manual by
1.8.16