Changeset 2551 for trunk/MagicSoft


Ignore:
Timestamp:
11/21/03 17:51:54 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2547 r2551  
    1212   * status.cc:
    1313     - added display of average index of slice witg maximum value
     14     - implemented a scheme to exit the application and to
     15       leave it open when the loop is finished.
     16       
     17   * macros/status.C:
     18     - added maximum index histogram
     19     
     20   * mbase/MStatusDisplay.[h,cc]:
     21     - implemented kExitLoopOnExit and kExitLoopOnClose
     22     
     23   * mcamera/CameraLinkDef.h:
     24     - added missing MCameraAUX and MCameraLid
     25     
     26   * mhist/MHCamEvent.[h,cc]:
     27     - added fRms
     28     
     29   * mhist/MHCamera.cc:
     30     - added error when printing pixel contents
     31     
     32   * mhist/MHTriggerLvl0.[h,cc]:
     33     - use MHCamera::kProfile
     34     - renamed PrintOutLayers to PrintOutliers
     35     
     36   * mmain/MEventDisplay.cc:
     37     - made 'Mini-Canvas' working in all Tabs by catching kCM_TAB
    1438
    1539
  • trunk/MagicSoft/Mars/mhist/MFillH.cc

    r2516 r2551  
    470470// --------------------------------------------------------------------------
    471471//
     472// Call the ReInit function of the contained Histogram
     473//
     474Bool_t MFillH::ReInit(MParList *pList)
     475{
     476    return fH->ReInit(pList);
     477}
     478
     479// --------------------------------------------------------------------------
     480//
    472481// Fills the data from the parameter conatiner into the histogram container
    473482//
  • trunk/MagicSoft/Mars/mhist/MFillH.h

    r2416 r2551  
    5959    void SetWeight(const char *name) { fWeightName = name; }
    6060
    61     Int_t PreProcess(MParList *pList);
    62     Int_t Process();
    63     Int_t PostProcess();
     61    Int_t  PreProcess(MParList *pList);
     62    Bool_t ReInit(MParList *pList);
     63    Int_t  Process();
     64    Int_t  PostProcess();
    6465
    6566    TCanvas *GetCanvas() { return fCanvas; }
  • trunk/MagicSoft/Mars/mhist/MH.h

    r2525 r2551  
    3131    TString AddSerialNumber(const TString &str) const { return AddSerialNumber((const char*)str); }
    3232
    33 
    3433    Bool_t OverwritesDraw(TClass *cls=NULL) const;
    3534
    3635    virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; }
     36    virtual Bool_t ReInit(MParList *pList) { return kTRUE; }
    3737    virtual Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
    3838    virtual Bool_t Finalize() { return kTRUE; }
  • trunk/MagicSoft/Mars/status.cc

    r2549 r2551  
    149149    //
    150150    MStatusDisplay *d = new MStatusDisplay;
     151
     152    // From now on each 'Exit' means: Terminate the application
     153    d->SetBit(MStatusDisplay::kExitLoopOnExit);
    151154
    152155    // Set update time to 5s
     
    299302    tlist.PrintStatistics();
    300303
     304    if (!evtloop.GetDisplay())
     305        return 0;
     306
     307    // From now on each 'Close' means: Terminate the application
     308    d->SetBit(MStatusDisplay::kExitLoopOnClose);
     309
     310    // Wait until the user decides to exit the application
     311    app.Run(kFALSE);
    301312    return 0;
    302313}
Note: See TracChangeset for help on using the changeset viewer.