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
AlignTransformErrorExtended * GetAlignInfoErrorFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:318
Definition: Entry.h:18
bool DumpCocoaResults()
Definition: CocoaDBMgr.cc:48
OpticalAlignments * BuildOpticalAlignments()
Definition: CocoaDBMgr.cc:250
static CocoaDBMgr * instance
Definition: CocoaDBMgr.h:59
AlignTransform * GetAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:300
double GetEntryError(const Entry *entry)
Definition: CocoaDBMgr.cc:229
OpticalAlignInfo GetOptAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:167
static CocoaDBMgr * getInstance()
Definition: CocoaDBMgr.cc:37
std::pair< Alignments *, AlignmentErrorsExtended * > BuildAlignments(bool bDT)
Definition: CocoaDBMgr.cc:268