#include <LBNEVolumePlacements.hh>
|
static double | inchDef = 2.54*CLHEP::cm |
|
Definition at line 89 of file LBNEVolumePlacements.hh.
LBNEHornRadialEquation::LBNEHornRadialEquation |
( |
| ) |
|
LBNEHornRadialEquation::LBNEHornRadialEquation |
( |
double |
rSqrtCoefficient, |
|
|
double |
zCoefficient, |
|
|
double |
rOffset, |
|
|
bool |
parabolic = true |
|
) |
| |
double LBNEHornRadialEquation::GetVal |
( |
double |
z | ) |
const |
Definition at line 1607 of file LBNEDownstrVolPlacements.cc.
1616 std::ostringstream mStrStr; mStrStr <<
" Negative argument, z = " <<
z 1618 G4String mStr(mStrStr.str());
1619 G4Exception(
"LBNEHornRadialEquation::GetVal",
" ", FatalErrorInArgument, mStr.c_str());
1621 const double radius =
parabolic ? (std::sqrt(argR) +
rOff) : argR;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
QTextStream & endl(QTextStream &s)
void LBNEHornRadialEquation::SetLongRescaleFactor |
( |
double |
r | ) |
|
|
inline |
void LBNEHornRadialEquation::SetRadialRescaleFactor |
( |
double |
r | ) |
|
|
inline |
void LBNEHornRadialEquation::SetRadialRescaleFactorCst |
( |
double |
r | ) |
|
|
inline |
void LBNEHornRadialEquation::test1 |
( |
| ) |
const |
Definition at line 1626 of file LBNEDownstrVolPlacements.cc.
1629 const double argZ = (3.2645 + 17.876 - 0.031);
1630 const double rTest = this->
GetVal(argZ*25.4*CLHEP::mm*
zResc);
1631 std::cerr <<
" LBNEHornRadialEquation::test1, argZ " << argZ <<
" rTest (mm) " << rTest <<
std::endl;
1633 const double delta = 2.0*rTest - 1.6326*25.4*CLHEP::mm*
rResc;
1634 std::cerr <<
" delta (mm) " << delta <<
" zResc " <<
zResc <<
" rResc " << rResc <<
std::endl;
1635 if (
std::abs(delta) > 0.127*CLHEP::mm) {
1636 G4Exception(
"LBNEHornRadialEquation::test1",
" ", FatalErrorInArgument,
1637 " Horn1 Equation 0 inconsistent with drawing 363104");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
double GetVal(double z) const
QTextStream & endl(QTextStream &s)
double LBNEHornRadialEquation::inchDef = 2.54*CLHEP::cm |
|
staticprivate |
bool LBNEHornRadialEquation::parabolic |
|
private |
double LBNEHornRadialEquation::rCoeff |
|
private |
double LBNEHornRadialEquation::rOff |
|
private |
double LBNEHornRadialEquation::rResc |
|
private |
double LBNEHornRadialEquation::rRescCst |
|
private |
double LBNEHornRadialEquation::zCoeff |
|
private |
double LBNEHornRadialEquation::zResc |
|
private |
The documentation for this class was generated from the following files: