Changeset 28 in JEM-EUSO


Ignore:
Timestamp:
Jan 15, 2013, 2:50:08 PM (11 years ago)
Author:
moretto
Message:

Revision 3029 of the official ccin2p3 repository: Bug in treatment of bg3.dat in OpticalAdaptor was fixed. Now optical adaptors with BG3 should work. BG3 data were extrapolated to shorter wavelength.

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 $
    22// Author: D.Demarco, M.Pallavicini
    33
     
    4444
    4545    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);
    4750        fgBG3->SetXUnit(nm);
    4851    }
     
    9194
    9295//            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);
    95100
    96101            return ( EsafRandom::Get()->Rndm() > value );
Note: See TracChangeset for help on using the changeset viewer.