/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/ForwardGeometry/interface/CastorHardcodeGeometryLoader.h
36 строк
1 KB
Cms Build
Clang-Format
11 май 2019, 12:09
11 май 2019, 12:09
02cea70
Код
Авторство
О чём код?
#ifndef Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H #define Geometry_ForwardGeometry_CastorHardcodeGeometryLoader_H 1 #include "Geometry/CaloGeometry/interface/CaloVGeometryLoader.h" #include "Geometry/ForwardGeometry/interface/CastorTopology.h" class CaloCellGeometry; class CaloSubdetectorGeometry; class HcalCastorDetId; class CastorHardcodeGeometryLoader { public: CastorHardcodeGeometryLoader(); explicit CastorHardcodeGeometryLoader(const CastorTopology& ht); virtual ~CastorHardcodeGeometryLoader() { delete theTopology; }; virtual std::unique_ptr<CaloSubdetectorGeometry> load(DetId::Detector det, int subdet); std::unique_ptr<CaloSubdetectorGeometry> load(); private: void init(); void fill(HcalCastorDetId::Section section, CaloSubdetectorGeometry* cg); void makeCell(const HcalCastorDetId& detId, CaloSubdetectorGeometry* geom) const; CastorTopology* theTopology; const CastorTopology* extTopology; float theEMSectiondX; float theEMSectiondY; float theEMSectiondZ; float theHADSectiondX; float theHADSectiondY; float theHADSectiondZ; }; #endif