Go to the documentation of this file.
17 for (
const auto&
ring : cscRings) {
30 throw cms::Exception(
"LogicError") <<
"CSC Ring index (" <<
i <<
") out of range";
45 for (std::vector<AlignableCSCRing*>::iterator ilayer =
theCSCRings.begin(); ilayer !=
theCSCRings.end(); ilayer++)
46 zz += (*ilayer)->globalPosition().z();
67 os <<
"This CSC Station contains " <<
b.theCSCRings.size() <<
" CSC rings" << std::endl;
68 os <<
"(phi, r, z) = (" <<
b.globalPosition().phi() <<
"," <<
b.globalPosition().perp() <<
","
69 <<
b.globalPosition().z();
70 os <<
"), orientation:" << std::endl <<
b.globalRotation() << std::endl;
77 for (std::vector<AlignableCSCRing*>::const_iterator iRing =
theCSCRings.begin(); iRing !=
theCSCRings.end(); iRing++)
AlignableCSCRing & ring(int i)
Return Alignable CSC Ring at given index.
void dump(void) const override
Recursive printout of the muon CSC Station structure.
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
void setSurface(const AlignableSurface &s)
align::PositionType PositionType
CompConstraintType compConstraintType_
void addComponent(Alignable *component) final
std::ostream & operator<<(std::ostream &os, const AlignableCSCStation &b)
Output Station information.
align::RotationType RotationType
AlignableCSCStation(const std::vector< AlignableCSCRing * > &cscRings)
The constructor simply copies the vector of CSC Rings and computes the surface from them.
AlignableSurface computeSurface()
std::vector< AlignableCSCRing * > theCSCRings
void setMother(Alignable *mother)
Assign mother to alignable.
Alignable * mother() const
Return pointer to container alignable (if any)
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
int size() const
Return number of direct components.