/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Math/interface/Vector3D.h
39 строк
2 KB
Andrea Bocci
Use #include <...> for external headers
04 дек 2024, 20:37
Не верифицирован
04 дек 2024, 20:37
24e374e
Код
Авторство
О чём код?
#ifndef Math_Vector3D_h #define Math_Vector3D_h #include <Math/Vector3D.h> namespace math { /// spatial vector with cartesian internal representation typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double> > XYZVectorD; /// spatial vector with cylindrical internal representation using pseudorapidity typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<double> > RhoEtaPhiVectorD; /// spatial vector with polar internal representation /// WARNING: ROOT dictionary not provided for the type below typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<double> > RThetaPhiVectorD; /// spatial vector with cartesian internal representation typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float> > XYZVectorF; /// spatial vector with cylindrical internal representation using pseudorapidity typedef ROOT::Math::DisplacementVector3D<ROOT::Math::CylindricalEta3D<float> > RhoEtaPhiVectorF; /// spatial vector with polar internal representation /// WARNING: ROOT dictionary not provided for the type below typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Polar3D<float> > RThetaPhiVectorF; /// vector in local coordinate system typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::LocalCoordinateSystemTag> LocalVector; /// vector in glovbal coordinate system typedef ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<float>, ROOT::Math::GlobalCoordinateSystemTag> GlobalVector; /// spatial vector with cartesian internal representation typedef XYZVectorD XYZVector; /// spatial vector with cylindrical internal representation using pseudorapidity typedef RhoEtaPhiVectorD RhoEtaPhiVector; /// spatial vector with polar internal representation typedef RThetaPhiVectorD RThetaPhiVector; } // namespace math #endif