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