Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
DCUIOV.h
Go to the documentation of this file.
1
#ifndef DCUIOV_H
2
#define DCUIOV_H
3
4
#include <stdexcept>
5
#include <iostream>
6
7
#include "
OnlineDB/EcalCondDB/interface/IIOV.h
"
8
#include "
OnlineDB/EcalCondDB/interface/DCUTag.h
"
9
#include "
OnlineDB/EcalCondDB/interface/Tm.h
"
10
11
typedef
int
run_t
;
12
13
class
DCUIOV
:
public
IIOV
{
14
public
:
15
friend
class
EcalCondDBInterface
;
16
17
DCUIOV
();
18
~DCUIOV
();
19
20
// Methods for user data
21
void
setSince
(
const
Tm
& since);
22
Tm
getSince
()
const
;
23
void
setTill
(
const
Tm
& till);
24
Tm
getTill
()
const
;
25
void
setDCUTag
(
const
DCUTag
&
tag
);
26
DCUTag
getDCUTag
()
const
;
27
28
// Methods from IUniqueDBObject
29
int
getID
(){
return
m_ID
;} ;
30
int
fetchID
()
throw
(std::runtime_error);
31
void
setByID
(
int
id
)
throw
(std::runtime_error);
32
33
// Operators
34
inline
bool
operator
==(
const
DCUIOV
&
m
)
const
35
{
36
return
(
m_dcuTag
== m.m_dcuTag &&
37
m_since
== m.m_since &&
38
m_till
== m.m_till );
39
}
40
41
inline
bool
operator!=
(
const
DCUIOV
&
m
)
const
{
return
!(*
this
==
m
); }
42
43
44
private
:
45
// User data for this IOV
46
Tm
m_since
;
47
Tm
m_till
;
48
DCUTag
m_dcuTag
;
49
50
int
writeDB
()
throw
(std::runtime_error);
51
void
setByTm
(
DCUTag
*
tag
,
const
Tm
&
time
)
throw
(std::runtime_error);
52
};
53
54
#endif
IIOV
Definition:
IIOV.h:11
DCUIOV::getTill
Tm getTill() const
Definition:
DCUIOV.cc:55
run_t
int run_t
Definition:
CaliIOV.h:11
DCUIOV::setByTm
void setByTm(DCUTag *tag, const Tm &time)
Definition:
DCUIOV.cc:214
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
DCUIOV::getID
int getID()
Definition:
DCUIOV.h:29
DCUIOV::DCUIOV
DCUIOV()
Definition:
DCUIOV.cc:12
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
DCUTag.h
DCUIOV::getSince
Tm getSince() const
Definition:
DCUIOV.cc:38
DCUIOV::writeDB
int writeDB()
Definition:
DCUIOV.cc:164
DCUIOV
Definition:
DCUIOV.h:13
DCUIOV::setTill
void setTill(const Tm &till)
Definition:
DCUIOV.cc:45
DCUIOV::~DCUIOV
~DCUIOV()
Definition:
DCUIOV.cc:22
GlobalPosition_Frontier_DevDB_cff.tag
tuple tag
Definition:
GlobalPosition_Frontier_DevDB_cff.py:11
DCUIOV::m_till
Tm m_till
Definition:
DCUIOV.h:47
cond::rpcobgas::time
Definition:
RPCObGasPyWrapper.cc:61
DCUIOV::fetchID
int fetchID()
Definition:
DCUIOV.cc:79
contentValuesFiles.m
tuple m
Definition:
contentValuesFiles.py:59
DCUIOV::m_since
Tm m_since
Definition:
DCUIOV.h:46
DCUIOV::setByID
void setByID(int id)
Definition:
DCUIOV.cc:127
Tm.h
DCUIOV::getDCUTag
DCUTag getDCUTag() const
Definition:
DCUIOV.cc:72
compareJSON.const
string const
Definition:
compareJSON.py:14
DCUIOV::operator!=
bool operator!=(const DCUIOV &m) const
Definition:
DCUIOV.h:41
DCUIOV::m_dcuTag
DCUTag m_dcuTag
Definition:
DCUIOV.h:48
Tm
Definition:
Tm.h:13
DCUIOV::setSince
void setSince(const Tm &since)
Definition:
DCUIOV.cc:28
DCUIOV::setDCUTag
void setDCUTag(const DCUTag &tag)
Definition:
DCUIOV.cc:62
DCUTag
Definition:
DCUTag.h:13
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
IUniqueDBObject::m_ID
int m_ID
Definition:
IUniqueDBObject.h:18
IIOV.h
Generated for CMSSW Reference Manual by
1.8.5