Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
EcalLogicID::EcalLogicID
(
std::string
name
,
int
logicID,
int
id1,
int
id2,
int
id3,
std::string
mapsTo) {
10
this->name =
name
;
11
this->logicID =
logicID
;
12
this->id1 =
id1
;
13
this->id2 =
id2
;
14
this->id3 =
id3
;
15
if
(mapsTo.empty()) {
16
this->mapsTo =
name
;
17
}
else
{
18
this->mapsTo =
mapsTo
;
19
}
20
}
21
22
// Destructor
23
EcalLogicID::~EcalLogicID
() {}
24
25
// Getters
26
std::string
EcalLogicID::getName
()
const
{
return
name
; }
27
28
int
EcalLogicID::getLogicID
()
const
{
return
logicID
; }
29
30
int
EcalLogicID::getID1
()
const
{
return
id1
; }
31
32
int
EcalLogicID::getID2
()
const
{
return
id2
; }
33
34
int
EcalLogicID::getID3
()
const
{
return
id3
; }
35
36
std::string
EcalLogicID::getMapsTo
()
const
{
return
mapsTo
; }
EcalLogicID::~EcalLogicID
virtual ~EcalLogicID()
Definition:
EcalLogicID.cc:23
EcalLogicID::id1
int id1
Definition:
EcalLogicID.h:43
EcalLogicID::getMapsTo
std::string getMapsTo() const
Definition:
EcalLogicID.cc:36
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
EcalLogicID::EcalLogicID
EcalLogicID()
Definition:
EcalLogicID.cc:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalLogicID::id2
int id2
Definition:
EcalLogicID.h:44
EcalLogicID::id3
int id3
Definition:
EcalLogicID.h:45
EcalLogicID::getID2
int getID2() const
Definition:
EcalLogicID.cc:32
EcalLogicID::getName
std::string getName() const
Definition:
EcalLogicID.cc:26
EcalLogicID::name
std::string name
Definition:
EcalLogicID.h:41
EcalLogicID::getID1
int getID1() const
Definition:
EcalLogicID.cc:30
EcalLogicID.h
EcalLogicID::getLogicID
int getLogicID() const
Definition:
EcalLogicID.cc:28
EcalLogicID::logicID
int logicID
Definition:
EcalLogicID.h:42
EcalLogicID::getID3
int getID3() const
Definition:
EcalLogicID.cc:34
EcalLogicID::mapsTo
std::string mapsTo
Definition:
EcalLogicID.h:46
Generated for CMSSW Reference Manual by
1.8.5