Main Page
Namespaces
Classes
Package Documentation
OnlineDB
EcalCondDB
src
EcalLogicID.cc
Go to the documentation of this file.
1
2
#include <string>
3
4
#include "
OnlineDB/EcalCondDB/interface/EcalLogicID.h
"
5
6
//Constructors
7
EcalLogicID::EcalLogicID
()
8
{
9
}
10
11
EcalLogicID::EcalLogicID
(
std::string
name
,
12
int
logicID
,
13
int
id1
,
14
int
id2
,
15
int
id3
,
16
std::string
mapsTo
)
17
{
18
this->name =
name
;
19
this->logicID =
logicID
;
20
this->id1 =
id1
;
21
this->id2 =
id2
;
22
this->id3 =
id3
;
23
if
(mapsTo.empty()) {
24
this->mapsTo =
name
;
25
}
else
{
26
this->mapsTo =
mapsTo
;
27
}
28
}
29
30
// Destructor
31
EcalLogicID::~EcalLogicID
()
32
{
33
}
34
35
// Getters
36
std::string
EcalLogicID::getName
()
const
37
{
38
return
name
;
39
}
40
41
int
EcalLogicID::getLogicID
()
const
42
{
43
return
logicID
;
44
}
45
46
int
EcalLogicID::getID1
()
const
47
{
48
return
id1
;
49
}
50
51
int
EcalLogicID::getID2
()
const
52
{
53
return
id2
;
54
}
55
56
int
EcalLogicID::getID3
()
const
57
{
58
return
id3
;
59
}
60
61
std::string
EcalLogicID::getMapsTo
()
const
62
{
63
return
mapsTo
;
64
}
EcalLogicID::~EcalLogicID
virtual ~EcalLogicID()
Definition:
EcalLogicID.cc:31
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EcalLogicID::id1
int id1
Definition:
EcalLogicID.h:50
EcalLogicID::getMapsTo
std::string getMapsTo() const
Definition:
EcalLogicID.cc:61
EcalLogicID::EcalLogicID
EcalLogicID()
Definition:
EcalLogicID.cc:7
EcalLogicID::id2
int id2
Definition:
EcalLogicID.h:51
EcalLogicID::id3
int id3
Definition:
EcalLogicID.h:52
EcalLogicID::getID2
int getID2() const
Definition:
EcalLogicID.cc:51
EcalLogicID::getName
std::string getName() const
Definition:
EcalLogicID.cc:36
EcalLogicID::name
std::string name
Definition:
EcalLogicID.h:48
EcalLogicID::getID1
int getID1() const
Definition:
EcalLogicID.cc:46
EcalLogicID.h
EcalLogicID::getLogicID
int getLogicID() const
Definition:
EcalLogicID.cc:41
EcalLogicID::logicID
int logicID
Definition:
EcalLogicID.h:49
EcalLogicID::getID3
int getID3() const
Definition:
EcalLogicID.cc:56
EcalLogicID::mapsTo
std::string mapsTo
Definition:
EcalLogicID.h:53
Generated for CMSSW Reference Manual by
1.8.11