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 
16 
18 
19 
20 
21 #include <vector>
22 
23 class GeomDet;
24 
29 
31 {
32 
33  public:
34 
35  AlignableDTBarrel( const std::vector<AlignableDTWheel*>& dtWheels );
36 
37  // gets the global position as the average over all positions of the layers
39  // get the global orientation
40  RotationType computeOrientation() ; //see explanation for "theOrientation"
41  // get the Surface
43 
44  AlignableDTWheel &wheel(int i);
45 
47  friend std::ostream& operator << ( std::ostream&, const AlignableDTBarrel& );
48 
50  void dump( void ) const override;
51 
52 
53  // Get alignments sorted by DetId
54  Alignments* alignments() const override;
55 
56  // Get alignment errors sorted by DetId
57  AlignmentErrorsExtended* alignmentErrors() const override;
58 
59 
60 
61 private:
62 
63  std::vector<AlignableDTWheel*> theDTWheels;
64 
65 
66 };
67 
68 #endif
69 
70 
71 
72 
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
friend std::ostream & operator<<(std::ostream &, const AlignableDTBarrel &)
Printout muon Barrel information (not recursive)
AlignableDTBarrel(const std::vector< AlignableDTWheel * > &dtWheels)
The constructor simply copies the vector of wheels and computes the surface from them.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Alignments * alignments() const override
Return alignment data.
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.
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.