Changeset 19916
- Timestamp:
- 12/17/19 17:19:01 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/hawc/fresnellens_image.C
r19789 r19916 6 6 Mars/build where you have built your Mars environment) you have to do 7 7 8 root ../hawc/fresnellens_image.C8 root hawc/fresnellens_image.C 9 9 10 10 or from within root 11 11 12 [0] .x ../hawc/fresnellens_image.C12 [0] .x hawc/fresnellens_image.C 13 13 14 14 ******************************************************************/ … … 39 39 40 40 MParSpline pde("PhotonDetectionEfficiency"); 41 MParSpline acc("ConesAngularAcceptance"); 41 MParSpline con("ConeTransmission"); 42 MParSpline acc("ConeAngularAcceptance"); 42 43 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"); 45 47 46 48 MGeomCamFAMOUS geom(F); … … 71 73 plist.AddToList(&geom); 72 74 plist.AddToList(&pde); 75 plist.AddToList(&con); 73 76 plist.AddToList(&acc); 74 77 … … 102 105 103 106 MSimAbsorption absapd("SimPhotonDetectionEfficiency"); 107 MSimAbsorption abscon("SimConeTransmission"); 104 108 MSimAbsorption cones("SimConesAngularAcceptance"); 105 109 absapd.SetParName("PhotonDetectionEfficiency"); 106 cones.SetParName("ConesAngularAcceptance"); 110 abscon.SetParName("ConeTransmission"); 111 cones.SetParName("ConeAngularAcceptance"); 107 112 cones.SetUseTheta(); 108 113 cones.SetForce(); 114 abscon.SetForce(); 109 115 absapd.SetForce(); 110 116 // We loose another 4% at the cone surface! … … 124 130 tlist.AddToList(&fillC); 125 131 tlist.AddToList(&cones); 132 tlist.AddToList(&abscon); 126 133 tlist.AddToList(&fillS); 127 134
Note:
See TracChangeset
for help on using the changeset viewer.