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<BoundPlane>(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< BoundPlane > 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
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
void move(const GlobalVector &displacement)
Definition: GeomDet.cc:13
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:104
GeomDet(BoundPlane *plane)
Definition: GeomDet.cc:5
const GlobalError & globalError() const
bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition: GeomDet.cc:37
const BoundPlane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
void rotate(const Surface::RotationType &rotation)
Definition: GeomDet.cc:21