29 for ( std::vector<AlignableDTStation*>::iterator iter =
theDTStations.begin();
40 throw cms::Exception(
"LogicError") <<
"Station index (" << i <<
") out of range";
64 for ( std::vector<AlignableDTStation*>::iterator ilayer =
theDTStations.begin();
66 zz += (*ilayer)->globalPosition().z();
86 os <<
"This DTWheel contains " << b.
theDTStations.size() <<
" DT stations" << std::endl;
89 os <<
"), orientation:" << std::endl<< b.
globalRotation() << std::endl;
100 for ( std::vector<AlignableDTStation*>::const_iterator iStation =
theDTStations.begin();
friend std::ostream & operator<<(std::ostream &, const AlignableDTWheel &)
Printout muon DT wheel information (not recursive)
Geom::Phi< T > phi() const
AlignableDTWheel(const std::vector< AlignableDTStation * > &dtStations)
The constructor simply copies the vector of stations and computes the surface from them...
const RotationType & globalRotation() const
Return the global orientation of the object.
void dump(void) const override
Recursive printout of the muon DT wheel structure.
AlignableDTStation & station(int i)
Return Alignable DT Station at given index.
AlignableSurface computeSurface()
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
void setSurface(const AlignableSurface &s)
align::RotationType RotationType
align::PositionType PositionType
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations
~AlignableDTWheel() override
Clean delete of the vector and its elements.
CompConstraintType compConstraintType_
const PositionType & globalPosition() const
Return the global position of the object.
int size() const
Return number of direct components.