Changeset 1018 for trunk/MagicSoft
- Timestamp:
- 10/31/01 13:47:45 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r959 r1018 20 20 # 21 21 22 PROGRAMS = merpp readrawmars22 PROGRAMS = readraw merpp mars 23 23 SOLIB = mars.so 24 24 CINT = M … … 93 93 94 94 mrproper: clean rmbak 95 @echo "Removing backup files in macros/" 95 96 @rm -f macros/*~ 97 @echo "Removing htmldoc-tree" 96 98 @rm -rf htmldoc 97 @echo "cd mbase" 98 @cd mbase; make mrproper; cd .. 99 @echo "cd .." 100 @echo "cd mraw" 101 @cd mraw; make mrproper; cd .. 102 @echo "cd .." 103 @echo "cd mhist" 104 @cd mhist; make mrproper; cd .. 105 @echo "cd .." 106 @echo "cd mfilter" 107 @cd mfilter; make mrproper; cd .. 108 @echo "cd .." 109 @echo "cd mgui" 110 @cd mgui; make mrproper; cd .. 111 @echo "cd .." 112 @echo "cd mdatacheck" 113 @cd mdatacheck; make mrproper; cd .. 114 @echo "cd .." 115 @echo "cd mmc" 116 @cd mmc; make mrproper; cd .. 117 @echo "cd .." 118 @echo "cd meventdisp" 119 @cd meventdisp; make mrproper; cd .. 120 @echo "cd .." 121 @echo "cd manalysis" 122 @cd manalysis; make mrproper; cd .. 123 @echo "cd .." 124 @echo "cd mmontecarlo" 125 @cd mmontecarlo; make mrproper; cd .. 126 @echo "cd .." 127 @echo "cd mmain" 128 @cd mmain; make mrproper; cd .. 129 @echo "cd .." 99 @echo "Doing Mr.Proper in mbase" 100 @cd mbase; (make mrproper > /dev/null); cd .. 101 @echo "Doing Mr.Proper in mraw" 102 @cd mraw; (make mrproper > /dev/null); cd .. 103 @echo "Doing Mr.Proper in mhist" 104 @cd mhist; (make mrproper > /dev/null); cd .. 105 @echo "Doing Mr.Proper in mfilter" 106 @cd mfilter; (make mrproper > /dev/null); cd .. 107 @echo "Doing Mr.Proper in mgui" 108 @cd mgui; (make mrproper > /dev/null); cd .. 109 @echo "Doing Mr.Proper in mdatacheck" 110 @cd mdatacheck; (make mrproper > /dev/null); cd .. 111 @echo "Doing Mr.Proper in mmc" 112 @cd mmc; (make mrproper > /dev/null); cd .. 113 @echo "Doing Mr.Proper in mevtdisp" 114 @cd meventdisp; (make mrproper > /dev/null); cd .. 115 @echo "Doing Mr.Proper in manalysis" 116 @cd manalysis; (make mrproper > /dev/null); cd .. 117 @echo "Doing Mr.Proper in mmontecarlo" 118 @cd mmontecarlo; (make mrproper > /dev/null); cd .. 119 @echo "Doing Mr.Proper in mmain" 120 @cd mmain; (make mrproper > /dev/null); cd .. 121 @echo "Done." 130 122 131 123 tar: mrproper -
trunk/MagicSoft/Mars/Makefile.conf.general
r716 r1018 12 12 # 13 13 14 DEFINES = -D__MARS__ -DROOTVER=\"$(ROOTVER)\" 14 DEFINES = -D__MARS__ -DROOTVER=\"$(ROOTVER)\" $(ARCHDEF) 15 15 16 16 CXXFLAGS = $(ROOTCFLAGS) $(INCLUDES) $(OPTIM) $(DEBUG) $(DEFINES) -
trunk/MagicSoft/Mars/Makefile.conf.linux
r931 r1018 12 12 # compilers 13 13 14 CC 15 CXX 16 F77 17 AR 14 CC = gcc 15 CXX = g++ 16 F77 = f77 17 AR = ar -rc 18 18 # 19 19 # ----->>> settings for compilation … … 22 22 OPTIM = -O2 -Wall -fno-rtti -fno-exceptions -fPIC -Wtraditional -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 23 23 DEBUG = -g 24 ARCHDEF = -D__LINUX__ 24 25 25 MARS_LIB 26 INCLUDES 26 MARS_LIB = -Llib $(SUBDIRS:%=-l%) 27 INCLUDES = -I. $(SUBDIRS:%=-I%) 27 28 28 29 # uncomment this for quiet compilation -
trunk/MagicSoft/Mars/Makefile.conf.linux-gnu
r927 r1018 12 12 # compilers 13 13 14 CC 15 CXX 16 F77 17 AR 14 CC = gcc 15 CXX = g++ 16 F77 = f77 17 AR = ar -rc 18 18 # 19 19 # ----->>> settings for compilation … … 22 22 OPTIM = -O2 -Wall -fno-rtti -fno-exceptions -fPIC -Wtraditional -Wpointer-arith -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 23 23 DEBUG = -g 24 ARCHDEF = -D__LINUX__ 24 25 25 MARS_LIB 26 INCLUDES 26 MARS_LIB = -Llib $(SUBDIRS:%=-l%) 27 INCLUDES = -I. $(SUBDIRS:%=-I%) 27 28 28 29 # uncomment this for quiet compilation -
trunk/MagicSoft/Mars/Makefile.conf.osf1
r856 r1018 14 14 # 15 15 16 CC = cc17 CXX = cxx18 F77 = f7719 AR = ar -c -r16 CC = cc 17 CXX = cxx 18 F77 = f77 19 AR = ar -c -r 20 20 21 21 # … … 23 23 # 24 24 25 OPTIM = -O2 -ieee -arch host 26 DEBUG = -g -w0 -msg_display_tag -msg_disable castqualtyp,undpreid,unrfunprm,extrasemi 25 OPTIM = -O2 -ieee -arch host 26 DEBUG = -g -w0 -msg_display_tag -msg_disable castqualtyp,undpreid,unrfunprm,extrasemi 27 ARCHDEF = -D__OSF__ 27 28 28 MARS_LIB 29 INCLUDES 29 MARS_LIB = -Llib $(SUBDIRS/*/-l&) 30 INCLUDES = -I. $(SUBDIRS/*/-I&) 30 31 31 32 # uncomment this for quiet compilation -
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r1003 r1018 95 95 { 96 96 *fLog << "Hillas Parameter:" << endl; 97 *fLog << " - Alpha = " << fabs(fAlpha) << endl; 98 *fLog << " - Width = " << fWidth << endl; 99 *fLog << " - Length = " << fLength << endl; 100 *fLog << " - Size = " << fSize << endl; 101 *fLog << " - Dist = " << fDist << endl; 102 } 103 97 *fLog << " - Alpha = " << fabs(fAlpha) << "°" << endl; 98 *fLog << " - Width = " << fWidth << " mm" << endl; 99 *fLog << " - Length = " << fLength << " mm" << endl; 100 *fLog << " - Size = " << fSize << " #CerPhot" << endl; 101 *fLog << " - Dist = " << fDist << " mm" << endl; 102 } 103 104 /* 104 105 // -------------------------------------------------------------------------- 105 106 // … … 113 114 fEllipse->Paint(); 114 115 } 116 */ 115 117 116 118 // -------------------------------------------------------------------------- … … 122 124 // (s. Clear() ) 123 125 // 124 void MHillas::Draw(Option_t * )126 void MHillas::Draw(Option_t *opt) 125 127 { 126 128 Clear(); … … 132 134 fEllipse->SetLineWidth(2); 133 135 fEllipse->Draw(); 136 //AppendPad(opt); 134 137 135 138 /* -
trunk/MagicSoft/Mars/manalysis/MHillas.h
r1014 r1018 16 16 Float_t fAlpha; // [deg] Angle between the length axis of the ellipse and the camera center 17 17 Float_t fTheta; // [rad] Angle between the x axis and the center of the ellipse 18 Float_t fWidth; // Width of the ellipse19 Float_t fLength; // Length of the ellipse20 Float_t fSize; // Size of the ellipse21 Float_t fDist; // Distance of the ellipse COM from the camera center18 Float_t fWidth; // [mm] Width of the ellipse 19 Float_t fLength; // [mm] Length of the ellipse 20 Float_t fSize; // [#CerPhot] Size of the ellipse 21 Float_t fDist; // [mm] Distance of the ellipse COM from the camera center 22 22 23 23 TEllipse *fEllipse; //! Graphical Object to Display Ellipse … … 33 33 void Print(Option_t *opt=NULL) const; 34 34 void Draw(Option_t *opt=NULL); 35 void Paint(Option_t *opt=NULL);35 //void Paint(Option_t *opt=NULL); 36 36 37 37 void Clear(Option_t *opt=NULL); -
trunk/MagicSoft/Mars/manalysis/Makefile
r803 r1018 29 29 30 30 SRCFILES = MCT1ReadAscii.cc \ 31 MPedestalPix.cc \ 31 32 MPedestalCam.cc \ 32 MPedestalPix.cc \33 33 MMcPedestalCopy.cc \ 34 34 MImgCleanStd.cc \ -
trunk/MagicSoft/Mars/mbase/BaseLinkDef.h
r1014 r1018 46 46 #pragma link C++ class MArrayS; 47 47 48 #pragma link C++ class MTime ;48 #pragma link C++ class MTime+; 49 49 50 #pragma link C++ class MHtml ;50 #pragma link C++ class MHtml+; 51 51 52 52 -
trunk/MagicSoft/Mars/mbase/MAGIC.h
r1014 r1018 37 37 //This will be fixed soon. It doesn't work with Alphas at the moment 38 38 class MLog; 39 #if ndef __CINT__39 #if !defined __CINT__ || defined __LINUX__ 40 40 extern MLog gLog; 41 41 #endif -
trunk/MagicSoft/Mars/mbase/MHtml.h
r1014 r1018 1 // @(#)root/html:$Name: not supported by cvs2svn $:$Id: MHtml.h,v 1. 2 2001-10-30 13:26:36tbretz Exp $1 // @(#)root/html:$Name: not supported by cvs2svn $:$Id: MHtml.h,v 1.3 2001-10-31 13:46:12 tbretz Exp $ 2 2 // Author: Nenad Buncic 18/10/95 3 3 … … 22 22 // // 23 23 //////////////////////////////////////////////////////////////////////////// 24 25 //#ifndef ROOT_TNamed26 //#include "TNamed.h"27 //#endif28 24 29 25 -
trunk/MagicSoft/Mars/mbase/Makefile
r991 r1018 31 31 .SUFFIXES: .c .cc .cxx .h .hxx .o 32 32 33 SRCFILES = MTask.cc \ 33 SRCFILES = MParContainer.cc \ 34 MParList.cc \ 35 MInputStreamID.cc \ 36 MTask.cc \ 34 37 MTaskList.cc \ 35 MParContainer.cc \36 MParList.cc \37 38 MFilter.cc \ 38 39 MFilterList.cc \ 39 MInputStreamID.cc \40 40 MEvtLoop.cc \ 41 41 MReadTree.cc \ -
trunk/MagicSoft/Mars/mdatacheck/DataCheckLinkDef.h
r1013 r1018 5 5 #pragma link off all functions; 6 6 7 //#pragma link C++ class MShowSpect;8 //#pragma link C++ class MViewAdcSpectra;9 7 #pragma link C++ class MDumpEvtHeader+; 10 8 -
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r981 r1018 142 142 else 143 143 fDrawingPad = gPad; 144 145 fDrawingPad->SetBorderMode(0); 144 146 145 147 // … … 185 187 txt->Draw(); 186 188 } 189 190 //fDrawingPad->SetEditable(kFALSE); 187 191 } 188 192 -
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r986 r1018 159 159 } 160 160 161 /* 161 162 // ------------------------------------------------------------------------ 162 163 // … … 166 167 void MHexagon::ExecuteEvent(Int_t event, Int_t px, Int_t py) 167 168 { 168 169 169 switch (event) 170 170 { … … 184 184 } 185 185 } 186 */ 186 187 187 188 // ------------------------------------------------------------------------ … … 245 246 void MHexagon::Print(Option_t *) const 246 247 { 247 cout << GetName() << ": X=" << fX << " Y=" << fY << "R=" << fD<< endl;248 249 cout << " Color=" << GetLineColor() << endl;250 cout << " Style=" << GetLineStyle() << endl;251 cout << " Width=" << GetLineWidth() << endl;248 cout << GetName() << ": x=" << fX << "mm y=" << fY << "mm r=" << fD << "mm" << endl; 249 250 cout << " Color=" << GetLineColor() << ","; 251 cout << " Style=" << GetLineStyle() << ","; 252 cout << " Width=" << GetLineWidth() << ","; 252 253 cout << " FillColor=" << GetFillColor() << endl; 253 254 } -
trunk/MagicSoft/Mars/mgui/MHexagon.h
r1015 r1018 49 49 virtual void DrawHexagon( Float_t x, Float_t y, Float_t d); 50 50 51 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);51 //virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py); 52 52 53 53 virtual void ls (Option_t *Option=""); 54 54 virtual void Paint(Option_t *Option=""); 55 55 virtual void PaintHexagon(Float_t x, Float_t y, Float_t d); 56 virtual void Print(Option_t *Option="") const; 56 virtual void Print(Option_t *Option="") const; // *MENU* 57 57 58 58 ClassDef(MHexagon, 0) // A hexagon for MAGIC -
trunk/MagicSoft/Mars/mgui/Makefile
r715 r1018 28 28 .SUFFIXES: .c .cc .cxx .h .hxx .o 29 29 30 SRCFILES = MCamDisplay.cc \ 30 SRCFILES = MHexagon.cc \ 31 MGeomPix.cc \ 32 MGeomCam.cc \ 33 MCamDisplay.cc \ 31 34 MGeomCamCT1.cc \ 32 MGeomCamMagic.cc \ 33 MGeomCam.cc \ 34 MGeomPix.cc \ 35 MHexagon.cc 35 MGeomCamMagic.cc 36 36 37 37 SRCS = $(SRCFILES) -
trunk/MagicSoft/Mars/mmain/Makefile
r959 r1018 29 29 .SUFFIXES: .c .cc .cxx .h .hxx .o 30 30 31 SRCFILES = MDataCheck.cc \ 31 SRCFILES = MBrowser.cc \ 32 MDataCheck.cc \ 32 33 MEvtDisp.cc \ 33 34 MMars.cc \ 34 35 MAnalysis.cc \ 35 36 MMonteCarlo.cc \ 36 MCameraDisplay.cc \ 37 MBrowser.cc 37 MCameraDisplay.cc 38 38 39 39 SRCS = $(SRCFILES) -
trunk/MagicSoft/Mars/mraw/MRawCrateArray.h
r765 r1018 1 #ifndef M RAWCRATEARRAY_H2 #define M RAWCRATEARRAY_H1 #ifndef MARS_MRawCrateArray 2 #define MARS_MRawCrateArray 3 3 /////////////////////////////////////////////////////////////////////// 4 4 // // … … 7 7 /////////////////////////////////////////////////////////////////////// 8 8 9 #ifndef M PARCONTAINER_H9 #ifndef MARS_MParContainer 10 10 #include "MParContainer.h" 11 11 #endif -
trunk/MagicSoft/Mars/mraw/MRawCrateData.h
r1004 r1018 1 #ifndef M RAWCRATEDATA_H2 #define M RAWCRATEDATA_H1 #ifndef MARS_MRawCrateData 2 #define MARS_MRawCrateData 3 3 4 #ifndef MA GIC_H4 #ifndef MARS_MAGIC 5 5 #include "MAGIC.h" 6 6 #endif -
trunk/MagicSoft/Mars/mraw/MRawEvtData.h
r718 r1018 1 #ifndef M RAWEVTDATA_H2 #define M RAWEVTDATA_H1 #ifndef MARS_MRawEvtData 2 #define MARS_MRawEvtData 3 3 4 #ifndef M PARCONTAINER_H4 #ifndef MARS_MParContainer 5 5 #include "MParContainer.h" 6 6 #endif -
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
r1004 r1018 1 #ifndef M RAWEVTHEADER_H2 #define M RAWEVTHEADER_H1 #ifndef MARS_MRawEvtHeader 2 #define MARS_MRawEvtHeader 3 3 4 #ifndef M PARCONTAINER_H4 #ifndef MARS_MParContainer 5 5 #include "MParContainer.h" 6 6 #endif -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r749 r1018 1 #ifndef M RAWEVTPIXELITER_H2 #define M RAWEVTPIXELITER_H1 #ifndef MARS_MRawEvtPixelIter 2 #define MARS_MRawEvtPixelIter 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 // … … 8 8 // 9 9 /////////////////////////////////////////////////////////////////////////////// 10 #ifndef MA GIC_H10 #ifndef MARS_MAGIC 11 11 #include "MAGIC.h" 12 12 #endif … … 14 14 class MRawEvtData; 15 15 16 class MRawEvtPixelIter 16 class MRawEvtPixelIter : public TObject 17 17 { 18 18 private: -
trunk/MagicSoft/Mars/mraw/MRawFileRead.h
r860 r1018 1 #ifndef M RAWFILEREAD_H2 #define M RAWFILEREAD_H1 #ifndef MARS_MRawFileRead 2 #define MARS_MRawFileRead 3 3 4 #ifndef M TASK_H4 #ifndef MARS_MTASK 5 5 #include "MTask.h" 6 6 #endif -
trunk/MagicSoft/Mars/mraw/MRawFileWrite.h
r1004 r1018 1 #ifndef M RAWFILEWRITE_H2 #define M RAWFILEWRITE_H1 #ifndef MARS_MRawFileWrite 2 #define MARS_MRawFileWrite 3 3 4 #ifndef M TASK_H4 #ifndef MARS_MTask 5 5 #include "MTask.h" 6 6 #endif … … 36 36 MRawFileWrite(const char *fname, 37 37 const Option_t *opt="UPDATE", 38 const char *ftitle="Un named",38 const char *ftitle="Untitled", 39 39 const Int_t comp=9, 40 40 const char *name=NULL, const char *title=NULL); -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r1004 r1018 1 #ifndef M RAWRUNHEADER_H2 #define M RAWRUNHEADER_H1 #ifndef MARS_MRawRunHeader 2 #define MARS_MRawRunHeader 3 3 /////////////////////////////////////////////////////////////////////// 4 4 // // … … 7 7 /////////////////////////////////////////////////////////////////////// 8 8 9 #ifndef M PARCONTAINER_H9 #ifndef MARS_MParContainer 10 10 #include "MParContainer.h" 11 11 #endif
Note:
See TracChangeset
for help on using the changeset viewer.