CMS 3D CMS Logo

AlignableExtras.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableExtras_H
2 #define Alignment_CommonAlignment_AlignableExtras_H
3 
18 
20 public:
22 
24  explicit AlignableExtras();
25 
27  Alignables& subStructures(const std::string& subStructName) { return alignableLists_.find(subStructName); }
28 
30  Alignables& beamSpot() { return this->subStructures("BeamSpot"); }
31 
32  const Alignables& components() const { return components_; }
33 
35  Alignments* alignments() const;
36 
39 
40  void dump(void) const;
41 
43  void initializeBeamSpot(double x, double y, double z, double dxdz, double dydz);
44 
46  void resetBeamSpot();
47 
48 private:
49  AlignableMap alignableLists_; //< kind of map of lists of alignables
50  Alignables components_; //< list of alignables
51 };
52 
53 #endif //AlignableExtras_H
DDAxes::y
AlignableMap
Definition: AlignableMap.h:27
AlignableExtras::resetBeamSpot
void resetBeamSpot()
Initialize the alignable beam spot with the given parameters.
Definition: AlignableExtras.cc:89
DDAxes::x
AlignableExtras::alignments
Alignments * alignments() const
Return alignments, sorted by DetId.
Definition: AlignableExtras.cc:41
AlignableExtras::components
const Alignables & components() const
Definition: AlignableExtras.h:32
AlignableExtras::components_
Alignables components_
Definition: AlignableExtras.h:50
DDAxes::z
BeamSpotPI::dxdz
Definition: BeamSpotPayloadInspectorHelper.h:37
AlignableExtras
Definition: AlignableExtras.h:19
AlignableExtras::initializeBeamSpot
void initializeBeamSpot(double x, double y, double z, double dxdz, double dydz)
Initialize the alignable beam spot with the given parameters.
Definition: AlignableExtras.cc:78
AlignableMap::find
align::Alignables & find(const std::string &name="")
Definition: AlignableMap.cc:10
BeamSpotPI::dydz
Definition: BeamSpotPayloadInspectorHelper.h:38
Utilities.h
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AlignableExtras::Alignables
align::Alignables Alignables
Definition: AlignableExtras.h:21
AlignableExtras::AlignableExtras
AlignableExtras()
Constructor (builds all alignables)
Definition: AlignableExtras.cc:22
AlignableExtras::alignableLists_
AlignableMap alignableLists_
Definition: AlignableExtras.h:49
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlignableExtras::subStructures
Alignables & subStructures(const std::string &subStructName)
Return alignables determined by name.
Definition: AlignableExtras.h:27
AlignableExtras::beamSpot
Alignables & beamSpot()
Return beam spot alignable as a vector with one element.
Definition: AlignableExtras.h:30
AlignableExtras::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const
Return alignment errors, sorted by DetId.
Definition: AlignableExtras.cc:58
AlignableMap.h
Alignable.h
AlignableExtras::dump
void dump(void) const
Definition: AlignableExtras.cc:29
Alignments
Definition: Alignments.h:10