CMS 3D CMS Logo

AlignableDet.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableDet_h
2 #define Alignment_CommonAlignment_AlignableDet_h
3 
5 
9 {
10 
11 public:
12 
15  AlignableDet( const GeomDet* geomDet, bool addComponents = true );
16 
18  virtual ~AlignableDet();
19 
22  void update(const GeomDet* geomDet, bool updateComponents = true);
23 
25  virtual void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown);
26 
29  virtual void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown);
30 
34  virtual void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown);
35 
36  // No need to overwrite, version from AlignableComposite is just fine:
37  // virtual void addAlignmentPositionErrorFromLocalRotation(const RotationType &rot,
38  // bool propagateDown);
39 
41  virtual Alignments* alignments() const;
42 
45 
48 
49 private:
50 
52 
53 };
54 
55 #endif // ALIGNABLE_DET_H
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
Definition: AlignableDet.h:47
AlignmentPositionError * theAlignmentPositionError
Definition: AlignableDet.h:51
virtual void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown)
Set the AlignmentPositionError and, if (propagateDown), to all components.
virtual AlignmentErrorsExtended * alignmentErrors() const
Return vector of alignment errors.
virtual Alignments * alignments() const
Return vector of alignment data.
virtual void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown)
virtual void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown)
AlignableDet(const GeomDet *geomDet, bool addComponents=true)
Definition: AlignableDet.cc:16
void update(const GeomDet *geomDet, bool updateComponents=true)
Definition: AlignableDet.cc:63
virtual ~AlignableDet()
Destructor.
Definition: AlignableDet.cc:54