|
|
Go to the documentation of this file.
15 for (
const auto&
station : GEMStations) {
27 throw cms::Exception(
"LogicError") <<
"Station index (" <<
i <<
") out of range";
41 zz += (*ilayer)->globalPosition().z();
51 os <<
"This EndCap contains " <<
b.theGEMStations.size() <<
" GEM stations" << std::endl;
52 os <<
"(phi, r, z) = (" <<
b.globalPosition().phi() <<
"," <<
b.globalPosition().perp() <<
","
53 <<
b.globalPosition().z();
54 os <<
"), orientation:" << std::endl <<
b.globalRotation() << std::endl;
60 for (std::vector<AlignableGEMStation*>::const_iterator iLayer =
theGEMStations.begin();
70 std::unique_ptr<Alignments> tmpAlignments{
i->alignments()};
71 std::copy(tmpAlignments->m_align.begin(), tmpAlignments->m_align.end(), std::back_inserter(m_alignments->
m_align));
83 std::unique_ptr<AlignmentErrorsExtended> tmpAlignmentErrorsExtended{
i->alignmentErrors()};
84 std::copy(tmpAlignmentErrorsExtended->m_alignError.begin(),
85 tmpAlignmentErrorsExtended->m_alignError.end(),
91 return m_alignmentErrors;
std::vector< AlignableGEMStation * > theGEMStations
RotationType computeOrientation()
const Alignables & components() const override
Return vector of direct components.
Log< level::Info, false > LogInfo
void setSurface(const AlignableSurface &s)
AlignableSurface computeSurface()
align::PositionType PositionType
void dump(void) const override
Recursive printout of alignable structure.
CompConstraintType compConstraintType_
Alignments * alignments() const override
Return alignment data.
void addComponent(Alignable *component) final
std::ostream & operator<<(std::ostream &os, const AlignableGEMEndcap &b)
AlignableGEMEndcap(const std::vector< AlignableGEMStation * > &GEMStations)
align::RotationType RotationType
void setMother(Alignable *mother)
Assign mother to alignable.
AlignmentErrorsExtended * alignmentErrors() const override
Return vector of alignment errors.
PositionType computePosition()
std::vector< AlignTransform > m_align
std::vector< AlignTransformErrorExtended > m_alignError
AlignableGEMStation & station(int i)
Alignable * mother() const
Return pointer to container alignable (if any)
int size() const
Return number of direct components.