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;
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()
uint16_t *__restrict__ id
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Geom::Phi< T > phi() const
const RotationType & globalRotation() const
Return the global orientation of the object.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
AlignableDTChamber & chamber(int i)
Return Alignable DT Chamber at given index.
void setSurface(const AlignableSurface &s)
std::vector< AlignableDTChamber * > theDTChambers
AlignableDTStation(const std::vector< AlignableDTChamber * > &dtChambers)
The constructor simply copies the vector of DT Chambers and computes the surface from them...
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
align::PositionType PositionType
const PositionType & globalPosition() const
Return the global position of the object.
Alignable * mother() const
Return pointer to container alignable (if any)
void addComponent(Alignable *component) final
int size() const
Return number of direct components.
void dump(void) const override
Recursive printout of the muon DT Station structure.