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