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();
A muon DT Chamber( an AlignableDet )
AlignableSurface computeSurface()
Alignable * mother() const
Return pointer to container alignable (if any)
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
AlignableDTChamber & chamber(int i)
Return Alignable DT Chamber at given index.
void setSurface(const AlignableSurface &s)
std::vector< AlignableDTChamber * > theDTChambers
Log< level::Info, false > LogInfo
void setMother(Alignable *mother)
Assign mother to alignable.
PositionType computePosition()
Compute average z position from all components (x and y forced to 0)
align::RotationType RotationType
int size() const
Return number of direct components.
AlignableDTStation(const std::vector< AlignableDTChamber *> &dtChambers)
The constructor simply copies the vector of DT Chambers and computes the surface from them...
align::PositionType PositionType
std::ostream & operator<<(std::ostream &os, const AlignableDTStation &b)
Output Station information.
CompConstraintType compConstraintType_
void addComponent(Alignable *component) final
void dump(void) const override
Recursive printout of the muon DT Station structure.