#include <HcalQIEManager.h>
Public Member Functions | |
HcalChannelId () | |
bool | operator< (const HcalChannelId &other) const |
~HcalChannelId () | |
Public Attributes | |
int | depth |
int | eta |
int | phi |
std::string | subdetector |
Definition at line 20 of file HcalQIEManager.h.
HcalChannelId::HcalChannelId | ( | ) | [inline] |
Definition at line 24 of file HcalQIEManager.h.
{};
HcalChannelId::~HcalChannelId | ( | ) | [inline] |
Definition at line 25 of file HcalQIEManager.h.
{};
bool HcalChannelId::operator< | ( | const HcalChannelId & | other | ) | const |
Definition at line 32 of file HcalQIEManager.cc.
References depth, eta, eta(), phi, phi, and subdetector.
{ long long int _res_this, _res_other; int _sub_this, _sub_other; if (this->subdetector == "HE") _sub_this=1; else if (this->subdetector == "HF") _sub_this=2; else if (this->subdetector == "HO") _sub_this=3; else _sub_this=4; if (other.subdetector == "HE") _sub_other=1; else if (other.subdetector == "HF") _sub_other=2; else if (other.subdetector == "HO") _sub_other=3; else _sub_other=4; _res_this = 100+eta + (phi+100)*1000 + (depth+10)*1000000 + _sub_this*1000000000; _res_other = 100+other.eta + (other.phi+100)*1000 + (other.depth+10)*1000000 + _sub_other*1000000000; return _res_this < _res_other; }
Definition at line 25 of file HcalQIEManager.h.
Referenced by HcalQIEManager::generateQieTable(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getTableFromDb(), and operator<().
Definition at line 25 of file HcalQIEManager.h.
Referenced by HcalQIEManager::generateQieTable(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getTableFromDb(), and operator<().
Definition at line 25 of file HcalQIEManager.h.
Referenced by HcalQIEManager::generateQieTable(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getTableFromDb(), and operator<().
std::string HcalChannelId::subdetector |
Definition at line 28 of file HcalQIEManager.h.
Referenced by HcalQIEManager::generateQieTable(), HcalQIEManager::getHfQieTable(), HcalQIEManager::getTableFromDb(), and operator<().