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