CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
PlaneBuilder Class Reference

#include <PlaneBuilder.h>

Public Types

typedef Surface::PositionType PositionType
 
typedef ReferenceCountingPointer< PlaneReturnType
 
typedef Surface::RotationType RotationType
 

Public Member Functions

ReturnType plane (const PositionType &pos, const RotationType &rot) const
 
ReturnType plane (const PositionType &pos, const RotationType &rot, Bounds *bounds) const
 

Detailed Description

This class is deprecated. Please use the static build() methods in BoundPlane.

Definition at line 13 of file PlaneBuilder.h.

Member Typedef Documentation

◆ PositionType

Definition at line 15 of file PlaneBuilder.h.

◆ ReturnType

Definition at line 17 of file PlaneBuilder.h.

◆ RotationType

Definition at line 16 of file PlaneBuilder.h.

Member Function Documentation

◆ plane() [1/2]

ReturnType PlaneBuilder::plane ( const PositionType pos,
const RotationType rot 
) const
inline

◆ plane() [2/2]

ReturnType PlaneBuilder::plane ( const PositionType pos,
const RotationType rot,
Bounds bounds 
) const
inline

Same as above, with bounds. The bounds are cloned, and a new copy is used in the plane, so you don't have to create them with "new", and if you do, don't forget to delete them.

Definition at line 27 of file PlaneBuilder.h.

27  {
28  return ReturnType(new Plane(pos, rot, bounds));
29  }

References makeMuonMisalignmentScenario::rot.

pos
Definition: PixelAliasList.h:18
PlaneBuilder::ReturnType
ReferenceCountingPointer< Plane > ReturnType
Definition: PlaneBuilder.h:17
Plane
Definition: Plane.h:16
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322