Trying to fix cmake dependencies
Hi @akraszna,
I noticed, that if I move the include of the actual class header before the include of MuonReadoutGeometry/MdtReadoutElement.h
, the compilation fails with
In file included from /cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/2020-05-11T2140/Athena/22.0.13/InstallArea/x86_64-centos7-gcc8-opt/src/Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/StraightLineSurface.h:15,
from /cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/2020-05-11T2140/Athena/22.0.13/InstallArea/x86_64-centos7-gcc8-opt/src/Tracking/TrkDetDescr/TrkDistortedSurfaces/TrkDistortedSurfaces/SaggedLineSurface.h:17,
from MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MdtReadoutElement.h:16,
from MuonSpectrometer/MuonCalib/MdtCalib/MdtCalibSvc/src/MdtCalibrationTool.cxx:7:
/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/2020-05-11T2140/Athena/22.0.13/InstallArea/x86_64-centos7-gcc8-opt/src/Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/CylinderBounds.h: In member function 'bool Trk::CylinderBounds::inside3D(const Vector3D&, double, double) const':
/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/2020-05-11T2140/Athena/22.0.13/InstallArea/x86_64-centos7-gcc8-opt/src/Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/CylinderBounds.h:185:23: error: 'const Vector3D' {aka 'const class Eigen::Matrix<double, 3, 1>'} has no member named 'perp'; did you mean 'exp'?
return inside(glopo.perp(), glopo.phi(), glopo.z(), tol1, tol2)
I did not find any obvious mistake in the CMakeLists.txt
of either MdtCalibSvc
nor MuonReadoutGeometry
. Did you see something like this before?
Thanks, Nico