CMS 3D CMS Logo

EcalLogicID.cc
Go to the documentation of this file.
1 
2 #include <string>
3 
5 
6 //Constructors
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
24 
25 // Getters
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 
EcalLogicID::logicID
int logicID
Definition: EcalLogicID.h:42
EcalLogicID::getMapsTo
std::string getMapsTo() const
Definition: EcalLogicID.cc:36
globals_cff.id1
id1
Definition: globals_cff.py:32
EcalLogicID::getName
std::string getName() const
Definition: EcalLogicID.cc:26
EcalLogicID::id2
int id2
Definition: EcalLogicID.h:44
EcalLogicID::~EcalLogicID
virtual ~EcalLogicID()
Definition: EcalLogicID.cc:23
EcalLogicID::getID1
int getID1() const
Definition: EcalLogicID.cc:30
EcalLogicID::getLogicID
int getLogicID() const
Definition: EcalLogicID.cc:28
EcalLogicID::EcalLogicID
EcalLogicID()
Definition: EcalLogicID.cc:7
EcalLogicID::getID2
int getID2() const
Definition: EcalLogicID.cc:32
EcalLogicID::id1
int id1
Definition: EcalLogicID.h:43
EcalLogicID::id3
int id3
Definition: EcalLogicID.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalLogicID::name
std::string name
Definition: EcalLogicID.h:41
EcalLogicID.h
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EcalLogicID::getID3
int getID3() const
Definition: EcalLogicID.cc:34
globals_cff.id2
id2
Definition: globals_cff.py:33
EcalLogicID::mapsTo
std::string mapsTo
Definition: EcalLogicID.h:46