44 : dtGeometry_(dtGeometry),
45 cscGeometry_(cscGeometry),
48 cscSurvey_(cscSurvey),
49 dtSurveyError_(dtSurveyError),
50 cscSurveyError_(cscSurveyError) {}
78 unsigned int theSurveyIndex = 0;
81 const auto& barrels =
output->DTBarrel();
82 for (
const auto& iter : barrels) {
83 addSurveyInfo_(iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
89 const auto& endcaps =
output->CSCEndcaps();
90 for (
const auto& iter : endcaps) {
91 addSurveyInfo_(iter, &theSurveyIndex, theSurveyValues, theSurveyErrors);
102 unsigned int* theSurveyIndex,
107 unsigned int nComp =
comp.size();
109 for (
unsigned int i = 0;
i < nComp; ++
i)
115 throw cms::Exception(
"DatabaseError") <<
"Error reading survey info from DB. Mismatched id!";
118 const CLHEP::Hep3Vector&
pos = theSurveyValues->
m_align[*theSurveyIndex].translation();
119 const CLHEP::HepRotation&
rot = theSurveyValues->
m_align[*theSurveyIndex].rotation();
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
align::Scalar width() const
void setWidth(align::Scalar width)
std::vector< AlignTransform > m_align
void setLength(align::Scalar length)
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
virtual const Alignables & components() const =0
Return vector of all direct components.
const DetId & geomDetId() const
constexpr uint32_t rawId() const
get the raw id
void setSurvey(const SurveyDet *)
Set survey info.
align::Scalar length() const
std::vector< SurveyError > m_surveyErrors
Constructor of the full muon geometry.