/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/EgammaReco/src/BasicCluster.cc
25 строк
652 B
Cms Build
Clang-Format
05 июн 2019, 13:54
05 июн 2019, 13:54
aa23923
Код
Авторство
О чём код?
#include "DataFormats/EgammaReco/interface/BasicCluster.h" //using namespace reco; // //BasicCluster::BasicCluster( double energy, const Point& position, double chi2, const std::vector<DetId> usedHits, AlgoId algoID) : // CaloCluster(energy,position), chi2_(chi2) //{ // usedHits_ = usedHits; // algoId_ = algoID; //} // // //bool BasicCluster::operator<(const reco::BasicCluster &otherCluster) const //{ // return energy() < otherCluster.energy(); //} // //bool BasicCluster::operator==(const BasicCluster& rhs) const //{ // // float Ediff = fabs(rhs.energy() - energy()); // if (Ediff < 0.00000001) return true; // else return false; // //}