CMS 3D CMS Logo

MFGrid3D.cc
Go to the documentation of this file.
1 #include "MFGrid3D.h"
4 
6  try {
7  return uncheckedValueInTesla(p);
8  } catch (GridInterpolator3DException& outside) {
9  double* limits = outside.limits();
10  LocalPoint lower = fromGridFrame(limits[0], limits[1], limits[2]);
12  throw MagVolumeOutsideValidity(lower, upper);
13  }
14 }
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MFGrid::LocalVector
GloballyPositioned< float >::LocalVector LocalVector
Definition: MFGrid.h:32
GridInterpolator3DException
Definition: MagExceptions.h:32
MagExceptions.h
MFGrid::LocalPoint
GloballyPositioned< float >::LocalPoint LocalPoint
Definition: MFGrid.h:31
MFGrid3D.h
MFGrid3D::uncheckedValueInTesla
virtual LocalVector uncheckedValueInTesla(const LocalPoint &p) const =0
Interpolated field value at given point; does not check for exceptions.
MFGrid3D::valueInTesla
LocalVector valueInTesla(const LocalPoint &p) const override
Interpolated field value at given point.
Definition: MFGrid3D.cc:5
GridInterpolator3DException::limits
double * limits(void)
Definition: MagExceptions.h:37
MFGrid::fromGridFrame
virtual LocalPoint fromGridFrame(double a, double b, double c) const =0
find grid coordinates for point. For debugging and validation only.
TH2PolyOfflineMaps.limits
limits
Definition: TH2PolyOfflineMaps.py:45
MagVolumeOutsideValidity.h
MagVolumeOutsideValidity
Definition: MagVolumeOutsideValidity.h:7
pileupCalc.upper
upper
Definition: pileupCalc.py:214