/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FastSimulation/CaloGeometryTools/interface/DistanceToCell.h
25 строк
704 B
Cms Build
Clang-Format
16 май 2019, 15:48
16 май 2019, 15:48
12a0cf0
Код
Авторство
О чём код?
#ifndef FastSimulation_CalorimeterProperties_DistanceToCell_h #define FastSimulation_CalorimeterProperties_DistanceToCell_h #include "DataFormats/GeometryVector/interface/GlobalPoint.h" #include "DataFormats/DetId/interface/DetId.h" // used in GeometryHelper to sort the vector given by GetWindow // not much optimized. class CaloSubdetectorGeometry; class DistanceToCell { public: DistanceToCell(); DistanceToCell(const DistanceToCell&); DistanceToCell(const CaloSubdetectorGeometry* det, const DetId& cell); ~DistanceToCell() { ; } bool operator()(const DetId& c1, const DetId& c2); private: const CaloSubdetectorGeometry* det_; DetId pivot_; GlobalPoint pivotPosition_; }; #endif