- Timestamp:
- 02/18/05 16:29:20 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6598 r6604 29 29 30 30 31 31 32 2005/02/18 Thomas Bretz 32 33 … … 40 41 - added Add*Runs member function 41 42 - with this changes MSequence can replace MRunIter now 43 - allow requesting of standard path from outside 44 (GetStandardPath) 45 46 * Makefile: 47 - added sinope 48 49 * sinope.cc: 50 - added (small tool to check contents of run for datacenter) 51 52 * callisto.cc: 53 - added background information about Callisto 54 55 * ganymed.cc: 56 - added background information about Ganymed 57 58 * mjobs/MJCalibrateSignal.cc: 59 - removed special MC code. The MC files now have a lo-gain 60 switch and we can extract the pedestal rms from lo-gain 61 - don't print statistics if nothing was executed 42 62 43 63 -
trunk/MagicSoft/Mars/Makefile
r6459 r6604 20 20 # 21 21 #PROGRAMS = readraw merpp mars test mona status 22 PROGRAMS = readdaq merpp readraw callisto star ganymed showlog showplot mars mona22 PROGRAMS = readdaq merpp readraw sinope callisto star ganymed showlog showplot mars mona 23 23 SOLIB = libmars.so 24 24 CINT = M -
trunk/MagicSoft/Mars/callisto.cc
r6569 r6604 102 102 gLog << " showplot or MStatusDisplay in the interpreter. A description of a" << endl; 103 103 gLog << " sequence-file can be found in the class reference of MSequence." << endl << endl; 104 gLog << "Background:" << endl; 105 gLog << " Callisto is a large, icy, dark-colored, low-density outer moon of" << endl; 106 gLog << " Jupiter that is scarred with impact craters and ejecta. It has a" << endl; 107 gLog << " diameter of about 4800km, the second-largest moon of Jupiter; it is" << endl; 108 gLog << " roughly the size of Mercury. Callisto has the largest-known impact" << endl; 109 gLog << " crater in the Solar System, Valhalla, which has a bright patch 600km" << endl; 110 gLog << " across and rings that go out to almost 3000km. Callisto orbits" << endl; 111 gLog << " Jupiter at a mean distance of 1,883,000km. Its mass is 1.1e23 kg. It" << endl; 112 gLog << " takes Callisto 16.7 days to orbit Jupiter in a synchronous orbit." << endl; 113 gLog << " Jupiter's moon Callisto was discovered independantly by Galileo and" << endl; 114 gLog << " S.Marius in 1610." << endl << endl; 104 115 gLog << "Example:" << endl; 105 116 gLog << " callisto -f --outc=mycal/ --outy=mysignal/ --log sequence02345.txt" << endl; -
trunk/MagicSoft/Mars/ganymed.cc
r6553 r6604 69 69 gLog << endl; 70 70 gLog << " --version, -V Show startup message with version number" << endl; 71 gLog << " -?, -h, --help This help" << endl; 72 gLog << endl; 71 gLog << " -?, -h, --help This help" << endl << endl; 72 gLog << "Background:" << endl; 73 gLog << " Ganymed is the largest moon of Jupiter, a large, icy, outer moon that" << endl; 74 gLog << " is scarred with impact craters and many parallel faults. It has a" << endl; 75 gLog << " diameter of about 5268km and orbits Jupiter at a mean distance of" << endl; 76 gLog << " 1,070,000km. It has a magnetic field and probably has a molten iron" << endl; 77 gLog << " core. It takes Ganymed 7.15 days to orbit Jupiter. Its mass is" << endl; 78 gLog << " 1.5e23kg. It was independently discovered by Galileo and S.Marius in"<< endl; 79 gLog << " 1610. Ganymed is the largest moon in the solar system; it is also" << endl; 80 gLog << " larger than the planets Mercury and Pluto." << endl << endl; 73 81 } 74 82 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6570 r6604 88 88 #include "MFTriggerPattern.h" 89 89 #include "MGeomApply.h" 90 #include "MMcPedestalCopy.h"90 //#include "MMcPedestalCopy.h" 91 91 #include "MPointingPosCalc.h" 92 92 #include "MPointingPosInterpolate.h" … … 456 456 contcos.SetInverted(); 457 457 458 MMcPedestalCopy pcopy;458 //MMcPedestalCopy pcopy; 459 459 MTaskEnv taskenv1("ExtractSignal"); 460 460 MTaskEnv taskenv2("ExtractTime"); … … 472 472 calib.SetSignalType(MCalibrateData::kPhe); 473 473 //----- WORKAROUND: Currently MC has no lo-gain switch ------ 474 if (IsUseMC()) // MC file475 {476 calib.SetCalibrationMode(MCalibrateData::kFfactor);477 calib.SetPedestalFlag(MCalibrateData::kRun);478 // FIXME: What to do for MC files???479 calib.AddPedestal("MPedestalCam", "MPedPhotFundamental");480 calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractor");481 calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractorRndm");482 }483 else484 {474 //if (IsUseMC()) // MC file 475 //{ 476 // calib.SetCalibrationMode(MCalibrateData::kFfactor); 477 // calib.SetPedestalFlag(MCalibrateData::kRun); 478 // // FIXME: What to do for MC files??? 479 // calib.AddPedestal("MPedestalCam", "MPedPhotFundamental"); 480 // calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractor"); 481 // calib.AddPedestal("MPedestalCam", "MPedPhotFromExtractorRndm"); 482 //} 483 //else 484 //{ 485 485 calib.AddPedestal("Fundamental"); 486 486 calib.AddPedestal("FromExtractor"); 487 487 calib.AddPedestal("FromExtractorRndm"); 488 488 calib.SetPedestalFlag(MCalibrateData::kEvent); 489 }489 //} 490 490 //---------------------------------------------------------- 491 491 … … 624 624 tlist2.AddToList(&merge); 625 625 //----- WORKAROUND: Currently MC has no lo-gain switch ------ 626 if (IsUseMC())627 tlist2.AddToList(&pcopy);628 else629 {626 //if (IsUseMC()) 627 // tlist2.AddToList(&pcopy); 628 //else 629 //{ 630 630 tlist2.AddToList(&pedlo1); 631 631 tlist2.AddToList(&pedlo2); 632 632 tlist2.AddToList(&pedlo3); 633 }633 //} 634 634 //----------------------------------------------------------- 635 635 if (fIsInterlaced) … … 718 718 719 719 // Print statistics 720 tlist.PrintStatistics(); 720 if (read->GetNumExecutions()>0) 721 tlist.PrintStatistics(); 721 722 722 723 // make sure owned object are deleted -
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r6591 r6604 130 130 131 131 #include "MAstro.h" 132 #include "MString.h" 132 133 #include "MDirIter.h" 133 134 … … 172 173 } 173 174 175 const TString MSequence::GetStandardPath(Bool_t raw) const 176 { 177 TString d = MString::Form("/data/MAGIC/Period%03d/", fPeriod); 178 d += raw ? "rawdata/" : "rootdata/"; 179 return d; 180 } 181 174 182 UInt_t MSequence::SetupRuns(MDirIter &iter, const TArrayI &arr, const char *path, char *id, Bool_t raw) const 175 183 { … … 179 187 if (d.IsNull()) 180 188 { 181 d = Form("/data/MAGIC/Period%03d/", fPeriod); 182 d += raw ? "rawdata/" : "rootdata/"; 189 d = GetStandardPath(raw); 183 190 d += fNight.GetStringFmt("%Y_%m_%d"); 184 191 } -
trunk/MagicSoft/Mars/mjobs/MSequence.h
r6591 r6604 93 93 const TString &GetSource() const { return fSource; } 94 94 95 const TString GetStandardPath(Bool_t raw) const; 96 95 97 // Setter 96 98 void SetNight(const char*night);
Note:
See TracChangeset
for help on using the changeset viewer.