CMS 3D CMS Logo

EcalLogicID.cc
Go to the documentation of this file.
1 
2 #include <string>
3 
5 
6 //Constructors
8 
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 
virtual ~EcalLogicID()
Definition: EcalLogicID.cc:23
std::string getMapsTo() const
Definition: EcalLogicID.cc:36
int getID2() const
Definition: EcalLogicID.cc:32
std::string getName() const
Definition: EcalLogicID.cc:26
std::string name
Definition: EcalLogicID.h:41
int getID1() const
Definition: EcalLogicID.cc:30
int getLogicID() const
Definition: EcalLogicID.cc:28
int getID3() const
Definition: EcalLogicID.cc:34
std::string mapsTo
Definition: EcalLogicID.h:46