/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/MuonDetId/interface/DTSectCollId.icc
33 строки
737 B
Cms Build
Clang-Format
11 июн 2019, 11:29
11 июн 2019, 11:29
3ae6549
Код
Авторство
О чём код?
//-------------- // Operations -- //-------------- bool DTSectCollId::operator==(const DTSectCollId& id) const { if (_wheel != id.wheel()) return false; if (_sector != id.sector()) return false; return true; } bool DTSectCollId::operator!=(const DTSectCollId& id) const { return !(*this == id); } bool DTSectCollId::operator<(const DTSectCollId& id) const { if (wheel() < id.wheel()) return true; if (wheel() > id.wheel()) return false; if (sector() < id.sector()) return true; if (sector() > id.sector()) return false; return false; } DTSectCollId& DTSectCollId::operator=(const DTSectCollId& statId) { _wheel = statId._wheel; _sector = statId._sector; return *this; } //------------