Changeset 8902 for trunk


Ignore:
Timestamp:
05/31/08 12:23:05 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8901 r8902  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     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
    2137 2008/05/27 Stefan Ruegamer
    2238
     
    5874       we now deny any bit in the pattern, but require the calibration
    5975       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
    6088
    6189
  • trunk/MagicSoft/Mars/NEWS

    r8898 r8902  
    8484      If the trigger pattern is corrupted events won't pass anymore.
    8585
     86    * Added a new command line option --null to suppress output of
     87      Y-files (this is useful for test cases)
     88
    8689 ;star
    8790
    8891    * 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)
    8995
    9096 ;ganymed/sponde
  • trunk/MagicSoft/Mars/callisto.cc

    r8795 r8902  
    7878    gLog << "   --path=path               Path to write the all results to [def=local path]" << endl;
    7979    gLog << "                             (overwrites --iny, --outc and --outy)" << endl;
     80    gLog << "   --null                    Suppress output of Y-files (for test purpose)" << endl;
    8081    gLog << "   --print-seq               Print Sequence information" << endl;
    8182    gLog << "   --print-files             Print Files taken from Sequence" << endl;
     
    174175    const Bool_t  kMovie      = arg.HasOnlyAndRemove("--movie");
    175176    const Bool_t  kDebugMem   = arg.HasOnlyAndRemove("--debug-mem");
     177    const Bool_t  kNullOut    = arg.HasOnlyAndRemove("--null");
    176178//          Bool_t  kMoon       = arg.HasOnlyAndRemove("--moon");
    177179    Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0;
     
    619621        job4.SetPathOut(kOutpathY);
    620622        job4.SetMovieMode(kMovie);
     623        job4.SetNullOut(kNullOut);
    621624        if (!seq.IsMonteCarlo())
    622625            job4.SetExtractor(job2.GetExtractor());
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r8898 r8902  
    917917    if (fSequence.IsMonteCarlo())
    918918    {
    919         if (!fIsMovieMode)
     919        if (!fIsMovieMode && !IsNullOut())
    920920            tlist.AddToList(&writemc);
    921921        tlist.AddToList(&contmc);
     
    929929    //  tlist.AddToList(&pcalc, "Drive");
    930930
    931     if (!fIsMovieMode)
     931    if (!fIsMovieMode && !IsNullOut())
    932932        tlist.AddToList(&write);
    933933
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r8790 r8902  
    469469        tlist.AddToList(&filldt,  "CC");
    470470    }
    471     tlist.AddToList(&write);
     471    if (!IsNullOut())
     472        tlist.AddToList(&write);
    472473
    473474    // Create and setup the eventloop
  • trunk/MagicSoft/Mars/mjobs/MJob.h

    r8644 r8902  
    3333    Bool_t    fOverwrite;     // Allow overwriting output files
    3434    Int_t     fMaxEvents;     // Maximum number of events
     35
     36    Bool_t    fNullOut;       // Suppress output files
    3537
    3638    // FIXME: Split into MJobSequence and MJobDataSet
     
    7476    void   SetSequence(const MSequence &seq) { fSequence = seq; }
    7577
     78    void   SetNullOut(Bool_t b=kTRUE) { fNullOut=b; }
     79
    7680    // Getter
    7781    TString GetPathOut() const  { return fPathOut; }
     
    7983
    8084    Bool_t HasWritePermission(TString fname) const;
     85
     86    Bool_t HasNullOut() const { return fNullOut; }
    8187
    8288    // Others
  • trunk/MagicSoft/Mars/star.cc

    r8741 r8902  
    6868    gLog << "   --out=path                Path to write the all results to [def=local path]" << endl;
    6969    gLog << "                             (overwrites --outc and --outy)" << endl;
     70    gLog << "   --null                    Suppress output of I-files (for test purpose)" << endl;
    7071    gLog << "   --no-muons                Switch off Muon analysis (for fast tests)" << endl;
    7172    gLog << "   --print-seq               Print Sequence information" << endl;
     
    121122    const Bool_t  kPrintFound = arg.HasOnlyAndRemove("--print-found");
    122123    const Bool_t  kDebugMem   = arg.HasOnlyAndRemove("--debug-mem");
     124    const Bool_t  kNullOut    = arg.HasOnlyAndRemove("--null");
    123125    Int_t  kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0;
    124126    kDebugEnv = arg.GetIntAndRemove("--debug-env=", kDebugEnv);
     
    244246        job.SetOverwrite(kOverwrite);
    245247        job.SetPathOut(kOutpath);
     248        job.SetNullOut(kNullOut);
    246249        // job.SetPathIn(kInpath); // not yet needed
    247250        if (kNoMuons)
Note: See TracChangeset for help on using the changeset viewer.