13 : theValueRcd(cfg.getParameter<
std::
string>(
"valueRcd")),
14 theErrorExtendedRcd(cfg.getParameter<
std::
string>(
"errorRcd")),
33 throw cms::Exception(
"ConfigError") <<
"PoolDBOutputService is not available";
39 unsigned int nComp =
comp.size();
41 for (
unsigned int i = 0;
i < nComp; ++
i)
50 CLHEP::HepRotation(CLHEP::HepRep3x3(
51 rot.
xx(), rot.
xy(), rot.
xz(), rot.
yx(), rot.
yy(), rot.
yz(), 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 const 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
#define DEFINE_FWK_MODULE(type)
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
void endJob() override
Upload to DB.
std::string theErrorExtendedRcd
cond::Time_t currentTime() const
SurveyDBUploader(const edm::ParameterSet &)
Set value & error tag names for survey records.
std::vector< SurveyError > m_surveyErrors