00001 // #include "Utilities/Configuration/interface/Architecture.h" 00002 00003 #include "MagneticField/VolumeGeometry/interface/MagVolume.h" 00004 #include "MagneticField/VolumeGeometry/interface/MagneticFieldProvider.h" 00005 00006 MagVolume::LocalVector MagVolume::fieldInTesla( const LocalPoint& lp) const 00007 { 00008 return theProvider->valueInTesla(lp)*theScalingFactor; 00009 } 00010 00011 MagVolume::GlobalVector MagVolume::fieldInTesla( const GlobalPoint& gp) const 00012 { 00013 return toGlobal( theProvider->valueInTesla( toLocal(gp)))*theScalingFactor; 00014 }