MagneticField
VolumeGeometry
src
MagExceptions.cc
Go to the documentation of this file.
1
#include "
MagneticField/VolumeGeometry/interface/MagExceptions.h
"
2
3
MagException::MagException
(
const
char
* message) : theMessage(message) {}
4
MagException::~MagException
()
throw
() {}
5
const
char
*
MagException::what
()
const
throw
() {
return
theMessage
.c_str(); }
6
7
GridInterpolator3DException::GridInterpolator3DException
(
8
double
a1,
double
b1
,
double
c1
,
double
a2
,
double
b2
,
double
c2)
throw
() {
9
limits_[0] = a1;
10
limits_[1] =
b1
;
11
limits_[2] =
c1
;
12
limits_[3] =
a2
;
13
limits_[4] =
b2
;
14
limits_[5] = c2;
15
}
16
17
GridInterpolator3DException::~GridInterpolator3DException
()
throw
() {}
18
19
const
char
*
GridInterpolator3DException::what
()
const
throw
() {
20
return
"LinearGridInterpolator3D: field requested outside of grid validity"
;
21
}
MagException::what
const char * what() const override
Definition:
MagExceptions.cc:5
MagException::~MagException
~MagException() override
Definition:
MagExceptions.cc:4
GridInterpolator3DException::what
const char * what() const override
Definition:
MagExceptions.cc:19
MagExceptions.h
MagException::theMessage
std::string theMessage
Definition:
MagExceptions.h:15
b2
static constexpr float b2
Definition:
L1EGammaCrystalsEmulatorProducer.cc:82
GridInterpolator3DException::GridInterpolator3DException
GridInterpolator3DException(double a1, double b1, double c1, double a2, double b2, double c2)
Definition:
MagExceptions.cc:7
testProducerWithPsetDescEmpty_cfi.a2
a2
Definition:
testProducerWithPsetDescEmpty_cfi.py:35
b1
static constexpr float b1
Definition:
L1EGammaCrystalsEmulatorProducer.cc:82
GridInterpolator3DException::~GridInterpolator3DException
~GridInterpolator3DException() override
Definition:
MagExceptions.cc:17
alignmentValidation.c1
c1
do drawing
Definition:
alignmentValidation.py:1025
MagException::MagException
MagException()
Definition:
MagExceptions.h:9
ALCARECOPromptCalibProdSiPixelAli0T_cff.throw
throw
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:9
Generated for CMSSW Reference Manual by
1.8.16