- Timestamp:
- 07/27/05 11:23:33 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7223 r7224 20 20 21 21 -*-*- END OF LINE -*-*- 22 23 2005/07/27 Thomas Bretz 24 25 * mhflux/MAlphaFitter.cc: 26 - added a line at the cut value to PaintResults 27 28 * mhflux/MHDisp.cc: 29 - replaced GetCosDelta/GetSinDelta by new GetNormAxis 30 31 * mhist/MHRate.cc: 32 - replaced some warn by err 33 34 * mimage/MHillas.[h,cc]: 35 - added new member function GetNormAxis 36 37 22 38 23 39 2005/07/26 Daniela Dorner -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7185 r7224 45 45 #include <TRandom.h> 46 46 47 #include <TLine.h> 47 48 #include <TLatex.h> 49 #include <TVirtualPad.h> 48 50 49 51 #include "MMath.h" … … 274 276 text.SetTextSize(size); 275 277 text.Paint(); 278 279 TLine line; 280 line.SetLineColor(14); 281 line.PaintLine(m, gPad->GetUymin(), m, gPad->GetUymax()); 276 282 } 277 283 -
trunk/MagicSoft/Mars/mhflux/MHDisp.cc
r7221 r7224 153 153 154 154 // Vector of length disp in direction of shower 155 const TVector2 p(hil->GetCosDelta(), hil->GetSinDelta());156 157 155 // Move origin of vector to center-of-gravity of shower and derotate 158 TVector2 pos1 = hil->GetMean()*fMm2Deg + p*fDisp->GetVal();156 TVector2 pos1 = hil->GetMean()*fMm2Deg + hil->GetNormAxis()*fDisp->GetVal(); 159 157 160 158 Double_t w0 = 1; -
trunk/MagicSoft/Mars/mhist/MHRate.cc
r7198 r7224 32 32 #include "MHRate.h" 33 33 34 #include <TPad.h>35 34 #include <TCanvas.h> 36 35 #include <TGaxis.h> … … 123 122 if (!fEvtRate) 124 123 { 125 *fLog << warn<< "MEventRate not found... abort." << endl;124 *fLog << err << "MEventRate not found... abort." << endl; 126 125 return kFALSE; 127 126 } … … 129 128 if (!fPointPos) 130 129 { 131 *fLog << warn<< "MPointingPos not found... abort." << endl;130 *fLog << err << "MPointingPos not found... abort." << endl; 132 131 return kFALSE; 133 132 } -
trunk/MagicSoft/Mars/mimage/MHillas.cc
r7177 r7224 118 118 // -------------------------------------------------------------------------- 119 119 // 120 // return the direction of the main axis (normalized). The main axis 121 // always has the direction --> x>0 122 // 123 TVector2 MHillas::GetNormAxis() const 124 { 125 return TVector2(fCosDelta, fSinDelta); 126 } 127 128 // -------------------------------------------------------------------------- 129 // 120 130 // Analytical estimation of length of border line: 121 131 // U = pi*(a+b - sqrt(a*b)) -
trunk/MagicSoft/Mars/mimage/MHillas.h
r6871 r7224 46 46 47 47 TVector2 GetMean() const; 48 TVector2 GetNormAxis() const; 48 49 49 50 Double_t GetBorderLine() const;
Note:
See TracChangeset
for help on using the changeset viewer.