#include <CocoaDBMgr.h>
Public Member Functions | |
bool | DumpCocoaResults () |
~CocoaDBMgr () | |
Static Public Member Functions | |
static CocoaDBMgr * | getInstance () |
Private Member Functions | |
std::pair< Alignments *, AlignmentErrorsExtended * > | BuildAlignments (bool bDT) |
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 = 0 |
Definition at line 37 of file CocoaDBMgr.h.
|
private |
|
inline |
Definition at line 45 of file CocoaDBMgr.h.
References BuildAlignments(), BuildOpticalAlignments(), DumpCocoaResults(), mps_splice::entry, GetAlignInfoErrorFromOptO(), GetAlignInfoFromOptO(), GetEntryError(), and GetOptAlignInfoFromOptO().
|
private |
Definition at line 285 of file CocoaDBMgr.cc.
References gather_cfg::cout, ALIUtils::debug, GetAlignInfoErrorFromOptO(), GetAlignInfoFromOptO(), Alignments::m_align, AlignmentErrorsExtended::m_alignError, and Model::OptOList().
Referenced by DumpCocoaResults(), and ~CocoaDBMgr().
|
private |
Definition at line 264 of file CocoaDBMgr.cc.
References gather_cfg::cout, data, ALIUtils::debug, GetOptAlignInfoFromOptO(), OpticalAlignments::opticalAlignments_, and Model::OptOList().
Referenced by DumpCocoaResults(), and ~CocoaDBMgr().
bool CocoaDBMgr::DumpCocoaResults | ( | ) |
Definition at line 51 of file CocoaDBMgr.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), BuildAlignments(), BuildOpticalAlignments(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::currentTime(), ALIUtils::debug, cond::service::PoolDBOutputService::endOfTime(), Exception, GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), Alignments::m_align, AlignmentErrorsExtended::m_alignError, Fit::nEvent, OpticalAlignments::opticalAlignments_, and TRUE.
Referenced by Fit::startFit(), and ~CocoaDBMgr().
|
private |
Definition at line 333 of file CocoaDBMgr.cc.
References asHepMatrix(), OpticalObject::CoordinateEntryList(), gather_cfg::cout, ALIUtils::debug, OpticalObject::getCmsswID(), GetEntryError(), GlobalErrorBase< T, ErrorWeightType >::matrix(), and OpticalObject::name().
Referenced by BuildAlignments(), and ~CocoaDBMgr().
|
private |
Definition at line 315 of file CocoaDBMgr.cc.
References OpticalObject::centreGlob(), gather_cfg::cout, ALIUtils::debug, OpticalObject::getCmsswID(), OpticalObject::name(), OpticalObject::rmGlob(), and makeMuonMisalignmentScenario::rot.
Referenced by BuildAlignments(), and ~CocoaDBMgr().
|
private |
Definition at line 240 of file CocoaDBMgr.cc.
References Entry::fitPos(), Fit::GetAtWAMatrix(), Entry::quality(), Entry::sigma(), and mathSSE::sqrt().
Referenced by GetAlignInfoErrorFromOptO(), GetEntryError(), GetOptAlignInfoFromOptO(), and ~CocoaDBMgr().
Definition at line 251 of file CocoaDBMgr.cc.
References Entry::fitPos(), Fit::GetAtWAMatrix(), GetEntryError(), Entry::quality(), and mathSSE::sqrt().
|
static |
Definition at line 37 of file CocoaDBMgr.cc.
References CocoaDBMgr(), and instance.
Referenced by Fit::startFit().
|
private |
Definition at line 175 of file CocoaDBMgr.cc.
References OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, OpticalObject::centreGlob(), OpticalObject::CoordinateEntryList(), gather_cfg::cout, data, OpticalAlignParam::dim_type_, OpticalAlignParam::error_, OpticalAlignInfo::extraEntries_, OpticalObject::ExtraEntryList(), Fit::GetAtWAMatrix(), OpticalObject::getCmsswID(), GetEntryError(), OpticalObject::getLocalRotationAngles(), OpticalAlignInfo::ID_, M_PI, MatrixMeschach::Mat(), OpticalObject::name(), OpticalAlignParam::name_, OpticalAlignInfo::name_, OpticalObject::parent(), OpticalAlignParam::quality_, OpticalObject::rmGlob(), OpticalObject::type(), OpticalAlignInfo::type_, OpticalAlignParam::value_, OpticalAlignInfo::x_, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by BuildOpticalAlignments(), and ~CocoaDBMgr().
|
staticprivate |
Definition at line 62 of file CocoaDBMgr.h.
Referenced by getInstance(), and production_tasks.Task::getname().