CMS 3D CMS Logo

CocoaDBMgr.h
Go to the documentation of this file.
1 #ifndef CocoaDBMgr_HH
2 #define CocoaDBMgr_HH
3 //-*- C++ -*-
4 //
5 // Package: Alignment/CocoaFit
6 // Class: CocoaDBMgr
7 //
8 /*
9 
10  Description:
11 */
12 //
13 
14 #include <stdexcept>
15 #include <string>
16 #include <iostream>
17 #include <map>
18 
19 class Event;
20 class EventSetup;
21 class Entry;
22 class Alingments;
23 //#include "FWCore/Framework/interface/EventSetup.h"
24 
25 class OpticalAlignments;
26 class OpticalAlignInfo;
28 class Alignments;
30 class AlignTransform;
32 
33 class OpticalObject;
34 
35 class CocoaDBMgr {
36 private:
37  CocoaDBMgr();
38 
39 public:
40  static CocoaDBMgr* getInstance();
41 
43 
44 public:
45  bool DumpCocoaResults();
46 
47 private:
49  double GetEntryError(const Entry* entry);
50  double GetEntryError(const Entry* entry1, const Entry* entry2);
51 
53 
54  std::pair<Alignments*, AlignmentErrorsExtended*> BuildAlignments(bool bDT);
57 
58 private:
60 };
61 
62 #endif
CocoaDBMgr::instance
static CocoaDBMgr * instance
Definition: CocoaDBMgr.h:59
mps_splice.entry
entry
Definition: mps_splice.py:68
OpticalAlignInfo
Definition: OpticalAlignInfo.h:71
CocoaDBMgr::GetEntryError
double GetEntryError(const Entry *entry)
Definition: CocoaDBMgr.cc:229
OpticalObject
Definition: OpticalObject.h:35
CocoaDBMgr::DumpCocoaResults
bool DumpCocoaResults()
Definition: CocoaDBMgr.cc:48
OpticalAlignMeasurements
Definition: OpticalAlignMeasurements.h:22
Event
CocoaDBMgr::getInstance
static CocoaDBMgr * getInstance()
Definition: CocoaDBMgr.cc:37
CocoaDBMgr::BuildOpticalAlignments
OpticalAlignments * BuildOpticalAlignments()
Definition: CocoaDBMgr.cc:250
AlignTransform
Definition: AlignTransform.h:15
CocoaDBMgr::CocoaDBMgr
CocoaDBMgr()
Definition: CocoaDBMgr.cc:45
Entry
Definition: Entry.h:18
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
CocoaDBMgr
Definition: CocoaDBMgr.h:35
CocoaDBMgr::GetOptAlignInfoFromOptO
OpticalAlignInfo GetOptAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:167
CocoaDBMgr::~CocoaDBMgr
~CocoaDBMgr()
Definition: CocoaDBMgr.h:42
AlignTransformErrorExtended
Definition: AlignTransformErrorExtended.h:13
OpticalAlignments
Definition: OpticalAlignments.h:22
EventSetup
CocoaDBMgr::GetAlignInfoErrorFromOptO
AlignTransformErrorExtended * GetAlignInfoErrorFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:318
CocoaDBMgr::BuildAlignments
std::pair< Alignments *, AlignmentErrorsExtended * > BuildAlignments(bool bDT)
Definition: CocoaDBMgr.cc:268
CocoaDBMgr::GetAlignInfoFromOptO
AlignTransform * GetAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:300
Alignments
Definition: Alignments.h:10