Go to the documentation of this file.
17 for (
const auto&
station : dtStations) {
30 throw cms::Exception(
"LogicError") <<
"Station index (" <<
i <<
") out of range";
47 zz += (*ilayer)->globalPosition().z();
59 os <<
"This DTWheel contains " <<
b.theDTStations.size() <<
" DT stations" << std::endl;
60 os <<
"(phi, r, z) = (" <<
b.globalPosition().phi() <<
"," <<
b.globalPosition().perp() <<
","
61 <<
b.globalPosition().z();
62 os <<
"), orientation:" << std::endl <<
b.globalRotation() << std::endl;
69 for (std::vector<AlignableDTStation*>::const_iterator iStation =
theDTStations.begin();
AlignableDTStation & station(int i)
Return Alignable DT Station at given index.
std::ostream & operator<<(std::ostream &os, const AlignableDTWheel &b)
Output Wheel information.
void setSurface(const AlignableSurface &s)
AlignableSurface computeSurface()
align::PositionType PositionType
CompConstraintType compConstraintType_
void addComponent(Alignable *component) final
void dump(void) const override
Recursive printout of the muon DT wheel structure.
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
align::RotationType RotationType
void setMother(Alignable *mother)
Assign mother to alignable.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations
AlignableDTWheel(const std::vector< AlignableDTStation * > &dtStations)
The constructor simply copies the vector of stations and computes the surface from them.
Alignable * mother() const
Return pointer to container alignable (if any)
int size() const
Return number of direct components.