Go to the documentation of this file.
79 unsigned int theSurveyIndex = 0;
80 const Alignments* theSurveyValues = &*dtSurvey;
82 const auto& barrels =
output->DTBarrel();
83 for (
const auto& iter : barrels) {
84 addSurveyInfo_(iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
88 theSurveyValues = &*cscSurvey;
89 theSurveyErrors = &*cscSurveyError;
90 const auto& endcaps =
output->CSCEndcaps();
91 for (
const auto& iter : endcaps) {
92 addSurveyInfo_(iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
103 unsigned int* theSurveyIndex,
108 unsigned int nComp =
comp.size();
110 for (
unsigned int i = 0;
i < nComp; ++
i)
116 throw cms::Exception(
"DatabaseError") <<
"Error reading survey info from DB. Mismatched id!";
119 const CLHEP::Hep3Vector&
pos = theSurveyValues->
m_align[*theSurveyIndex].translation();
120 const CLHEP::HepRotation&
rot = theSurveyValues->
m_align[*theSurveyIndex].rotation();
align::Scalar length() const
void setSurvey(const SurveyDet *)
Set survey info.
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
Constructor of the full muon geometry.
const DetId & geomDetId() const
void setWidth(align::Scalar width)
constexpr uint32_t rawId() const
get the raw id
align::Scalar width() const
void setLength(align::Scalar length)
std::vector< AlignTransform > m_align
std::vector< SurveyError > m_surveyErrors
virtual const Alignables & components() const =0
Return vector of all direct components.