/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/MuonNumbering/interface/MuonGeometryNumbering.h
41 строка
1 KB
Shahzad Malik Muzaffar
[GEOMETRY] Changes suggested by new llvm18 clang-format
05 сен 2024, 17:13
05 сен 2024, 17:13
f785322
Код
Авторство
О чём код?
#ifndef Geometry_MuonNumbering_MuonGeometryNumbering_h #define Geometry_MuonNumbering_MuonGeometryNumbering_h /** \class MuonGeometryNumbering * * class to handle the conversion to MuonBaseNumber from tree of * DDD GeoHistory; * * in the xml muon constant section one has to define * level, super and base constants (eg. 1000,100,1) and * the start value of the copy numbers (0 or 1) * * \author Arno Straessner, CERN <arno.straessner@cern.ch> * */ #include "DetectorDescription/Core/interface/DDExpandedNode.h" #include "DetectorDescription/DDCMS/interface/ExpandedNodes.h" #include "DetectorDescription/Core/interface/DDLogicalPart.h" class MuonBaseNumber; class MuonGeometryConstants; class MuonGeometryNumbering { public: MuonGeometryNumbering(const MuonGeometryConstants& muonConstants); ~MuonGeometryNumbering() {} MuonBaseNumber geoHistoryToBaseNumber(const DDGeoHistory& history) const; MuonBaseNumber geoHistoryToBaseNumber(const cms::ExpandedNodes&) const; private: int getInt(const std::string& s, const DDLogicalPart& part) const; int theLevelPart; int theSuperPart; int theBasePart; int theStartCopyNo; }; #endif