Module for uploading survey info to the DB.
Usage: module uploader = SurveyDBUploader { string valueTag = "TrackerSurveyRcd" string errorTag = "TrackerSurveyErrorRcd" }
- Date:
- 2007/04/18 17:23:51
- Revision:
- 1.1
- Author
- Chung Khim Lae
Definition at line 27 of file SurveyDBUploader.h.
void SurveyDBUploader::getSurveyInfo |
( |
const Alignable * |
ali | ) |
|
|
private |
Get survey info of an alignable in the detector.
Definition at line 44 of file SurveyDBUploader.cc.
References Alignable::alignableObjectId(), Alignable::components(), error, SurveyDet::errors(), i, Alignable::id(), Alignments::m_align, SurveyErrors::m_surveyErrors, pos, SurveyDet::position(), makeMuonMisalignmentScenario::rot, SurveyDet::rotation(), Alignable::survey(), theErrors, theValues, relativeConstraints::value, PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
Referenced by endJob().
46 const std::vector<Alignable*>& comp = ali->
components();
48 unsigned int nComp = comp.size();
59 ( CLHEP::HepRep3x3( rot.
xx(), rot.
xy(), rot.
xz(),
60 rot.
yx(), rot.
yy(), rot.
yz(),
61 rot.
zx(), rot.
zy(), rot.
zz() ) ),
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
void getSurveyInfo(const Alignable *)
Get survey info of an alignable in the detector.
const SurveyDet * survey() const
Return survey info.
const align::ErrorMatrix & errors() const
virtual Alignables components() const =0
Return vector of all direct components.
std::vector< AlignTransform > m_align
const align::RotationType & rotation() const
const align::PositionType & position() const
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
AlignTransform SurveyValue
std::vector< SurveyError > m_surveyErrors