- Timestamp:
- 03/28/07 13:43:28 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8382 r8383 19 19 -*-*- END OF LINE -*-*- 20 20 21 2007/03/28 Thomas Bretz 22 23 * mraw/MRawRunHeader.cc: 24 - added Getter for fFreqSampling 25 26 27 21 28 2007/03/21 Stefan Ruegamer 22 29 23 30 * datacenter/scripts/runcallisto: 24 31 - removed entries for callisto_MarApr05.rc (outdated) 25 32 26 33 * datacenter/scripts/makecallistolinks: 27 34 - updated reason1 because the old reason has been removed in the … … 35 42 36 43 * datacenter/db/db.php, datacenter/scripts/budb, 37 datacenter/scripts/dbchk, /datacenter/scripts/dunotseqruns,38 /datacenter/scripts/findnewstars,39 /datacenter/scripts/findnotseqruns, /datacenter/scripts/sourcefile,40 /datacenter/tools/comparesequences, datacenter/tools/resetdataset,44 datacenter/scripts/dbchk, datacenter/scripts/dunotseqruns, 45 datacenter/scripts/findnewstars, 46 datacenter/scripts/findnotseqruns, datacenter/scripts/sourcefile, 47 datacenter/tools/comparesequences, datacenter/tools/resetdataset, 41 48 sql.rc: 42 49 - changed the host from hercules to vela -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r8244 r8383 55 55 #include "MTaskEnv.h" 56 56 #include "MPointingDevCalc.h" 57 #include "MParameterCalc.h" 57 58 #include "MSrcPosRndm.h" 58 59 #include "MSrcPosCalc.h" … … 375 376 write->AddContainer("MMcEvt", "Events", kFALSE); 376 377 write->AddContainer("DataType", "Events"); 378 write->AddContainer("RunNumber", "Events"); 379 write->AddContainer("EvtNumber", "Events"); 377 380 // write->AddContainer("MMuonSearchPar", "Events", kFALSE); 378 381 // write->AddContainer("MMuonCalibPar", "Events", kFALSE); … … 549 552 MParList plist; 550 553 551 MHSrcPosCam hsrcpos ;554 MHSrcPosCam hsrcpos(fIsWobble); 552 555 if (!fIsWobble && source.IsInitialized() && fRndmSrcPos) 553 556 { … … 662 665 taskenv3.SetDefault(fCalcDisp); 663 666 667 MParameterCalc setevtnum("MRawEvtHeader.fDAQEvtNumber", "SetEvtNumber"); 668 setevtnum.SetNameParameter("EvtNumber"); 669 670 MParameterCalc setrunnum("MRawRunHeader.fRunNumber", "SetRunNumber"); 671 setrunnum.SetNameParameter("RunNumber"); 672 664 673 // MFillH fill0a("OnPos [MHSrcPosCam]", "MSrcPosCam", "FillSrcPosCam"); 665 674 MFillH fill1a("MHHillasOffPre [MHHillas]", "MHillas", "FillHillasPre"); … … 714 723 tlist2.AddToList(&taskenv2); 715 724 tlist2.AddToList(&taskenv3); 725 tlist2.AddToList(&setrunnum); 726 tlist2.AddToList(&setevtnum); 716 727 if (write0) 717 728 tlist2.AddToList(write0); … … 895 906 tlist2.RemoveFromList(&srcrndm); 896 907 } 908 909 MFillH fillsrc(&hsrcpos, "MSrcPosCam", "FillSrcPosCam"); 910 fillsrc.SetNameTab("SrcPos"); 911 if (fIsWobble) 912 tlist2.AddToListBefore(&fillsrc, &hcalc); 913 897 914 if (!fWriteOnly) 898 915 { -
trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc
r7887 r8383 18 18 ! Author(s): Thomas Bretz, 2/2006 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 ! Copyright: MAGIC Software Development, 200 620 ! Copyright: MAGIC Software Development, 2007 21 21 ! 22 22 ! … … 34 34 35 35 #include <TCanvas.h> 36 #include <TEllipse.h> 36 37 37 38 #include "MGeomCam.h" … … 55 56 // Default Constructor 56 57 // 57 MHSrcPosCam::MHSrcPosCam( const char *name, const char *title)58 MHSrcPosCam::MHSrcPosCam(Bool_t wobble, const char *name, const char *title) 58 59 : fTimeEffOn(NULL), fEffOnTime(NULL), fSourcePos(NULL) 59 60 { … … 75 76 fHist.SetContour(99); 76 77 78 const Float_t x = wobble ? 0.5499 : 0.2499; 79 const Int_t n = wobble ? 101 : 51; 77 80 78 81 MBinning bins; 79 bins.SetEdges( 51, -0.2499, 0.2499); // bin=0.01ø ~0.5SE82 bins.SetEdges(n, -x, x); // bin=0.01ø ~0.5SE 80 83 81 84 MH::SetBinning(&fHist, &bins, &bins); … … 184 187 gPad->SetGridy(); 185 188 189 AppendPad(); 190 186 191 fHist.Draw("colz"); 187 192 188 AppendPad(); 189 } 190 193 if (fHist.GetXaxis()->GetXmax()>0.5) 194 { 195 TEllipse el; 196 el.SetFillStyle(4000); 197 el.SetLineColor(kMagenta); 198 el.DrawEllipse(0, 0, 0.4, 0, 0, 360, 0); 199 } 200 } 201 -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r8351 r8383 106 106 UShort_t GetNumBytesPerSample() const { return fNumBytesPerSample; } 107 107 UInt_t GetNumEvents() const { return fNumEvents; } 108 UShort_t GetFreqSampling() const { return fFreqSampling; } 108 109 const MTime &GetRunStart() const { return fRunStart; } 109 110 const MTime &GetRunEnd() const { return fRunStop; }
Note:
See TracChangeset
for help on using the changeset viewer.