Changeset 28 in JEM-EUSO
- Timestamp:
- Jan 15, 2013, 2:50:08 PM (11 years ago)
- Location:
- esaf_lal/trunk/esaf
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
esaf_lal/trunk/esaf/packages/simulation/detector/optics/src/OpticalAdaptor.cc
r16 r28 1 // $Id: OpticalAdaptor.cc 2849 2010-11-11 11:59:41Z biktem$1 // $Id: OpticalAdaptor.cc 3029 2013-01-15 13:08:55Z sakaki $ 2 2 // Author: D.Demarco, M.Pallavicini 3 3 … … 44 44 45 45 if (!fgBG3) { 46 fgBG3 = new Interpolate("config/Optics/NOpticalSystem/bg3.dat",2); 46 // ATTENSION!! 47 // The 3rd column in NOpticalSystem/bg3.dat is the imaginary part of 48 // the refractive index. 49 fgBG3 = new Interpolate("config/Optics/NOpticalSystem/bg3b.dat",2); 47 50 fgBG3->SetXUnit(nm); 48 51 } … … 91 94 92 95 // value = Exp(fFilterThickness*Log(fgBG3->GetValue(p->wl))/(1.*mm)); 93 value = Power(fgBG3->GetValue(p->wl), 94 fFilterThickness/(1.*mm)); 96 // value = Power(fgBG3->GetValue(p->wl), 97 // fFilterThickness/(1.*mm)); 98 value=TMath::Exp(-4.0*TMath::Pi()/p->wl*fgBG3->GetValue(p->wl,1) 99 *fFilterThickness); 95 100 96 101 return ( EsafRandom::Get()->Rndm() > value );
Note: See TracChangeset
for help on using the changeset viewer.