Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
ODTTCciCycle.h
Go to the documentation of this file.
1
#ifndef ODTTCCICYCLE_H
2
#define ODTTCCICYCLE_H
3
4
#include <stdexcept>
5
#include <iostream>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
9
10
11
class
ODTTCciCycle
:
public
IODConfig
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
friend
class
ODEcalCycle
;
15
16
ODTTCciCycle
();
17
~ODTTCciCycle
();
18
19
inline
std::string
getTable
() {
return
"ECAL_TTCci_CYCLE"
; }
20
21
inline
void
setId
(
int
id
){
m_ID
=id;}
22
inline
int
getId
()
const
{
return
m_ID
;} ;
23
24
// Methods for user data
25
inline
void
setTTCciConfigurationID
(
int
x
){
m_ttcci_config_id
=
x
;}
26
inline
int
getTTCciConfigurationID
()
const
{
return
m_ttcci_config_id
;}
27
28
// Operators
29
inline
bool
operator==
(
const
ODTTCciCycle
&
m
)
const
{
return
(
m_ID
== m.
m_ID
); }
30
inline
bool
operator!=
(
const
ODTTCciCycle
&
m
)
const
{
return
!(*
this
==
m
); }
31
32
private
:
33
// User data
34
int
m_ID
;
35
int
m_ttcci_config_id
;
36
void
writeDB
()
throw
(std::runtime_error);
37
void
prepareWrite
()
throw
(std::runtime_error);
38
void
clear
();
39
void
fetchData
(
ODTTCciCycle
*
result
)
throw
(std::runtime_error);
40
void
insertConfig
()
throw
(std::runtime_error);
41
42
43
// Methods from IUniqueDBObject
44
int
fetchID
()
throw
(std::runtime_error);
45
void
setByID
(
int
id
)
throw
(std::runtime_error);
46
47
48
};
49
50
#endif
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
ODTTCciCycle::getId
int getId() const
Definition:
ODTTCciCycle.h:22
ODTTCciCycle::~ODTTCciCycle
~ODTTCciCycle()
Definition:
ODTTCciCycle.cc:21
ODTTCciCycle::fetchData
void fetchData(ODTTCciCycle *result)
Definition:
ODTTCciCycle.cc:131
ODTTCciCycle::getTTCciConfigurationID
int getTTCciConfigurationID() const
Definition:
ODTTCciCycle.h:26
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ODTTCciCycle::operator!=
bool operator!=(const ODTTCciCycle &m) const
Definition:
ODTTCciCycle.h:30
ODTTCciCycle::setId
void setId(int id)
Definition:
ODTTCciCycle.h:21
ODTTCciCycle::ODTTCciCycle
ODTTCciCycle()
Definition:
ODTTCciCycle.cc:9
ODTTCciCycle::m_ttcci_config_id
int m_ttcci_config_id
Definition:
ODTTCciCycle.h:35
IODConfig
Definition:
IODConfig.h:19
query.result
tuple result
Definition:
query.py:137
contentValuesFiles.m
tuple m
Definition:
contentValuesFiles.py:59
ODTTCciCycle::operator==
bool operator==(const ODTTCciCycle &m) const
Definition:
ODTTCciCycle.h:29
ODTTCciCycle::prepareWrite
void prepareWrite()
Definition:
ODTTCciCycle.cc:26
ODTTCciCycle::clear
void clear()
Definition:
ODTTCciCycle.cc:66
ODTTCciCycle::setByID
void setByID(int id)
Definition:
ODTTCciCycle.cc:104
ODTTCciCycle::m_ID
int m_ID
Definition:
ODTTCciCycle.h:34
IODConfig.h
ODTTCciCycle::getTable
std::string getTable()
Definition:
ODTTCciCycle.h:19
x
Definition:
DDAxes.h:10
ODEcalCycle
Definition:
ODEcalCycle.h:9
ODTTCciCycle::setTTCciConfigurationID
void setTTCciConfigurationID(int x)
Definition:
ODTTCciCycle.h:25
ODTTCciCycle
Definition:
ODTTCciCycle.h:11
ODTTCciCycle::insertConfig
void insertConfig()
Definition:
ODTTCciCycle.cc:159
ODTTCciCycle::writeDB
void writeDB()
Definition:
ODTTCciCycle.cc:41
ODTTCciCycle::fetchID
int fetchID()
Definition:
ODTTCciCycle.cc:71
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5