31 for ( std::vector<AlignableDTWheel*>::iterator iter =
theDTWheels.begin();
42 throw cms::Exception(
"LogicError") <<
"Wheel index (" << i <<
") out of range";
66 for ( std::vector<AlignableDTWheel*>::iterator ilayer =
theDTWheels.begin();
68 zz += (*ilayer)->globalPosition().
z();
89 os <<
"This DTBarrel contains " << b.
theDTWheels.size() <<
" Barrel wheels" << std::endl;
92 os <<
"), orientation:" << std::endl<< b.
globalRotation() << std::endl;
103 for ( std::vector<AlignableDTWheel*>::const_iterator iWheel =
theDTWheels.begin();
116 for ( std::vector<Alignable*>::iterator
i=comp.begin();
i!=comp.end();
i++ )
118 Alignments* tmpAlignments = (*i)->alignments();
120 std::back_inserter(m_alignments->
m_align) );
121 delete tmpAlignments;
139 for ( std::vector<Alignable*>::iterator
i=comp.begin();
i!=comp.end();
i++ )
144 delete tmpAlignmentErrorsExtended;
150 return m_alignmentErrors;
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
Alignments * alignments() const
Return alignment data.
Geom::Phi< T > phi() const
const RotationType & globalRotation() const
Return the global orientation of the object.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
std::vector< AlignTransform > m_align
~AlignableDTBarrel()
Clean delete of the vector and its elements.
AlignableDTBarrel(const std::vector< AlignableDTWheel * > &dtWheels)
The constructor simply copies the vector of wheels and computes the surface from them.
virtual std::vector< Alignable * > components() const
Return vector of direct components.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
void setSurface(const AlignableSurface &s)
std::vector< AlignableDTWheel * > theDTWheels
AlignableDTWheel & wheel(int i)
Return AlignableBarrelLayer at given index.
void dump(void) const
Recursive printout of the muon Barrel structure.
AlignableSurface computeSurface()
std::vector< AlignTransformErrorExtended > m_alignError
align::RotationType RotationType
align::PositionType PositionType
AlignmentErrorsExtended * alignmentErrors() const
Return vector of alignment errors.
const PositionType & globalPosition() const
Return the global position of the object.
int size() const
Return number of direct components.