13 theValueRcd( cfg.getParameter<std::string>(
"valueRcd") ),
14 theErrorRcd( cfg.getParameter<std::string>(
"errorRcd") ),
41 <<
"PoolDBOutputService is not available";
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.
virtual void endJob()
Upload to DB.
#define DEFINE_FWK_MODULE(type)
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.
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
cond::Time_t currentTime() const
SurveyDBUploader(const edm::ParameterSet &)
Set value & error tag names for survey records.
std::vector< SurveyError > m_surveyErrors