29 for ( std::vector<AlignableCSCRing*>::iterator iter =
theCSCRings.begin();
40 throw cms::Exception(
"LogicError") <<
"CSC Ring index (" << i <<
") out of range";
64 for ( std::vector<AlignableCSCRing*>::iterator ilayer =
theCSCRings.begin();
66 zz += (*ilayer)->globalPosition().
z();
96 os <<
"This CSC Station contains " << b.
theCSCRings.size() <<
" CSC rings" << std::endl;
99 os <<
"), orientation:" << std::endl<< b.
globalRotation() << std::endl;
110 for ( std::vector<AlignableCSCRing*>::const_iterator iRing =
theCSCRings.begin();
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
AlignableCSCRing & ring(int i)
Return Alignable CSC Ring at given index.
AlignableCSCStation(const std::vector< AlignableCSCRing * > cscRings)
The constructor simply copies the vector of CSC Rings and computes the surface from them...
Geom::Phi< T > phi() const
~AlignableCSCStation()
Clean delete of the vector and its elements.
const RotationType & globalRotation() const
Return the global orientation of the object.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
void dump(void) const
Recursive printout of the muon CSC Station structure.
void setSurface(const AlignableSurface &s)
AlignableSurface computeSurface()
std::vector< AlignableCSCRing * > theCSCRings
align::RotationType RotationType
align::PositionType PositionType
const PositionType & globalPosition() const
Return the global position of the object.
int size() const
Return number of direct components.