- Timestamp:
- 05/31/08 12:23:05 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8901 r8902 19 19 -*-*- END OF LINE -*-*- 20 20 21 22 2008/05/31 Thomas Bretz 23 24 * callisto.cc, star.cc: 25 - added new option "--null" to suppress run-wise output files 26 27 * mjobs/MJob.h: 28 - added new data-member fNullOut to flag suppression of 29 run-wise output files 30 31 * mjobs/MJCalibrateSignal.cc, mjobs/MJStar.cc: 32 - use new option IsNullOut from base class 33 34 35 36 21 37 2008/05/27 Stefan Ruegamer 22 38 … … 58 74 we now deny any bit in the pattern, but require the calibration 59 75 bit to choose calibration events 76 77 * mbase/MClone.[h,cc]: 78 - instead of cloning the object again and again we now clone 79 it once and then just copy the contents. A new option has 80 been introduced to switch back to the old behaviour 81 82 * mbase/MStatusDisplay.[h,cc]: 83 - changed the argument of GetEmbeddedCanvas from a pointer 84 to a reference 85 86 * macros/rootlogon.C: 87 - switched on optimization (-O3) for ACLIC 60 88 61 89 -
trunk/MagicSoft/Mars/NEWS
r8898 r8902 84 84 If the trigger pattern is corrupted events won't pass anymore. 85 85 86 * Added a new command line option --null to suppress output of 87 Y-files (this is useful for test cases) 88 86 89 ;star 87 90 88 91 * the star file now contains also the sequence information 92 93 * Added a new command line option --null to suppress output of 94 I-files (this is useful for test cases) 89 95 90 96 ;ganymed/sponde -
trunk/MagicSoft/Mars/callisto.cc
r8795 r8902 78 78 gLog << " --path=path Path to write the all results to [def=local path]" << endl; 79 79 gLog << " (overwrites --iny, --outc and --outy)" << endl; 80 gLog << " --null Suppress output of Y-files (for test purpose)" << endl; 80 81 gLog << " --print-seq Print Sequence information" << endl; 81 82 gLog << " --print-files Print Files taken from Sequence" << endl; … … 174 175 const Bool_t kMovie = arg.HasOnlyAndRemove("--movie"); 175 176 const Bool_t kDebugMem = arg.HasOnlyAndRemove("--debug-mem"); 177 const Bool_t kNullOut = arg.HasOnlyAndRemove("--null"); 176 178 // Bool_t kMoon = arg.HasOnlyAndRemove("--moon"); 177 179 Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0; … … 619 621 job4.SetPathOut(kOutpathY); 620 622 job4.SetMovieMode(kMovie); 623 job4.SetNullOut(kNullOut); 621 624 if (!seq.IsMonteCarlo()) 622 625 job4.SetExtractor(job2.GetExtractor()); -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8898 r8902 917 917 if (fSequence.IsMonteCarlo()) 918 918 { 919 if (!fIsMovieMode )919 if (!fIsMovieMode && !IsNullOut()) 920 920 tlist.AddToList(&writemc); 921 921 tlist.AddToList(&contmc); … … 929 929 // tlist.AddToList(&pcalc, "Drive"); 930 930 931 if (!fIsMovieMode )931 if (!fIsMovieMode && !IsNullOut()) 932 932 tlist.AddToList(&write); 933 933 -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8790 r8902 469 469 tlist.AddToList(&filldt, "CC"); 470 470 } 471 tlist.AddToList(&write); 471 if (!IsNullOut()) 472 tlist.AddToList(&write); 472 473 473 474 // Create and setup the eventloop -
trunk/MagicSoft/Mars/mjobs/MJob.h
r8644 r8902 33 33 Bool_t fOverwrite; // Allow overwriting output files 34 34 Int_t fMaxEvents; // Maximum number of events 35 36 Bool_t fNullOut; // Suppress output files 35 37 36 38 // FIXME: Split into MJobSequence and MJobDataSet … … 74 76 void SetSequence(const MSequence &seq) { fSequence = seq; } 75 77 78 void SetNullOut(Bool_t b=kTRUE) { fNullOut=b; } 79 76 80 // Getter 77 81 TString GetPathOut() const { return fPathOut; } … … 79 83 80 84 Bool_t HasWritePermission(TString fname) const; 85 86 Bool_t HasNullOut() const { return fNullOut; } 81 87 82 88 // Others -
trunk/MagicSoft/Mars/star.cc
r8741 r8902 68 68 gLog << " --out=path Path to write the all results to [def=local path]" << endl; 69 69 gLog << " (overwrites --outc and --outy)" << endl; 70 gLog << " --null Suppress output of I-files (for test purpose)" << endl; 70 71 gLog << " --no-muons Switch off Muon analysis (for fast tests)" << endl; 71 72 gLog << " --print-seq Print Sequence information" << endl; … … 121 122 const Bool_t kPrintFound = arg.HasOnlyAndRemove("--print-found"); 122 123 const Bool_t kDebugMem = arg.HasOnlyAndRemove("--debug-mem"); 124 const Bool_t kNullOut = arg.HasOnlyAndRemove("--null"); 123 125 Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0; 124 126 kDebugEnv = arg.GetIntAndRemove("--debug-env=", kDebugEnv); … … 244 246 job.SetOverwrite(kOverwrite); 245 247 job.SetPathOut(kOutpath); 248 job.SetNullOut(kNullOut); 246 249 // job.SetPathIn(kInpath); // not yet needed 247 250 if (kNoMuons)
Note:
See TracChangeset
for help on using the changeset viewer.