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