ATLAS Offline Software
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 
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 }
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
beamspotman.r
def r
Definition: beamspotman.py:676
LUCID_DetectorFactory.h
M_PI
#define M_PI
Definition: ActiveFraction.h:11
GetRefIndexQuartz
double GetRefIndexQuartz(double lambda)
Definition: GetRefIndex.cxx:15
python.PhysicalConstants.hbarc
float hbarc
Definition: PhysicalConstants.py:73
lumiFormat.i
int i
Definition: lumiFormat.py:85
python.SystemOfUnits.eV
int eV
Definition: SystemOfUnits.py:155
CalibCoolCompareRT.nm
nm
Definition: CalibCoolCompareRT.py:110
GetRefIndex.h