Changeset 7566
- Timestamp:
- 03/03/06 17:06:04 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7565 r7566 26 26 - fixed the scaling. MSrcPosCam has to be in mm 27 27 28 * ganymed.rc: 29 - added line and comments with new resource 30 28 31 29 32 -
trunk/MagicSoft/Mars/NEWS
r7544 r7566 26 26 - ganymed: now stops in requested source isn't found in catalog file 27 27 28 - ganymed: fixed plot for E ý.dN/dE. The spectrum was multiplied with two28 - ganymed: fixed plot for E^2*dN/dE. The spectrum was multiplied with two 29 29 times the bin-width instead of the absolute energy 30 31 - ganymed: added a new option for on-/off-observations 32 MJCut.RandomSourcePosition 33 If switched on the distribution of observation time of the source 34 position in the camera is calculated from the on-data and randomly 35 applied with this distrbution to the off-data. 36 30 37 31 38 -
trunk/MagicSoft/Mars/ganymed.rc
r7413 r7566 82 82 MHDisp.Smearing: 0.03 83 83 #MHDisp.Wobble: Yes 84 85 # ------------------------------------------------------------------------- 86 # To get use a random source position in the off data with the distribution 87 # in the camera of the on-data 88 # ------------------------------------------------------------------------- 89 #MJCut.RandomSourcePosition: Yes 84 90 85 91 # ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7560 r7566 655 655 taskenv3.SetDefault(fCalcDisp); 656 656 657 // MFillH fill0a("OnPos [MHSrcPosCam]", "MSrcPosCam", "FillSrcPosCam"); 657 658 MFillH fill1a("MHHillasOffPre [MHHillas]", "MHillas", "FillHillasPre"); 658 659 MFillH fill2a("MHHillasOffPost [MHHillas]", "MHillas", "FillHillasPost"); … … 692 693 tlist2.AddToList(&scor); 693 694 tlist2.AddToList(&srcrndm); 695 //if (fRndmSrcPos && !fIsWobble) 696 // tlist2.AddToList(&fill0a); 694 697 tlist2.AddToList(&hcalc); 695 698 if (fIsWobble) … … 863 866 864 867 tlist.Replace(&readon); 868 if (fRndmSrcPos && !fIsWobble) 869 { 870 // tlist2.RemoveFromList(&fill0a); 871 tlist2.RemoveFromList(&srcrndm); 872 } 865 873 if (!fWriteOnly) 866 874 { -
trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc
r7558 r7566 137 137 } 138 138 139 // if (fName=="MHSrcPosCam") 140 // { 139 141 fXY += cam->GetXY(); 140 142 fNum++; … … 149 151 150 152 fHist.Fill(fXY.X(), fXY.Y(), fEffOnTime->GetVal()); 153 // } 154 // else 155 // fHist.Fill(cam->GetX()*fConvMm2Deg, cam->GetY()*fConvMm2Deg); 151 156 152 157 fXY = TVector2(); … … 159 164 void MHSrcPosCam::Paint(Option_t *) 160 165 { 161 MH::SetPalette("glow1" );166 MH::SetPalette("glow1", 99); 162 167 } 163 168
Note:
See TracChangeset
for help on using the changeset viewer.