/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimG4CMS/HGCalTestBeam/interface/AHCalGeometry.h
29 строк
814 B
Shahzad Malik Muzaffar
[Sim][clang-tidy] make deleted function public
29 июл 2021, 11:35
29 июл 2021, 11:35
3c6dda3
Код
Авторство
О чём код?
#ifndef SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H #define SimG4CMS_HGCalTestBeam_AHCALGEOMETRY_H 1 #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "SimG4CMS/HGCalTestBeam/interface/AHCalDetId.h" #include "Geometry/HGCalCommonData/interface/AHCalParameters.h" /** \class AHCalGeometry * Gets position of AHCal cell */ class AHCalGeometry { public: /** Create geometry of AHCal */ AHCalGeometry(edm::ParameterSet const&); AHCalGeometry() = delete; ~AHCalGeometry() {} /// get maximum number of layers int maxDepth() const { return ahcal_->maxDepth(); } /// get the local coordinate in the plane and along depth std::pair<double, double> getXY(const AHCalDetId& id) const; double getZ(const AHCalDetId& id) const; private: std::unique_ptr<AHCalParameters> ahcal_; }; #endif