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();
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.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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)
void dump(void) const
Recursive printout of the muon DT wheel structure.
align::RotationType RotationType
align::PositionType PositionType
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations
const PositionType & globalPosition() const
Return the global position of the object.
~AlignableDTWheel()
Clean delete of the vector and its elements.
int size() const
Return number of direct components.