Changeset 9573
- Timestamp:
- 04/19/10 13:40:16 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9571 r9573 30 30 * mgeom/MGeom.[h,cc]: 31 31 - implemented function to return the distance squared 32 33 * mjobs/MJSimulation.cc: 34 - display degree symbol correctly in plots 35 - added artificial star-files to output 36 - for the moment the output of the reflector files is suppressed 37 38 * mmuon/MHSingleMuon.cc: 39 - catch if the fit failed 40 - replaced use of gMinuit by direct access to the function 41 42 * mpointing/MPointing.cc: 43 - replaced deg-symbol by UTF8 character 44 45 * mpointing/MPointingDevCalc.cc: 46 - added more information 47 48 * msignal/MSignalCam.[h,cc]: 49 - made the data members describing the image persistent. 50 they are not guranteed to have correct contents. Use 51 MNewImagePar instead. 52 - increased class version number accordingly 53 54 * msimreflector/MMirrorHex.h: 55 - added Getter for fD 32 56 33 57 -
trunk/MagicSoft/Mars/mmuon/MHSingleMuon.cc
r9369 r9573 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHSingleMuon.cc,v 1. 19 2009-03-01 21:48:14tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHSingleMuon.cc,v 1.20 2010-04-19 12:40:16 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 84 84 85 85 #include <TF1.h> 86 #include <TMinuit.h>87 86 #include <TPad.h> 88 87 #include <TCanvas.h> … … 231 230 232 231 // use only the inner pixles. FIXME: This is geometry dependent 233 if (gpix.GetAidx()>0)232 if (gpix.GetAidx()>0) 234 233 continue; 235 234 236 235 fHistWidth.Fill(dist*fGeomCam->GetConvMm2Deg(), pix.GetNumPhotons()); 237 236 } 237 238 238 // Setup the function and perform the fit 239 239 TF1 g1("g1", "gaus");//, -fHistTime.GetXmin(), fHistTime.GetXmax()); … … 253 253 // R use the range specified in the function range 254 254 // Q quiet mode 255 fHistTime.Fit(&g1, "QNB");256 257 Double_t dummy; 258 gMinuit->GetParameter(1, fRelTimeMean, dummy); // get the mean value259 gMinuit->GetParameter(2, fRelTimeSigma, dummy); // get the sigma value255 if (fHistTime.Fit(&g1, "QNB")) 256 return kTRUE; 257 258 fRelTimeMean = g1.GetParameter(1); 259 fRelTimeSigma = g1.GetParameter(2); 260 260 261 261 // The mean arrival time which was subtracted before will … … 435 435 fHistWidth.Fit(&f1, "QRN"); 436 436 437 chi = f1.GetChisquare()/f1.GetNDF(); 438 439 Double_t ferr; 440 gMinuit->GetParameter(2, width, ferr); // get the sigma value 437 if (!gMinuit) 438 return kFALSE; 439 440 chi = f1.GetChisquare()/f1.GetNDF(); 441 width = f1.GetParameter(2); 441 442 442 443 return kTRUE; -
trunk/MagicSoft/Mars/mpointing/MPointing.cc
r8958 r9573 268 268 sout += '\t'; 269 269 sout += Form("%11f", val); 270 sout += "° \t"; 270 sout += UTF8::kDeg; 271 sout += " \t"; 271 272 val *= TMath::DegToRad(); 272 273 -
trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc
r9565 r9573 126 126 // shifted a little bit. 127 127 // 128 // 16.04.2006: Around this date a roque lamp focussing has sbeen done128 // 16.04.2006: Around this date a roque lamp focussing has been done 129 129 // 130 130 // 25.04.2006: A missalignment introduced with the roque adjust has been … … 171 171 // 01. Feb. 2010 New pointing models for both telescopes 172 172 // 26. Feb. 2010 New pointing models for both telescopes 173 // 31. Mar. 2010 New pointing models for both telescopes 173 174 // 174 175 // From 2.2.2006 beginnig of the night (21:05h, run >=81855) to 24.2.2006 … … 277 278 // 278 279 // 280 // [2010-02-03 M. Garcz.] 281 // 282 // New LUTs for M2 283 // 284 // 279 285 // Others 280 286 // ------ -
trunk/MagicSoft/Mars/msignal/MSignalCam.cc
r9374 r9573 18 18 ! Author(s): Thomas Bretz, 03/2005 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-2007 20 ! Copyright: MAGIC Software Development, 2000-2010 21 ! 22 ! Version 2: 23 ! ---------- 24 ! 25 ! Made persistent (the correct contets is not guranteed, because it is 26 ! calculated from the outside (e.g. in MImgCleanStd)) 27 ! 28 ! Short_t fNumIslands; //! 29 ! Short_t fNumSinglePixels; //! 30 ! Float_t fSizeSinglePixels; //! 31 ! Float_t fSizeSubIslands; //! 32 ! Float_t fSizeMainIsland; //! 21 33 ! 22 34 ! -
trunk/MagicSoft/Mars/msignal/MSignalCam.h
r8528 r9573 20 20 friend class MSignalCamIter; 21 21 private: 22 Short_t fNumIslands; 23 Short_t fNumSinglePixels; 24 Float_t fSizeSinglePixels; 25 Float_t fSizeSubIslands; 26 Float_t fSizeMainIsland; 22 Short_t fNumIslands; //! 23 Short_t fNumSinglePixels; //! 24 Float_t fSizeSinglePixels; //! 25 Float_t fSizeSubIslands; //! 26 Float_t fSizeMainIsland; //! 27 27 28 28 Int_t fNumPixelsSaturatedHiGain; … … 94 94 operator TIterator*() const; 95 95 96 ClassDef(MSignalCam, 1) // class for an event containing cerenkov photons96 ClassDef(MSignalCam, 2) // class for an event containing cerenkov photons 97 97 }; 98 98 -
trunk/MagicSoft/Mars/msimreflector/MMirrorHex.h
r9371 r9573 24 24 Double_t GetMaxR() const { return fMaxR; } 25 25 Double_t GetA() const; 26 Double_t GetD() const { return fD; } 26 27 27 28 Bool_t CanHit(const MQuaternion &p) const;
Note:
See TracChangeset
for help on using the changeset viewer.