test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15 #include <stdexcept>
16 #include <string>
17 #include <iostream>
18 #include <map>
19 
20 class Event;
21 class EventSetup;
22 class Entry;
23 class Alingments;
24 //#include "FWCore/Framework/interface/EventSetup.h"
25 
26 class OpticalAlignments;
27 class OpticalAlignInfo;
29 class Alignments;
31 class AlignTransform;
33 
34 class OpticalObject;
35 
36 
38 {
39 private:
40  CocoaDBMgr();
41 
42  public:
43  static CocoaDBMgr* getInstance();
44 
46 
47  public:
48  bool DumpCocoaResults();
49 
50  private:
52  double GetEntryError( const Entry* entry );
53  double GetEntryError( const Entry* entry1, const Entry* entry2 );
54 
56 
57  std::pair< Alignments*,AlignmentErrorsExtended*> BuildAlignments(bool bDT);
60 
61  private:
63 
64 };
65 
66 #endif
AlignTransformErrorExtended * GetAlignInfoErrorFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:335
Definition: Entry.h:18
bool DumpCocoaResults()
Definition: CocoaDBMgr.cc:53
OpticalAlignments * BuildOpticalAlignments()
Definition: CocoaDBMgr.cc:266
static CocoaDBMgr * instance
Definition: CocoaDBMgr.h:62
AlignTransform * GetAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:317
double GetEntryError(const Entry *entry)
Definition: CocoaDBMgr.cc:242
OpticalAlignInfo GetOptAlignInfoFromOptO(OpticalObject *opto)
Definition: CocoaDBMgr.cc:177
static CocoaDBMgr * getInstance()
Definition: CocoaDBMgr.cc:39
list entry
Definition: mps_splice.py:62
std::pair< Alignments *, AlignmentErrorsExtended * > BuildAlignments(bool bDT)
Definition: CocoaDBMgr.cc:287