test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
HcalCondDB
interface
HcalDbPoolOCCI.h
Go to the documentation of this file.
1
//
2
// F.Ratnikov (UMd), Jan. 6, 2006
3
//
4
#ifndef HcalDbPoolOCCI_h
5
#define HcalDbPoolOCCI_h
6
7
#include <memory>
8
9
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
10
#include "
CondFormats/HcalObjects/interface/HcalPedestals.h
"
11
#include "
CondFormats/HcalObjects/interface/HcalPedestalWidths.h
"
12
#include "
CondFormats/HcalObjects/interface/HcalGains.h
"
13
#include "
CondFormats/HcalObjects/interface/HcalGainWidths.h
"
14
#include "
CondFormats/HcalObjects/interface/HcalQIECoder.h
"
15
#include "
CondFormats/HcalObjects/interface/HcalElectronicsMap.h
"
16
25
namespace
oracle {
26
namespace
occi {
27
class
Environment;
28
class
Connection;
29
class
Statement;
30
}
31
}
32
33
class
HcalDbPoolOCCI
{
34
public
:
35
HcalDbPoolOCCI
(
const
std::string
& fDb);
36
~HcalDbPoolOCCI
();
37
38
bool
getObject
(
HcalPedestals
* fObject,
const
std::string
& fTag,
unsigned
long
fRun);
39
bool
getObject
(
HcalGains
* fObject,
const
std::string
& fTag,
unsigned
long
fRun);
40
bool
getObject
(
HcalElectronicsMap
* fObject,
const
std::string
& fTag,
unsigned
long
fRun);
41
private
:
42
oracle::occi::Environment*
mEnvironment
;
43
oracle::occi::Connection*
mConnect
;
44
oracle::occi::Statement*
mStatement
;
45
std::string
getMetadataToken
(
const
std::string
& fTag);
46
std::string
getDataToken
(
const
std::string
& fIov,
unsigned
long
fRun);
47
template
<
class
T,
class
S>
bool
getObjectGeneric
(
T
* fObject,
S
* fCondObject,
const
std::string
& fTag,
unsigned
long
fRun);
48
49
};
50
#endif
HcalDbPoolOCCI::getDataToken
std::string getDataToken(const std::string &fIov, unsigned long fRun)
Definition:
HcalDbPoolOCCI.cc:112
HcalDbPoolOCCI::~HcalDbPoolOCCI
~HcalDbPoolOCCI()
Definition:
HcalDbPoolOCCI.cc:66
HcalDbPoolOCCI::getObject
bool getObject(HcalPedestals *fObject, const std::string &fTag, unsigned long fRun)
Definition:
HcalDbPoolOCCI.cc:72
HcalQIECoder.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
HcalPedestals.h
HcalDbPoolOCCI::mConnect
oracle::occi::Connection * mConnect
Definition:
HcalDbPoolOCCI.h:43
HcalDbPoolOCCI::getObjectGeneric
bool getObjectGeneric(T *fObject, S *fCondObject, const std::string &fTag, unsigned long fRun)
Definition:
HcalDbPoolOCCI.cc:141
HcalDetId.h
HcalDbPoolOCCI
Gather conditions data from online DB.
Definition:
HcalDbPoolOCCI.h:33
HcalPedestalWidths.h
HcalDbPoolOCCI::mEnvironment
oracle::occi::Environment * mEnvironment
Definition:
HcalDbPoolOCCI.h:42
HcalElectronicsMap.h
HcalGainWidths.h
HcalDbPoolOCCI::getMetadataToken
std::string getMetadataToken(const std::string &fTag)
Definition:
HcalDbPoolOCCI.cc:88
HcalDbPoolOCCI::mStatement
oracle::occi::Statement * mStatement
Definition:
HcalDbPoolOCCI.h:44
S
double S(const TLorentzVector &, const TLorentzVector &)
Definition:
Particle.cc:99
HcalGains
Definition:
HcalGains.h:17
HcalGains.h
HcalElectronicsMap
Definition:
HcalElectronicsMap.h:29
HcalPedestals
Definition:
HcalPedestals.h:17
T
long double T
Definition:
Basic3DVectorLD.h:57
HcalDbPoolOCCI::HcalDbPoolOCCI
HcalDbPoolOCCI(const std::string &fDb)
Definition:
HcalDbPoolOCCI.cc:39
Generated for CMSSW Reference Manual by
1.8.5