#include <SurveyDBUploader.h>
Private Types | |
typedef AlignTransform | SurveyValue |
typedef Alignments | SurveyValues |
Private Member Functions | |
void | getSurveyInfo (const Alignable *) |
Get survey info of an alignable in the detector. More... | |
Private Attributes | |
std::string | theErrorExtendedRcd |
SurveyErrors * | theErrors |
std::string | theValueRcd |
SurveyValues * | theValues |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Module for uploading survey info to the DB.
Usage: module uploader = SurveyDBUploader { string valueTag = "TrackerSurveyRcd" string errorTag = "TrackerSurveyErrorExtendedRcd" }
Definition at line 27 of file SurveyDBUploader.h.
|
private |
Definition at line 30 of file SurveyDBUploader.h.
|
private |
Definition at line 31 of file SurveyDBUploader.h.
SurveyDBUploader::SurveyDBUploader | ( | const edm::ParameterSet & | cfg | ) |
Set value & error tag names for survey records.
Definition at line 12 of file SurveyDBUploader.cc.
|
inlineoverride |
|
overridevirtual |
Upload to DB.
Reimplemented from edm::EDAnalyzer.
Definition at line 20 of file SurveyDBUploader.cc.
References cond::service::PoolDBOutputService::currentTime(), SurveyInputBase::detector(), Exception, getSurveyInfo(), edm::Service< T >::isAvailable(), Alignments::m_align, SurveyErrors::m_surveyErrors, theErrorExtendedRcd, theErrors, theValueRcd, theValues, and cond::service::PoolDBOutputService::writeOne().
Referenced by analyze(), and o2olib.O2ORunMgr::executeJob().
|
private |
Get survey info of an alignable in the detector.
Definition at line 44 of file SurveyDBUploader.cc.
References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), DEFINE_FWK_MODULE, relativeConstraints::error, SurveyDet::errors(), mps_fire::i, Alignable::id(), Alignments::m_align, SurveyErrors::m_surveyErrors, 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 analyze(), and endJob().
|
private |
Definition at line 56 of file SurveyDBUploader.h.
Referenced by endJob().
|
private |
Definition at line 59 of file SurveyDBUploader.h.
Referenced by endJob(), and getSurveyInfo().
|
private |
Definition at line 55 of file SurveyDBUploader.h.
Referenced by endJob().
|
private |
Definition at line 58 of file SurveyDBUploader.h.
Referenced by endJob(), and getSurveyInfo().