#include <CocoaDBMgr.h>
Public Member Functions | |
bool | DumpCocoaResults () |
~CocoaDBMgr () | |
Static Public Member Functions | |
static CocoaDBMgr * | getInstance () |
Private Member Functions | |
std::pair< std::unique_ptr< Alignments >, std::unique_ptr< AlignmentErrorsExtended > > | BuildAlignments (bool bDT) |
std::unique_ptr< OpticalAlignments > | BuildOpticalAlignments () |
CocoaDBMgr () | |
AlignTransformErrorExtended * | GetAlignInfoErrorFromOptO (OpticalObject *opto) |
AlignTransform * | GetAlignInfoFromOptO (OpticalObject *opto) |
double | GetEntryError (const Entry *entry) |
double | GetEntryError (const Entry *entry1, const Entry *entry2) |
OpticalAlignInfo | GetOptAlignInfoFromOptO (OpticalObject *opto) |
Static Private Attributes | |
static CocoaDBMgr * | instance = nullptr |
Definition at line 36 of file CocoaDBMgr.h.
|
private |
|
inline |
Definition at line 43 of file CocoaDBMgr.h.
|
private |
Definition at line 284 of file CocoaDBMgr.cc.
References gather_cfg::cout, ALIUtils::debug, GetAlignInfoErrorFromOptO(), GetAlignInfoFromOptO(), eostools::move(), and Model::OptOList().
Referenced by DumpCocoaResults().
|
private |
Definition at line 266 of file CocoaDBMgr.cc.
References gather_cfg::cout, data, ALIUtils::debug, GetOptAlignInfoFromOptO(), and Model::OptOList().
Referenced by DumpCocoaResults().
bool CocoaDBMgr::DumpCocoaResults | ( | ) |
Definition at line 49 of file CocoaDBMgr.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), BuildAlignments(), BuildOpticalAlignments(), gather_cfg::cout, cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), ALIUtils::debug, cond::service::PoolDBOutputService::endOfTime(), Exception, GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), Fit::nEvent, and TRUE.
Referenced by Fit::startFit().
|
private |
Definition at line 335 of file CocoaDBMgr.cc.
References asHepMatrix(), OpticalObject::CoordinateEntryList(), gather_cfg::cout, ALIUtils::debug, OpticalObject::getCmsswID(), GetEntryError(), visualization-live-secondInstance_cfg::m, GlobalErrorBase< T, ErrorWeightType >::matrix(), and OpticalObject::name().
Referenced by BuildAlignments().
|
private |
Definition at line 317 of file CocoaDBMgr.cc.
References OpticalObject::centreGlob(), gather_cfg::cout, ALIUtils::debug, OpticalObject::getCmsswID(), OpticalObject::name(), OpticalObject::rmGlob(), and makeMuonMisalignmentScenario::rot.
Referenced by BuildAlignments().
|
private |
Definition at line 245 of file CocoaDBMgr.cc.
References mps_splice::entry, Fit::GetAtWAMatrix(), hlt_dqm_clientPB-live_cfg::me, and mathSSE::sqrt().
Referenced by GetAlignInfoErrorFromOptO(), GetEntryError(), and GetOptAlignInfoFromOptO().
Definition at line 254 of file CocoaDBMgr.cc.
References Entry::fitPos(), Fit::GetAtWAMatrix(), GetEntryError(), hlt_dqm_clientPB-live_cfg::me, Entry::quality(), and mathSSE::sqrt().
|
static |
Definition at line 38 of file CocoaDBMgr.cc.
References CocoaDBMgr(), and instance.
Referenced by Fit::startFit().
|
private |
Definition at line 151 of file CocoaDBMgr.cc.
References OpticalObject::centreGlob(), OpticalObject::CoordinateEntryList(), gather_cfg::cout, data, OpticalAlignParam::dim_type_, OpticalAlignParam::error_, OpticalObject::ExtraEntryList(), OpticalObject::getCmsswID(), GetEntryError(), OpticalObject::getLocalRotationAngles(), LogDebug, visualization-live-secondInstance_cfg::m, Entry::name(), OpticalObject::name(), OpticalAlignParam::name_, OpticalObject::parent(), Entry::quality(), OpticalAlignParam::quality_, OpticalObject::rmGlob(), Entry::type(), OpticalObject::type(), and OpticalAlignParam::value_.
Referenced by BuildOpticalAlignments().
|
staticprivate |
Definition at line 60 of file CocoaDBMgr.h.
Referenced by getInstance(), and production_tasks.Task::getname().