ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
LUCID
LUCID_GeoModel
src
GetRefIndex.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include <algorithm>
6
#include <cassert>
7
#include <cmath>
8
#include <iomanip>
9
10
#include "
LUCID_DetectorFactory.h
"
11
#include "
GetRefIndex.h
"
12
#include "GaudiKernel/PhysicalConstants.h"
13
14
15
double
GetRefIndexQuartz
(
double
lambda) {
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
}
M_PI
#define M_PI
Definition
ActiveFraction.h:14
GetRefIndexQuartz
double GetRefIndexQuartz(double lambda)
Definition
GetRefIndex.cxx:15
GetRefIndex.h
LUCID_DetectorFactory.h
r
int r
Definition
globals.cxx:22
Generated on
for ATLAS Offline Software by
1.17.0