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();
Alignable * mother() const
Return pointer to container alignable (if any)
std::ostream & operator<<(std::ostream &os, const AlignableDTWheel &b)
Output Wheel information.
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)
Log< level::Info, false > LogInfo
void setMother(Alignable *mother)
Assign mother to alignable.
align::RotationType RotationType
int size() const
Return number of direct components.
align::PositionType PositionType
void dump(void) const override
Recursive printout of the muon DT wheel structure.
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
std::vector< AlignableDTStation * > theDTStations
CompConstraintType compConstraintType_
void addComponent(Alignable *component) final
AlignableDTWheel(const std::vector< AlignableDTStation *> &dtStations)
The constructor simply copies the vector of stations and computes the surface from them...