Changeset 3591
- Timestamp:
- 03/23/04 18:14:32 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3589 r3591 40 40 * mreport/MReport.cc: 41 41 - fixed a bug which caused a crash when the time is not valid 42 43 * mhist/MHStarMap.cc: 44 - fixed: v.Roatete() must be v=v.Rotate() 42 45 43 46 -
trunk/MagicSoft/Mars/mhist/MHFalseSource.cc
r3590 r3591 357 357 TVector2 v(cx[ix], cy[iy]); 358 358 if (rho!=0) 359 v .Rotate(-rho);359 v=v.Rotate(-rho); 360 360 361 361 if (!fUseMmScale) … … 940 940 for (int i=1; i<89; i++) 941 941 { 942 const Double_t s = f1.Integral(0, (float)i) ;943 const Double_t b = f2.Integral(0, (float)i) ;942 const Double_t s = f1.Integral(0, (float)i)/w; 943 const Double_t b = f2.Integral(0, (float)i)/w; 944 944 945 945 const Double_t sig = Significance(s, b); -
trunk/MagicSoft/Mars/mhist/MHStarMap.cc
r3580 r3591 238 238 TVector2 v(x, m*x+t); 239 239 v -= src; 240 v .Rotate(-rho);240 v=v.Rotate(-rho); 241 241 242 242 fStarMap->Fill(v.X(), v.Y(), w); … … 255 255 TVector2 v((y-t)/m, y); 256 256 v -= src; 257 v .Rotate(-rho);257 v=v.Rotate(-rho); 258 258 259 259 fStarMap->Fill(v.X(), v.Y(), w);
Note:
See TracChangeset
for help on using the changeset viewer.