ATLAS Offline Software
Loading...
Searching...
No Matches
GetRefIndex.cxx File Reference
#include <algorithm>
#include <cassert>
#include <cmath>
#include <iomanip>
#include "LUCID_DetectorFactory.h"
#include "GetRefIndex.h"
#include "GaudiKernel/PhysicalConstants.h"
Include dependency graph for GetRefIndex.cxx:

Go to the source code of this file.

Functions

double GetRefIndexQuartz (double lambda)

Function Documentation

◆ GetRefIndexQuartz()

double GetRefIndexQuartz ( double lambda)

Definition at line 15 of file GetRefIndex.cxx.

15 {
16
17 double const SellCoeu[] = {46.41, 228.71, 0.014};
18 double const SellCoed[] = {10.666, 18.125, 0.125};
19
20 double e = 2.*M_PI*Gaudi::Units::hbarc/(Gaudi::Units::eV*Gaudi::Units::nm)/lambda;
21 double r = 1.;
22
23 for(int i=0; i<3; i++) r += SellCoeu[i]/(SellCoed[i]*SellCoed[i] - e*e);
24
25 return sqrt(r);
26}
#define M_PI
int r
Definition globals.cxx:22