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