CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GeomDet.cc
Go to the documentation of this file.
4 
6  thePlane(plane), theAlignmentPositionError(0), theLocalAlignmentError(InvalidError()), m_index(-1) {}
7 
9  thePlane(plane), theAlignmentPositionError(0), theLocalAlignmentError(InvalidError()), m_index(-1) {}
10 
12 
13 void GeomDet::move( const GlobalVector& displacement)
14 {
15  //
16  // Should recreate the surface like the set* methods ?
17  //
18  thePlane->move(displacement);
19 }
20 
22 {
23  //
24  // Should recreate the surface like the set* methods ?
25  //
26  thePlane->rotate(rotation);
27 }
28 
31 {
32  thePlane = ModifiedSurfaceGenerator<Plane>(thePlane).atNewPosition(position,
33  rotation);
34 }
35 
38 {
41  }
42  else *theAlignmentPositionError = ape;
43 
46  surface()
47  ) :
48  InvalidError();
49  return ape.valid();
50 }
static GlobalError transform(const LocalError &le, const Surface &surf)
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:103
virtual ~GeomDet()
Definition: GeomDet.cc:11
void setPosition(const Surface::PositionType &position, const Surface::RotationType &rotation)
Definition: GeomDet.cc:29
LocalError theLocalAlignmentError
Definition: GeomDet.h:105
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
Definition: Plane.h:17
void move(const GlobalVector &displacement)
Definition: GeomDet.cc:13
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104
const GlobalError & globalError() const
bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition: GeomDet.cc:37
static int position[264][3]
Definition: ReadPGInfo.cc:509
void rotate(const Surface::RotationType &rotation)
Definition: GeomDet.cc:21
GeomDet(Plane *plane)
Definition: GeomDet.cc:5