CMS 3D CMS Logo

AlignableDTBarrel.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignment_AlignableDTBarrel_H
2 #define Alignment_MuonAlignment_AlignableDTBarrel_H
3 
15 
17 
18 #include <vector>
19 
20 class GeomDet;
21 
26 
28 public:
29  AlignableDTBarrel(const std::vector<AlignableDTWheel*>& dtWheels);
30 
31  // gets the global position as the average over all positions of the layers
33  // get the global orientation
34  RotationType computeOrientation(); //see explanation for "theOrientation"
35  // get the Surface
37 
38  AlignableDTWheel& wheel(int i);
39 
41  friend std::ostream& operator<<(std::ostream&, const AlignableDTBarrel&);
42 
44  void dump(void) const override;
45 
46  // Get alignments sorted by DetId
47  Alignments* alignments() const override;
48 
49  // Get alignment errors sorted by DetId
50  AlignmentErrorsExtended* alignmentErrors() const override;
51 
52 private:
53  std::vector<AlignableDTWheel*> theDTWheels;
54 };
55 
56 #endif
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
AlignableDTBarrel(const std::vector< AlignableDTWheel *> &dtWheels)
The constructor simply copies the vector of wheels and computes the surface from them.
friend std::ostream & operator<<(std::ostream &, const AlignableDTBarrel &)
Printout muon Barrel information (not recursive)
Alignments * alignments() const override
Return alignment data.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTWheel * > theDTWheels
AlignableDTWheel & wheel(int i)
Return AlignableBarrelLayer at given index.
AlignableSurface computeSurface()
void dump(void) const override
Recursive printout of the muon Barrel structure.