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();
AlignableCSCStation(const std::vector< AlignableCSCRing * > &cscRings)
The constructor simply copies the vector of CSC Rings and computes the surface from them...
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.
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.
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)
friend std::ostream & operator<<(std::ostream &, const AlignableCSCStation &)
Printout muon CSC Station information (not recursive)
AlignableSurface computeSurface()
std::vector< AlignableCSCRing * > theCSCRings
align::RotationType RotationType
align::PositionType PositionType
CompConstraintType compConstraintType_
const PositionType & globalPosition() const
Return the global position of the object.
int size() const
Return number of direct components.