40 throw cms::Exception(
"LogicError") <<
"DT Chamber index (" << i <<
") out of range";
64 for ( std::vector<AlignableDTChamber*>::iterator ilayer =
theDTChambers.begin();
66 zz += (*ilayer)->globalPosition().
z();
87 os <<
"This DT Station contains " << b.
theDTChambers.size() <<
" DT chambers" << std::endl;
90 os <<
"), orientation:" << std::endl<< b.
globalRotation() << std::endl;
101 for ( std::vector<AlignableDTChamber*>::const_iterator iChamber =
theDTChambers.begin();
A muon DT Chamber( an AlignableDet )
AlignableSurface computeSurface()
RotationType computeOrientation()
Just initialize to default given by default constructor of a RotationType.
Geom::Phi< T > phi() const
~AlignableDTStation()
Clean delete of the vector and its elements.
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...
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.
void dump(void) const
Recursive printout of the muon DT Station structure.
int size() const
Return number of direct components.