Changeset 714 for trunk/MagicSoft


Ignore:
Timestamp:
03/30/01 16:16:03 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
16 added
10 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r711 r714  
    33 2000/03/30: Thomas Bretz
    44 
    5    * mdatacheck/MH*, mdatacheck/MFillH* moved to mhist
    6    
    7    * mraw/MrawEvtPixelIter: IsLoGain -> HasLoGain
     5   * mdatacheck/MH*, mdatacheck/MFillH*:
     6     - moved to mhist
     7   
     8   * mraw/MrawEvtPixelIter:
     9     - IsLoGain -> HasLoGain
     10   
     11   * mgui/MG*:
     12     - renamed
     13     - moved to mmain
     14     - move Browser functionality to MBrowser
     15 
     16   * mmain/, mhist:
     17     - new
    818 
    919 
  • trunk/MagicSoft/Mars/Makefile

    r713 r714  
    3636#
    3737SUBDIRS = mgui        \
     38          mmain       \
    3839          manalysis   \
    3940          meventdisp  \
     
    120121        @cd mmontecarlo; make mrproper; cd ..
    121122        @echo "cd .."
     123        @echo "cd mmain"
     124        @cd mmain; make mrproper; cd ..
     125        @echo "cd .."
    122126
    123127tar:    mrproper
  • trunk/MagicSoft/Mars/mars.cc

    r710 r714  
    11#include <TROOT.h>
    2 #include <TSystem.h>
    32#include <TApplication.h>
    4 #include <TVirtualX.h>
    5 #include <TGClient.h>   
    63
    7 #include "MGMarsMain.h"
     4#include "MMars.h"
    85
    96// **********************************************************************
     
    1815int main(int argc, char **argv )
    1916{
    20   // initialise ROOT
     17    //
     18    // initialise ROOT
     19    //
     20    TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software");
    2121
    22   TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software");
     22    TApplication app("MarsApp", &argc, argv);
    2323
    24   TApplication theApp("MarsApp", &argc, argv);
     24    //
     25    // start the main window
     26    //
     27    new MMars;
    2528
    26   // start the main window
    27  
    28   MGMarsMain *mainWin = new MGMarsMain(400, 650);
    29  
    30   theApp.Run();
     29    //
     30    // run the application
     31    //
     32    app.Run();
    3133
    32   return 0; 
     34    return 0;
    3335}
    3436 
  • trunk/MagicSoft/Mars/mgui/GuiIncl.h

    r669 r714  
    11#ifndef __CINT__
    22
    3 #include <TGButton.h>       // TGPictureButton
    4 #include <TGTab.h>          // TGTab
    5 #include <TGMenu.h>         // TGPopupMenu
    6 #include <TGMsgBox.h>       // TGMsgBox
    7 #include <TGListBox.h>      // TGListBox
    8 #include <TGListView.h>     // TGListBox
    9 #include <TGSplitter.h>     // TGHorizontal3DLine
    10 #include <TGFSContainer.h>  // TGFileContainer
    11 #include <TGLabel.h>        // TGLabel
    12 #include <TGTextEntry.h> 
    13 
    143#endif // __CINT__
  • trunk/MagicSoft/Mars/mgui/GuiLinkDef.h

    r695 r714  
    44#pragma link off all classes;
    55#pragma link off all functions;
    6 
    7 #pragma link C++ class MGMarsMain;
    8 #pragma link C++ class MGEventDispMain;
    9 #pragma link C++ class MGDataCheckMain;
    10 #pragma link C++ class MGMonteCarloMain;
    11 
    12 #pragma link C++ class MGPrototyp;
    136
    147#pragma link C++ class MHexagon;
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.h

    r698 r714  
    2020class TBox;
    2121class TText;
    22 class TClonesArray ;
     22class TClonesArray;
    2323
    24 class MCerPhotEvt  ;
     24class MCerPhotEvt;
    2525class MGeomCam;
    2626
     
    2828{
    2929 private:
    30   Bool_t         fAutoScale ;   //!  indicating the autoscale function
     30  Bool_t         fAutoScale;   //!  indicating the autoscale function
    3131 
    32   UInt_t         fNumPixels ;   //!
    33   TClonesArray  *fPixels   ;    //!
     32  UInt_t         fNumPixels;   //!
     33  TClonesArray  *fPixels ;    //!
    3434
    35   Float_t        fMinPhe ;      //!  The minimal number of Phe
    36   Float_t        fMaxPhe ;      //!  The maximum number of Phe
     35  Float_t        fMinPhe;      //!  The minimal number of Phe
     36  Float_t        fMaxPhe;      //!  The maximum number of Phe
    3737
    38   TClonesArray  *fLegend  ;     //!
    39   TClonesArray  *fLegText ;     //!
     38  TClonesArray  *fLegend;     //!
     39  TClonesArray  *fLegText;     //!
    4040
    4141  TBox *GetBox(Int_t i)   { return (TBox*) fLegend->At(i); }
     
    5151  MCamDisplay (MGeomCam *geom);
    5252
    53   ~MCamDisplay () ;
     53  ~MCamDisplay ();
    5454
    55   void Init() ;
     55  void Init();
    5656
    57   void Draw(Option_t *option = "" ) ;
     57  void Draw(Option_t *option = "" );
    5858
    59   void DrawPhotNum( MCerPhotEvt *event) ;
    60   void DrawPhotErr( MCerPhotEvt *event) ;
     59  void DrawPhotNum( MCerPhotEvt *event);
     60  void DrawPhotErr( MCerPhotEvt *event);
    6161
    62   void Reset() ;
     62  void Reset();
    6363
    6464  MHexagon &operator[](int i) { return *((MHexagon*)fPixels->At(i)); }
    6565
    66   Int_t GetColor( Float_t wert ) ;
     66  Int_t GetColor( Float_t wert );
    6767
    68   void UpdateLegend() 
     68  void UpdateLegend()
    6969
    7070  void SetAutoScale (Bool_t input = kTRUE )
    7171    {
    72       fAutoScale = input ;
     72      fAutoScale = input;
    7373    }
    7474
  • trunk/MagicSoft/Mars/mgui/Makefile

    r695 r714  
    3030SRCFILES = MCamDisplay.cc \
    3131           MCamNeighbor.cc \
    32            MGDataCheckMain.cc \
    33            MGEventDispMain.cc \
    34            MGMarsMain.cc \
    35            MGMonteCarloMain.cc \
    36            MGPrototyp.cc \
    3732           MGeomCamCT1.cc \
    3833           MGeomCamMagic.cc \
Note: See TracChangeset for help on using the changeset viewer.