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