Changeset 949 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
09/26/01 14:56:03 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r948 r949  
    99     - fixed many, many memory leaks
    1010     - small changes in layout
    11      
     11
     12   * mmain/MAnalysis.[h,cc]:
     13     - added
     14
    1215   * macros/*:
    1316     - added Copyright notice
    1417     - added some small sanity checks
     18
     19   * macros/MagicHillas.C:
     20     - fixed '->' bug
     21     - changed MFillHStarMap to MFillH
     22     
     23   * mbase/MReadTree.cc, mraw/MRawFileWrite.cc:
     24     - removed an old debug statement
     25     
     26   * mmain/MMars.cc:
     27     - added new Analysis functionality
     28     
     29   * mmain/MainLinkDef.h:
     30     - addded MAnalysis
     31     
     32   * mmain/Makefile:
     33     - added MAnalysis.cc
     34     
     35   * mmc/McLinkDef.h:
     36     - removed nonsens define statement
     37     
    1538
    1639
  • trunk/MagicSoft/Mars/Makefile

    r944 r949  
    3535#  ----->>>   mars libraries
    3636#
    37 SUBDIRS = mgui        \
    38           mmain       \
     37SUBDIRS = mmain       \
     38          mgui        \
    3939          manalysis   \
     40          mbase       \
    4041          meventdisp  \
    4142          mdatacheck  \
     
    4344          mhist       \
    4445          mfilter     \
    45           mbase       \
    4646          mraw        \
    4747          mmc
  • trunk/MagicSoft/Mars/NEWS

    r935 r949  
    33
    44 *** Version 0.5
     5
     6   - Added new GUI functionality (Analysis)
    57
    68
  • trunk/MagicSoft/Mars/macros/MagicHillas.C

    r948 r949  
    3737
    3838    MTaskList tlist;
    39     plist->AddToList(&tlist);
     39    plist.AddToList(&tlist);
    4040
    4141    //
     
    4444    //
    4545    MGeomCamMagic geomcam;
    46     plist->AddToList(&geomcam);
     46    plist.AddToList(&geomcam);
    4747
    4848    MPedestalCam pedest;
    49     plist->AddToList(&pedest);
     49    plist.AddToList(&pedest);
    5050
    5151    //
     
    5555    //
    5656    MHHillas *hists = new MHHillas;
    57     plist->AddToList(hists);
     57    plist.AddToList(hists);
    5858
    5959    MHStarMap *smap = new MHStarMap;
    60     plist->AddToList(smap);
     60    plist.AddToList(smap);
    6161
    6262    //
     
    6767    //  3) clean the image                           MImgCleanStd
    6868    //  4) calculate hillas                          MHillasCalc
    69     //  5) fill the hillas into the histograms       MFillHHillas
     69    //  5) fill the hillas into the histograms       MFillH
    7070    //
    7171
     
    7676    //   CalEvents:  Calibration Events
    7777    //
    78     MReadTree read("Events", "data/cer000020.root");
     78    MReadTree read("Events", "data/octobertest.root");
    7979    // read.AddFile("data/cer000019.root");
    8080
     
    8383    MHillasCalc     hcalc;
    8484    MFillH          hfill("MHillas", "MHHillas");
    85     MFillHStarMap   sfill("MHillas", "MHStarMap");
    86     MWriteRootFile write("hillas.root");
     85    MFillH          sfill("MHillas", "MHStarMap");
     86
     87    MWriteRootFile  write("hillas.root");
    8788    write.AddContainer("MHillas");
    8889    write.AddContainer("MHHillas");
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r895 r949  
    228228    //
    229229    fChain->GetEntry(fNumEntry);
    230     cout << " " << fChain->LoadTree(fNumEntry) << " "<<flush;
    231230
    232231    fNumEntry++;
  • trunk/MagicSoft/Mars/mmain/MMars.cc

    r947 r949  
    3636
    3737#include "MEvtDisp.h"
     38#include "MAnalysis.h"
    3839#include "MDataCheck.h"
    3940#include "MMonteCarlo.h"
     
    5455  M_BUTTON_ANALYSE,
    5556  M_BUTTON_MONTECARLO
    56 } ;
     57};
    5758
    5859void MMars::CreateMenuBar()
     
    263264
    264265            case M_BUTTON_ANALYSE:
    265                 DisplWarning("Analysis not yet implemented!");
     266                new MAnalysis(this);
    266267                return kTRUE;
    267268
  • trunk/MagicSoft/Mars/mmain/MainLinkDef.h

    r938 r949  
    88
    99#pragma link C++ class MMars;
     10#pragma link C++ class MAnalysis;
    1011#pragma link C++ class MEvtDisp;
    1112#pragma link C++ class MDataCheck;
  • trunk/MagicSoft/Mars/mmain/Makefile

    r714 r949  
    2222#  connect the include files defined in the config.mk file
    2323#
    24 INCLUDES = -I. -I../mbase -I../manalysis -I../mdatacheck -I../meventdisp
     24INCLUDES = -I. -I../mbase -I../manalysis -I../mdatacheck -I../meventdisp \
     25           -I../mgui -I../mhist
    2526
    2627#------------------------------------------------------------------------------
     
    3132           MEvtDisp.cc \
    3233           MMars.cc \
     34           MAnalysis.cc \
    3335           MMonteCarlo.cc \
    3436           MBrowser.cc
  • trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc

    r860 r949  
    203203    //
    204204    const UShort_t type = fRawEvtHeader->GetTrigType();
    205     cout << "W" << flush;
     205
    206206    //
    207207    // writa data to the tree. the tree is choosen by the type of the event
Note: See TracChangeset for help on using the changeset viewer.