Go to the documentation of this file.
17 for (
const auto&
chamber : dtChambers) {
30 throw cms::Exception(
"LogicError") <<
"DT Chamber index (" <<
i <<
") out of range";
47 zz += (*ilayer)->globalPosition().z();
59 os <<
"This DT Station contains " <<
b.theDTChambers.size() <<
" DT chambers" << 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<AlignableDTChamber*>::const_iterator iChamber =
theDTChambers.begin();
AlignableDTChamber & chamber(int i)
Return Alignable DT Chamber at given index.
AlignableDTStation(const std::vector< AlignableDTChamber * > &dtChambers)
The constructor simply copies the vector of DT Chambers and computes the surface from them.
AlignableSurface computeSurface()
Log< level::Info, false > LogInfo
void setSurface(const AlignableSurface &s)
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
align::PositionType PositionType
CompConstraintType compConstraintType_
void addComponent(Alignable *component) final
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
align::RotationType RotationType
std::ostream & operator<<(std::ostream &os, const AlignableDTStation &b)
Output Station information.
void setMother(Alignable *mother)
Assign mother to alignable.
std::vector< AlignableDTChamber * > theDTChambers
void dump(void) const override
Recursive printout of the muon DT Station structure.
A muon DT Chamber( an AlignableDet )
Alignable * mother() const
Return pointer to container alignable (if any)
int size() const
Return number of direct components.