Alignment
CocoaFit
interface
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
;
27
class
OpticalAlignMeasurements
;
28
class
Alignments
;
29
class
AlignmentErrorsExtended
;
30
class
AlignTransform
;
31
class
AlignTransformErrorExtended
;
32
33
class
OpticalObject
;
34
35
class
CocoaDBMgr
{
36
private
:
37
CocoaDBMgr
();
38
39
public
:
40
static
CocoaDBMgr
*
getInstance
();
41
42
~CocoaDBMgr
() {}
43
44
public
:
45
bool
DumpCocoaResults
();
46
47
private
:
48
OpticalAlignments
*
BuildOpticalAlignments
();
49
double
GetEntryError
(
const
Entry
*
entry
);
50
double
GetEntryError
(
const
Entry
* entry1,
const
Entry
* entry2);
51
52
OpticalAlignInfo
GetOptAlignInfoFromOptO
(
OpticalObject
* opto);
53
54
std::pair<Alignments*, AlignmentErrorsExtended*>
BuildAlignments
(
bool
bDT);
55
AlignTransform
*
GetAlignInfoFromOptO
(
OpticalObject
* opto);
56
AlignTransformErrorExtended
*
GetAlignInfoErrorFromOptO
(
OpticalObject
* opto);
57
58
private
:
59
static
CocoaDBMgr
*
instance
;
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:262
OpticalObject
Definition:
OpticalObject.h:35
CocoaDBMgr::DumpCocoaResults
bool DumpCocoaResults()
Definition:
CocoaDBMgr.cc:49
OpticalAlignMeasurements
Definition:
OpticalAlignMeasurements.h:22
Event
CocoaDBMgr::getInstance
static CocoaDBMgr * getInstance()
Definition:
CocoaDBMgr.cc:38
CocoaDBMgr::BuildOpticalAlignments
OpticalAlignments * BuildOpticalAlignments()
Definition:
CocoaDBMgr.cc:283
AlignTransform
Definition:
AlignTransform.h:15
CocoaDBMgr::CocoaDBMgr
CocoaDBMgr()
Definition:
CocoaDBMgr.cc:46
Entry
Definition:
Entry.h:18
AlignmentErrorsExtended
Definition:
AlignmentErrorsExtended.h:10
CocoaDBMgr
Definition:
CocoaDBMgr.h:35
CocoaDBMgr::GetOptAlignInfoFromOptO
OpticalAlignInfo GetOptAlignInfoFromOptO(OpticalObject *opto)
Definition:
CocoaDBMgr.cc:168
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:351
CocoaDBMgr::BuildAlignments
std::pair< Alignments *, AlignmentErrorsExtended * > BuildAlignments(bool bDT)
Definition:
CocoaDBMgr.cc:301
CocoaDBMgr::GetAlignInfoFromOptO
AlignTransform * GetAlignInfoFromOptO(OpticalObject *opto)
Definition:
CocoaDBMgr.cc:333
Alignments
Definition:
Alignments.h:10
Generated for CMSSW Reference Manual by
1.8.16