OnlineDB
EcalCondDB
interface
ODScanConfig.h
Go to the documentation of this file.
1
#ifndef ODSCANCONFIG_H
2
#define ODSCANCONFIG_H
3
4
#include <map>
5
#include <stdexcept>
6
7
#include "
OnlineDB/EcalCondDB/interface/IODConfig.h
"
8
9
class
ODScanConfig
:
public
IODConfig
{
10
public
:
11
friend
class
EcalCondDBInterface
;
12
ODScanConfig
();
13
~ODScanConfig
()
override
;
14
15
// User data methods
16
inline
std::string
getTable
()
override
{
return
"ECAL_Scan_DAT"
; }
17
18
inline
void
setId
(
int
id
) {
m_ID
=
id
; }
19
inline
int
getId
()
const
{
return
m_ID
; }
20
21
inline
void
setTypeId
(
int
x
) {
m_type_id
=
x
; }
22
inline
int
getTypeId
()
const
{
return
m_type_id
; }
23
24
inline
void
setScanType
(
std::string
x
) {
m_type
=
x
; }
25
inline
std::string
getScanType
()
const
{
return
m_type
; }
26
27
inline
void
setFromVal
(
int
x
) {
m_from_val
=
x
; }
28
inline
int
getFromVal
()
const
{
return
m_from_val
; }
29
30
inline
void
setToVal
(
int
x
) {
m_to_val
=
x
; }
31
inline
int
getToVal
()
const
{
return
m_to_val
; }
32
33
inline
void
setStep
(
int
x
) {
m_step
=
x
; }
34
inline
int
getStep
()
const
{
return
m_step
; }
35
void
setParameters
(
const
std::map<std::string, std::string>& my_keys_map);
36
37
private
:
38
void
prepareWrite
() noexcept(
false
) override;
39
void
writeDB
() noexcept(
false
);
40
void
clear
();
41
void
fetchData
(
ODScanConfig
*
result
) noexcept(
false
);
42
int
fetchID
() noexcept(
false
);
43
int
fetchNextId
() noexcept(
false
);
44
45
// User data
46
int
m_ID
;
47
48
int
m_type_id
;
49
std
::
string
m_type
;
50
int
m_from_val
;
51
int
m_to_val
;
52
int
m_step
;
53
};
54
55
#endif
ODScanConfig::getId
int getId() const
Definition:
ODScanConfig.h:19
EcalCondDBInterface
Definition:
EcalCondDBInterface.h:37
ODScanConfig::setFromVal
void setFromVal(int x)
Definition:
ODScanConfig.h:27
ODScanConfig::fetchID
int fetchID() noexcept(false)
Definition:
ODScanConfig.cc:146
funct::false
false
Definition:
Factorize.h:34
ODScanConfig::setToVal
void setToVal(int x)
Definition:
ODScanConfig.h:30
ODScanConfig::writeDB
void writeDB() noexcept(false)
Definition:
ODScanConfig.cc:88
ODScanConfig::getFromVal
int getFromVal() const
Definition:
ODScanConfig.h:28
IODConfig.h
ODScanConfig::~ODScanConfig
~ODScanConfig() override
Definition:
ODScanConfig.cc:21
ODScanConfig::clear
void clear()
Definition:
ODScanConfig.cc:23
ODScanConfig::getTable
std::string getTable() override
Definition:
ODScanConfig.h:16
ODScanConfig
Definition:
ODScanConfig.h:9
DDAxes::x
ODScanConfig::setTypeId
void setTypeId(int x)
Definition:
ODScanConfig.h:21
ODScanConfig::m_to_val
int m_to_val
Definition:
ODScanConfig.h:51
ODScanConfig::setId
void setId(int id)
Definition:
ODScanConfig.h:18
ODScanConfig::m_type_id
int m_type_id
Definition:
ODScanConfig.h:48
ODScanConfig::getStep
int getStep() const
Definition:
ODScanConfig.h:34
ODScanConfig::getToVal
int getToVal() const
Definition:
ODScanConfig.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ODScanConfig::m_from_val
int m_from_val
Definition:
ODScanConfig.h:50
IODConfig
Definition:
IODConfig.h:18
ODScanConfig::ODScanConfig
ODScanConfig()
Definition:
ODScanConfig.cc:11
ODScanConfig::fetchNextId
int fetchNextId() noexcept(false)
Definition:
ODScanConfig.cc:31
ODScanConfig::getScanType
std::string getScanType() const
Definition:
ODScanConfig.h:25
ODScanConfig::m_type
std::string m_type
Definition:
ODScanConfig.h:49
std
Definition:
JetResolutionObject.h:76
ODScanConfig::m_step
int m_step
Definition:
ODScanConfig.h:52
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:31
ODScanConfig::setScanType
void setScanType(std::string x)
Definition:
ODScanConfig.h:24
ODScanConfig::fetchData
void fetchData(ODScanConfig *result) noexcept(false)
Definition:
ODScanConfig.cc:113
ODScanConfig::m_ID
int m_ID
Definition:
ODScanConfig.h:46
mps_fire.result
result
Definition:
mps_fire.py:303
ODScanConfig::prepareWrite
void prepareWrite() noexcept(false) override
Definition:
ODScanConfig.cc:70
ODScanConfig::setParameters
void setParameters(const std::map< std::string, std::string > &my_keys_map)
Definition:
ODScanConfig.cc:50
ODScanConfig::getTypeId
int getTypeId() const
Definition:
ODScanConfig.h:22
ODScanConfig::setStep
void setStep(int x)
Definition:
ODScanConfig.h:33
Generated for CMSSW Reference Manual by
1.8.16