test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
OnlineDB
EcalCondDB
interface
RunSeqDef.h
Go to the documentation of this file.
1
#ifndef RUNSEQDEF_H
2
#define RUNSEQDEF_H
3
4
#include <string>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IDef.h
"
8
#include "
OnlineDB/EcalCondDB/interface/RunTypeDef.h
"
9
13
class
RunSeqDef
:
public
IDef
{
14
public
:
15
friend
class
ODRunConfigSeqInfo
;
16
friend
class
EcalCondDBInterface
;
17
18
RunSeqDef
();
19
virtual
~RunSeqDef
();
20
21
// Methods for user data
22
std::string
getRunSeq
()
const
;
23
void
setRunSeq
(
std::string
runseq);
24
25
RunTypeDef
getRunTypeDef
()
const
;
26
void
setRunTypeDef
(
const
RunTypeDef
& runTypeDef);
27
28
29
30
31
32
// Methods from IUniqueDBObject
33
int
fetchID
()
throw
(std::runtime_error);
34
void
setByID
(
int
id
)
throw
(std::runtime_error);
35
36
// Operators. m_desc is not considered, it cannot be written to DB anyhow
37
inline
bool
operator
==(
const
RunSeqDef
&
t
)
const
{
return
m_runSeq
== t.m_runSeq; }
38
inline
bool
operator!=
(
const
RunSeqDef
&
t
)
const
{
return
m_runSeq
!= t.
m_runSeq
; }
39
40
protected
:
41
// User data for this def
42
std::string
m_runSeq
;
43
RunTypeDef
m_runType
;
44
45
int
writeDB
()
throw
(std::runtime_error);
46
47
48
void
fetchAllDefs
( std::vector<
RunSeqDef
>* fillVec)
throw
(std::runtime_error);
49
};
50
51
#endif
RunTypeDef
Definition:
RunTypeDef.h:12
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:38
cppFunctionSkipper.operator
string operator
Definition:
cppFunctionSkipper.py:10
RunSeqDef::operator!=
bool operator!=(const RunSeqDef &t) const
Definition:
RunSeqDef.h:38
ODRunConfigSeqInfo
Definition:
ODRunConfigSeqInfo.h:15
IDef.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RunSeqDef::getRunSeq
std::string getRunSeq() const
Definition:
RunSeqDef.cc:26
edmStreamStallGrapher.t
tuple t
Definition:
edmStreamStallGrapher.py:108
RunSeqDef::writeDB
int writeDB()
Definition:
RunSeqDef.cc:139
RunSeqDef::RunSeqDef
RunSeqDef()
Definition:
RunSeqDef.cc:9
RunSeqDef::getRunTypeDef
RunTypeDef getRunTypeDef() const
Definition:
RunSeqDef.cc:32
RunSeqDef::setRunSeq
void setRunSeq(std::string runseq)
Definition:
RunSeqDef.cc:30
IDef
Definition:
IDef.h:11
RunSeqDef
Definition:
RunSeqDef.h:13
RunTypeDef.h
compareJSON.const
string const
Definition:
compareJSON.py:14
RunSeqDef::setRunTypeDef
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition:
RunSeqDef.cc:37
RunSeqDef::fetchID
int fetchID()
Definition:
RunSeqDef.cc:44
RunSeqDef::m_runType
RunTypeDef m_runType
Definition:
RunSeqDef.h:43
RunSeqDef::~RunSeqDef
virtual ~RunSeqDef()
Definition:
RunSeqDef.cc:20
RunSeqDef::m_runSeq
std::string m_runSeq
Definition:
RunSeqDef.h:42
RunSeqDef::setByID
void setByID(int id)
Definition:
RunSeqDef.cc:86
RunSeqDef::fetchAllDefs
void fetchAllDefs(std::vector< RunSeqDef > *fillVec)
Definition:
RunSeqDef.cc:118
CommPDSkim_cfg.throw
tuple throw
Definition:
CommPDSkim_cfg.py:101
Generated for CMSSW Reference Manual by
1.8.5