- Timestamp:
- 03/30/01 16:16:03 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 16 added
- 10 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r711 r714 3 3 2000/03/30: Thomas Bretz 4 4 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 8 18 9 19 -
trunk/MagicSoft/Mars/Makefile
r713 r714 36 36 # 37 37 SUBDIRS = mgui \ 38 mmain \ 38 39 manalysis \ 39 40 meventdisp \ … … 120 121 @cd mmontecarlo; make mrproper; cd .. 121 122 @echo "cd .." 123 @echo "cd mmain" 124 @cd mmain; make mrproper; cd .. 125 @echo "cd .." 122 126 123 127 tar: mrproper -
trunk/MagicSoft/Mars/mars.cc
r710 r714 1 1 #include <TROOT.h> 2 #include <TSystem.h>3 2 #include <TApplication.h> 4 #include <TVirtualX.h>5 #include <TGClient.h>6 3 7 #include "M GMarsMain.h"4 #include "MMars.h" 8 5 9 6 // ********************************************************************** … … 18 15 int main(int argc, char **argv ) 19 16 { 20 // initialise ROOT 17 // 18 // initialise ROOT 19 // 20 TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software"); 21 21 22 TROOT simple("Mars", "MARS - MAGIC analysis and reconstruction software");22 TApplication app("MarsApp", &argc, argv); 23 23 24 TApplication theApp("MarsApp", &argc, argv); 24 // 25 // start the main window 26 // 27 new MMars; 25 28 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(); 31 33 32 return 0;34 return 0; 33 35 } 34 36 -
trunk/MagicSoft/Mars/mgui/GuiIncl.h
r669 r714 1 1 #ifndef __CINT__ 2 2 3 #include <TGButton.h> // TGPictureButton4 #include <TGTab.h> // TGTab5 #include <TGMenu.h> // TGPopupMenu6 #include <TGMsgBox.h> // TGMsgBox7 #include <TGListBox.h> // TGListBox8 #include <TGListView.h> // TGListBox9 #include <TGSplitter.h> // TGHorizontal3DLine10 #include <TGFSContainer.h> // TGFileContainer11 #include <TGLabel.h> // TGLabel12 #include <TGTextEntry.h>13 14 3 #endif // __CINT__ -
trunk/MagicSoft/Mars/mgui/GuiLinkDef.h
r695 r714 4 4 #pragma link off all classes; 5 5 #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;13 6 14 7 #pragma link C++ class MHexagon; -
trunk/MagicSoft/Mars/mgui/MCamDisplay.h
r698 r714 20 20 class TBox; 21 21 class TText; 22 class TClonesArray 22 class TClonesArray; 23 23 24 class MCerPhotEvt 24 class MCerPhotEvt; 25 25 class MGeomCam; 26 26 … … 28 28 { 29 29 private: 30 Bool_t fAutoScale 30 Bool_t fAutoScale; //! indicating the autoscale function 31 31 32 UInt_t fNumPixels 33 TClonesArray *fPixels 32 UInt_t fNumPixels; //! 33 TClonesArray *fPixels ; //! 34 34 35 Float_t fMinPhe 36 Float_t fMaxPhe 35 Float_t fMinPhe; //! The minimal number of Phe 36 Float_t fMaxPhe; //! The maximum number of Phe 37 37 38 TClonesArray *fLegend 39 TClonesArray *fLegText 38 TClonesArray *fLegend; //! 39 TClonesArray *fLegText; //! 40 40 41 41 TBox *GetBox(Int_t i) { return (TBox*) fLegend->At(i); } … … 51 51 MCamDisplay (MGeomCam *geom); 52 52 53 ~MCamDisplay () 53 ~MCamDisplay (); 54 54 55 void Init() 55 void Init(); 56 56 57 void Draw(Option_t *option = "" ) 57 void Draw(Option_t *option = "" ); 58 58 59 void DrawPhotNum( MCerPhotEvt *event) 60 void DrawPhotErr( MCerPhotEvt *event) 59 void DrawPhotNum( MCerPhotEvt *event); 60 void DrawPhotErr( MCerPhotEvt *event); 61 61 62 void Reset() 62 void Reset(); 63 63 64 64 MHexagon &operator[](int i) { return *((MHexagon*)fPixels->At(i)); } 65 65 66 Int_t GetColor( Float_t wert ) 66 Int_t GetColor( Float_t wert ); 67 67 68 void UpdateLegend() 68 void UpdateLegend(); 69 69 70 70 void SetAutoScale (Bool_t input = kTRUE ) 71 71 { 72 fAutoScale = input 72 fAutoScale = input; 73 73 } 74 74 -
trunk/MagicSoft/Mars/mgui/Makefile
r695 r714 30 30 SRCFILES = MCamDisplay.cc \ 31 31 MCamNeighbor.cc \ 32 MGDataCheckMain.cc \33 MGEventDispMain.cc \34 MGMarsMain.cc \35 MGMonteCarloMain.cc \36 MGPrototyp.cc \37 32 MGeomCamCT1.cc \ 38 33 MGeomCamMagic.cc \
Note:
See TracChangeset
for help on using the changeset viewer.