Changeset 19916 for trunk/Mars


Ignore:
Timestamp:
12/17/19 17:19:01 (5 years ago)
Author:
tbretz
Message:
Added cone transmission and updated efficiencies.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/fresnellens_image.C

    r19789 r19916  
    66 Mars/build where you have built your Mars environment) you have to do
    77
    8     root ../hawc/fresnellens_image.C
     8    root hawc/fresnellens_image.C
    99
    1010 or from within root
    1111
    12     [0] .x ../hawc/fresnellens_image.C
     12    [0] .x hawc/fresnellens_image.C
    1313
    1414******************************************************************/
     
    3939
    4040    MParSpline pde("PhotonDetectionEfficiency");
    41     MParSpline acc("ConesAngularAcceptance");
     41    MParSpline con("ConeTransmission");
     42    MParSpline acc("ConeAngularAcceptance");
    4243
    43     pde.ReadFile("resmc/hawcseye/pde.txt");
    44     acc.ReadFile("resmc/hawcseye/cones-angular-acceptance.txt");
     44    pde.ReadFile("resmc/hawcseye/pde_SensL.txt");
     45    con.ReadFile("resmc/hawcseye/transmittance_cone.txt");
     46    acc.ReadFile("resmc/hawcseye/angular_acceptance_cone.txt");
    4547
    4648    MGeomCamFAMOUS geom(F);
     
    7173    plist.AddToList(&geom);
    7274    plist.AddToList(&pde);
     75    plist.AddToList(&con);
    7376    plist.AddToList(&acc);
    7477
     
    102105
    103106    MSimAbsorption absapd("SimPhotonDetectionEfficiency");
     107    MSimAbsorption abscon("SimConeTransmission");
    104108    MSimAbsorption cones("SimConesAngularAcceptance");
    105109    absapd.SetParName("PhotonDetectionEfficiency");
    106     cones.SetParName("ConesAngularAcceptance");
     110    abscon.SetParName("ConeTransmission");
     111    cones.SetParName("ConeAngularAcceptance");
    107112    cones.SetUseTheta();
    108113    cones.SetForce();
     114    abscon.SetForce();
    109115    absapd.SetForce();
    110116    // We loose another 4% at the cone surface!
     
    124130    tlist.AddToList(&fillC);
    125131    tlist.AddToList(&cones);
     132    tlist.AddToList(&abscon);
    126133    tlist.AddToList(&fillS);
    127134
Note: See TracChangeset for help on using the changeset viewer.