Skip to content
Snippets Groups Projects
Commit acbe2846 authored by Christos Anastopoulos's avatar Christos Anastopoulos Committed by Frank Winklmeier
Browse files

MagFieldElements : Including EventPrimitives helps clients to avoid Eigen_plugin issues

parent 68bded9a
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ atlas_depends_on_subdirs( PUBLIC
MagneticField/MagFieldInterfaces
MagneticField/MagFieldConditions
Control/CxxUtils
Event/EventPrimitives
PRIVATE
MagneticField/MagFieldElements
Control/StoreGate
......@@ -20,15 +21,14 @@ atlas_depends_on_subdirs( PUBLIC
# External dependencies:
find_package( CLHEP )
find_package( Eigen )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_library( MagFieldElements
src/*.cxx
PUBLIC_HEADERS MagFieldElements
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${EIGEN_LIBRARIES} AthenaBaseComps GaudiKernel CxxUtils)
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} AthenaBaseComps GaudiKernel CxxUtils EventPrimitives)
# Install files from the package:
atlas_install_headers( MagFieldElements )
......
......@@ -14,7 +14,7 @@
#ifndef BFIELDCOND_H
#define BFIELDCOND_H
#include <Eigen/Dense>
#include "EventPrimitives/EventPrimitives.h"
#include <cmath>
class BFieldCond
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment