37 : m_dtLabel(
""), m_cscLabel(
"") {}
40 : m_dtLabel(dtLabel), m_cscLabel(cscLabel) {}
80 unsigned int theSurveyIndex = 0;
81 const Alignments *theSurveyValues = &*dtSurvey;
83 std::vector<Alignable*> barrels = output->
DTBarrel();
84 for (std::vector<Alignable*>::const_iterator iter = barrels.begin(); iter != barrels.end(); ++iter) {
85 addSurveyInfo_(*iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
89 theSurveyValues = &*cscSurvey;
90 theSurveyErrors = &*cscSurveyError;
91 std::vector<Alignable*> endcaps = output->
CSCEndcaps();
92 for (std::vector<Alignable*>::const_iterator iter = endcaps.begin(); iter != endcaps.end(); ++iter) {
93 addSurveyInfo_(*iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
104 unsigned int *theSurveyIndex,
107 const std::vector<Alignable*>& comp = ali->
components();
109 unsigned int nComp = comp.size();
111 for (
unsigned int i = 0;
i < nComp; ++
i)
addSurveyInfo_(comp[
i], theSurveyIndex, theSurveyValues, theSurveyErrors);
119 <<
"Error reading survey info from DB. Mismatched id!";
122 const CLHEP::Hep3Vector&
pos = theSurveyValues->
m_align[*theSurveyIndex].translation();
123 const CLHEP::HepRotation&
rot = theSurveyValues->
m_align[*theSurveyIndex].rotation();
127 rot.yx(), rot.yy(), rot.yz(),
128 rot.zx(), rot.zy(), rot.zz() ) );
align::Scalar width() const
ErrorMatrix matrix() const
align::Alignables DTBarrel()
void setWidth(align::Scalar width)
uint8_t structureType() const
virtual Alignables components() const =0
Return vector of all direct components.
std::vector< AlignTransform > m_align
uint32_t rawId() const
get the raw id
void setLength(align::Scalar length)
align::Alignables CSCEndcaps()
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
align::Scalar length() const
void setSurvey(const SurveyDet *)
Set survey info.
std::vector< SurveyError > m_surveyErrors
Constructor of the full muon geometry.
const DetId & geomDetId() const