Changeset 19801 for trunk/Mars
- Timestamp:
- 10/26/19 21:15:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/hawc/runranger.sh
r19800 r19801 6 6 TRAINRATIO=0.7 7 7 8 # Classical reconstruction parameters 8 9 TRUEVAR="log10(Energy)" 9 10 #TRUEVAR="Phi*TMath::RadToDeg()" … … 11 12 #TRUEVAR="MeanX*conv" 12 13 #TRUEVAR="MeanY*conv" 14 15 # Impact on ground 16 #TRUEVAR="TMath::Hypot(X,Y)" 17 #TRUEVAR="atan2(X,Y)*TMath::RadToDeg()" 13 18 14 19 echo --------------------------------- Creating input files ------------------------- … … 21 26 auto-alias=MNewImagePar.f/ 22 27 auto-alias=MMcEvt.MMcEvtBasic.f/ 28 auto-alias=MCorsikaEvtHeader.f/ 23 29 24 30 # Some cuts to remove events with strange contents … … 60 66 TimeSpreadWeighted = TimeSpreadWeighted 61 67 SlopeSpredWeighted = SlopeSpreadWeighted 68 69 # Be careful, this is true MC information 70 #GroundR = TMath::Hypot(X,Y) 71 #GroundPhi = atan2(Y,X) 72 #GroundX = X 73 #GroundYY = Y 62 74 EOF 63 75 … … 70 82 71 83 if [ $? != 0 ]; then 72 exit 84 exit 1 73 85 fi 74 86 … … 97 109 ${NICE} ${CSV2ROOT} ${TEST} ${OUT}.root --force 98 110 if [ $? != 0 ]; then 99 exit 111 exit 1 100 112 fi 101 113 102 114 ${NICE} ${CSV2ROOT} ${OUT}.prediction ${OUT}.root --update 103 115 if [ $? != 0 ]; then 104 exit 116 exit 1 105 117 fi 118
Note:
See TracChangeset
for help on using the changeset viewer.