CMS 3D CMS Logo

List of all members | Public Member Functions
TransverseBoundPlaneFactory Class Reference

#include <TransverseBoundPlaneFactory.h>

Public Member Functions

BoundPlaneoperator() (const Surface::GlobalPoint &origin, const Surface::GlobalVector &perp) const
 

Detailed Description

Obsolete.

Definition at line 9 of file TransverseBoundPlaneFactory.h.

Member Function Documentation

◆ operator()()

BoundPlane * TransverseBoundPlaneFactory::operator() ( const Surface::GlobalPoint origin,
const Surface::GlobalVector perp 
) const

Definition at line 5 of file TransverseBoundPlaneFactory.cc.

6  {
7  // z axis perpendicular to transverse momentum
8  GlobalVector zAxis = GlobalVector(dir.x(), dir.y(), 0.).unit();
9 
10  // y axis coincides with global z
11  GlobalVector yAxis(0., 0., 1.);
12 
13  // x axis obtained by cross product
14  GlobalVector xAxis = (yAxis.cross(zAxis)).unit();
15 
17  xAxis.x(), xAxis.y(), xAxis.z(), yAxis.x(), yAxis.y(), yAxis.z(), zAxis.x(), zAxis.y(), zAxis.z());
18 
19  // Surface::RotationType rot(yAxis, zAxis);
20 
21  return new BoundPlane(origin, rot);
22 }

References DeadROC_duringRun::dir, makeMuonMisalignmentScenario::rot, Vector3DBase< T, FrameTag >::unit(), unit(), HLT_FULL_cff::xAxis, HLT_FULL_cff::yAxis, and HLT_FULL_cff::zAxis.

Vector3DBase
Definition: Vector3DBase.h:8
TkRotation< float >
GlobalVector
Global3DVector GlobalVector
Definition: GlobalVector.h:10
Vector3DBase::unit
Vector3DBase unit() const
Definition: Vector3DBase.h:54
HLT_FULL_cff.zAxis
zAxis
Definition: HLT_FULL_cff.py:46143
HLT_FULL_cff.yAxis
yAxis
Definition: HLT_FULL_cff.py:46144
unit
Basic3DVector unit() const
Definition: Basic3DVectorLD.h:162
BoundPlane
Plane BoundPlane
Definition: Plane.h:94
HLT_FULL_cff.xAxis
xAxis
Definition: HLT_FULL_cff.py:46142
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23