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  ~AlignableDet() override;
19 
22  void update(const GeomDet* geomDet, bool updateComponents = true);
23 
25  void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override;
26 
29  void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override;
30 
34  void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown) override;
35 
36  // No need to overwrite, version from AlignableComposite is just fine:
37  // virtual void addAlignmentPositionErrorFromLocalRotation(const RotationType &rot,
38  // bool propagateDown);
39 
41  Alignments* alignments() const override;
42 
44  AlignmentErrorsExtended* alignmentErrors() const override;
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
~AlignableDet() override
Destructor.
Definition: AlignableDet.cc:53
void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown) override
Alignments * alignments() const override
Return vector of alignment data.
AlignableDet(const GeomDet *geomDet, bool addComponents=true)
Definition: AlignableDet.cc:15
void update(const GeomDet *geomDet, bool updateComponents=true)
Definition: AlignableDet.cc:62
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override
Set the AlignmentPositionError and, if (propagateDown), to all components.
void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override