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) {}
7 
9  thePlane(plane), theAlignmentPositionError(0) {}
10 
12 {
14 }
15 
16 void GeomDet::move( const GlobalVector& displacement)
17 {
18  //
19  // Should recreate the surface like the set* methods ?
20  //
21  thePlane->move(displacement);
22 }
23 
24 void GeomDet::rotate( const Surface::RotationType& rotation)
25 {
26  //
27  // Should recreate the surface like the set* methods ?
28  //
29  thePlane->rotate(rotation);
30 }
31 
33  const Surface::RotationType& rotation)
34 {
35  thePlane = ModifiedSurfaceGenerator<BoundPlane>(thePlane).atNewPosition(position,
36  rotation);
37 }
38 
40 {
43  }
44  else *theAlignmentPositionError = ape;
45 
46 }
ReferenceCountingPointer< BoundPlane > thePlane
Definition: GeomDet.h:99
virtual ~GeomDet()
Definition: GeomDet.cc:11
void setPosition(const Surface::PositionType &position, const Surface::RotationType &rotation)
Definition: GeomDet.cc:32
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
virtual void setAlignmentPositionError(const AlignmentPositionError &ape)
Definition: GeomDet.cc:39
void move(const GlobalVector &displacement)
Definition: GeomDet.cc:16
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:100
GeomDet(BoundPlane *plane)
Definition: GeomDet.cc:5
void rotate(const Surface::RotationType &rotation)
Definition: GeomDet.cc:24