Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
ODDCCCycle.h
Go to the documentation of this file.
1
#ifndef ODDCCCYCLE_H
2
#define ODDCCCYCLE_H
3
4
#include <stdexcept>
5
#include <iostream>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
9
10
11
class
ODDCCCycle
:
public
IODConfig
{
12
public
:
13
friend
class
EcalCondDBInterface
;
14
friend
class
ODEcalCycle
;
15
16
ODDCCCycle
();
17
~ODDCCCycle
();
18
19
inline
std::string
getTable
() {
return
"ECAL_DCC_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
setDCCConfigurationID
(
int
x
){
m_dcc_config_id
=
x
;}
26
inline
int
getDCCConfigurationID
()
const
{
return
m_dcc_config_id
;}
27
28
// Operators
29
inline
bool
operator==
(
const
ODDCCCycle
&
m
)
const
{
return
(
m_ID
== m.
m_ID
); }
30
inline
bool
operator!=
(
const
ODDCCCycle
&
m
)
const
{
return
!(*
this
==
m
); }
31
32
private
:
33
// User data
34
int
m_ID
;
35
int
m_dcc_config_id
;
36
void
writeDB
()
throw
(std::runtime_error);
37
void
prepareWrite
()
throw
(std::runtime_error);
38
void
clear
();
39
void
fetchData
(
ODDCCCycle
*
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
ODDCCCycle::writeDB
void writeDB()
Definition:
ODDCCCycle.cc:41
ODDCCCycle::ODDCCCycle
ODDCCCycle()
Definition:
ODDCCCycle.cc:9
ODDCCCycle::setByID
void setByID(int id)
Definition:
ODDCCCycle.cc:104
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
mps_fire.result
tuple result
Definition:
mps_fire.py:95
ODDCCCycle::getId
int getId() const
Definition:
ODDCCCycle.h:22
ODDCCCycle::setDCCConfigurationID
void setDCCConfigurationID(int x)
Definition:
ODDCCCycle.h:25
visualization-live-secondInstance_cfg.m
tuple m
Definition:
visualization-live-secondInstance_cfg.py:46
IODConfig
Definition:
IODConfig.h:19
ODDCCCycle::getTable
std::string getTable()
Definition:
ODDCCCycle.h:19
ODDCCCycle::fetchID
int fetchID()
Definition:
ODDCCCycle.cc:71
ODDCCCycle::m_ID
int m_ID
Definition:
ODDCCCycle.h:34
ODDCCCycle::fetchData
void fetchData(ODDCCCycle *result)
Definition:
ODDCCCycle.cc:131
ODDCCCycle::m_dcc_config_id
int m_dcc_config_id
Definition:
ODDCCCycle.h:35
ODDCCCycle::operator!=
bool operator!=(const ODDCCCycle &m) const
Definition:
ODDCCCycle.h:30
ODDCCCycle::prepareWrite
void prepareWrite()
Definition:
ODDCCCycle.cc:26
ODDCCCycle::operator==
bool operator==(const ODDCCCycle &m) const
Definition:
ODDCCCycle.h:29
ODDCCCycle::getDCCConfigurationID
int getDCCConfigurationID() const
Definition:
ODDCCCycle.h:26
ODDCCCycle::~ODDCCCycle
~ODDCCCycle()
Definition:
ODDCCCycle.cc:21
ODDCCCycle
Definition:
ODDCCCycle.h:11
ODDCCCycle::clear
void clear()
Definition:
ODDCCCycle.cc:66
IODConfig.h
ODDCCCycle::setId
void setId(int id)
Definition:
ODDCCCycle.h:21
ODEcalCycle
Definition:
ODEcalCycle.h:9
DDAxes::x
ODDCCCycle::insertConfig
void insertConfig()
Definition:
ODDCCCycle.cc:158
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5