CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlignableDet.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableDet_h
2 #define Alignment_CommonAlignment_AlignableDet_h
3 
5 
9 public:
12  AlignableDet(const GeomDet* geomDet, bool addComponents = true);
13 
15  ~AlignableDet() override;
16 
19  void update(const GeomDet* geomDet, bool updateComponents = true);
20 
22  void setAlignmentPositionError(const AlignmentPositionError& ape, bool propagateDown) override;
23 
26  void addAlignmentPositionError(const AlignmentPositionError& ape, bool propagateDown) override;
27 
31  void addAlignmentPositionErrorFromRotation(const RotationType& rot, bool propagateDown) override;
32 
33  // No need to overwrite, version from AlignableComposite is just fine:
34  // virtual void addAlignmentPositionErrorFromLocalRotation(const RotationType &rot,
35  // bool propagateDown);
36 
38  Alignments* alignments() const override;
39 
41  AlignmentErrorsExtended* alignmentErrors() const override;
42 
45 
46 private:
48 };
49 
50 #endif // ALIGNABLE_DET_H
Alignments * alignments() const override
Return vector of alignment data.
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
Definition: AlignableDet.h:44
AlignmentPositionError * theAlignmentPositionError
Definition: AlignableDet.h:47
~AlignableDet() override
Destructor.
Definition: AlignableDet.cc:47
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown) override
AlignableDet(const GeomDet *geomDet, bool addComponents=true)
Definition: AlignableDet.cc:14
void update(const GeomDet *geomDet, bool updateComponents=true)
Definition: AlignableDet.cc:50
void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override
Set the AlignmentPositionError and, if (propagateDown), to all components.
Definition: AlignableDet.cc:98
void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override