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
AlignableDTBarrel::alignmentErrors
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
Definition: AlignableDTBarrel.cc:94
TkRotation< Scalar >
mps_fire.i
i
Definition: mps_fire.py:355
GeomDet
Definition: GeomDet.h:27
AlignableComposite
Definition: AlignableComposite.h:25
AlignableDTBarrel::computePosition
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Definition: AlignableDTBarrel.cc:46
AlignableDTBarrel::computeOrientation
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Definition: AlignableDTBarrel.cc:58
AlignableDTBarrel::operator<<
friend std::ostream & operator<<(std::ostream &, const AlignableDTBarrel &)
Printout muon Barrel information (not recursive)
Definition: AlignableDTBarrel.cc:61
AlignableDTBarrel::alignments
Alignments * alignments() const override
Return alignment data.
Definition: AlignableDTBarrel.cc:78
AlignableDTWheel.h
Point3DBase< Scalar, GlobalTag >
AlignableSurface.h
AlignableDTBarrel::AlignableDTBarrel
AlignableDTBarrel(const std::vector< AlignableDTWheel * > &dtWheels)
The constructor simply copies the vector of wheels and computes the surface from them.
Definition: AlignableDTBarrel.cc:16
AlignableDTBarrel::theDTWheels
std::vector< AlignableDTWheel * > theDTWheels
Definition: AlignableDTBarrel.h:53
AlignableDTBarrel::wheel
AlignableDTWheel & wheel(int i)
Return AlignableBarrelLayer at given index.
Definition: AlignableDTBarrel.cc:32
AlignableComposite.h
Utilities.h
AlignableDTBarrel
Definition: AlignableDTBarrel.h:27
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlignableDTBarrel::computeSurface
AlignableSurface computeSurface()
Definition: AlignableDTBarrel.cc:41
AlignableSurface
Definition: AlignableSurface.h:20
AlignableDTWheel
Definition: AlignableDTWheel.h:27
AlignableDTBarrel::dump
void dump(void) const override
Recursive printout of the muon Barrel structure.
Definition: AlignableDTBarrel.cc:70
Alignments
Definition: Alignments.h:10