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