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