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 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
TkRotation< Scalar >
AlignableDet::addAlignmentPositionErrorFromRotation
void addAlignmentPositionErrorFromRotation(const RotationType &rot, bool propagateDown) override
Definition: AlignableDet.cc:119
GeomDet
Definition: GeomDet.h:27
AlignableComposite
Definition: AlignableComposite.h:25
AlignableDet::theAlignmentPositionError
AlignmentPositionError * theAlignmentPositionError
Definition: AlignableDet.h:47
AlignableDet::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
Definition: AlignableDet.cc:159
AlignableDet::setAlignmentPositionError
void setAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override
Set the AlignmentPositionError and, if (propagateDown), to all components.
Definition: AlignableDet.cc:98
AlignableDet
Definition: AlignableDet.h:8
AlignableDet::alignments
Alignments * alignments() const override
Return vector of alignment data.
Definition: AlignableDet.cc:135
AlignableDet::update
void update(const GeomDet *geomDet, bool updateComponents=true)
Definition: AlignableDet.cc:50
AlignableDet::AlignableDet
AlignableDet(const GeomDet *geomDet, bool addComponents=true)
Definition: AlignableDet.cc:14
AlignableComposite.h
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlignableDet::~AlignableDet
~AlignableDet() override
Destructor.
Definition: AlignableDet.cc:47
makeMuonMisalignmentScenario.rot
rot
Definition: makeMuonMisalignmentScenario.py:322
AlignmentPositionError
Definition: AlignmentPositionError.h:10
Alignments
Definition: Alignments.h:10
AlignableDet::addAlignmentPositionError
void addAlignmentPositionError(const AlignmentPositionError &ape, bool propagateDown) override
Definition: AlignableDet.cc:108
AlignableDet::alignmentPositionError
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above!
Definition: AlignableDet.h:44