Changeset 463 for trunk/MagicSoft
- Timestamp:
- 01/11/01 12:54:21 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r458 r463 1 1 -*-*- END -*-*- 2 2001/01/11: Harald Kornmayer 3 4 * ./: 5 readraw.c, Makefile, Makefile.rules, LinkDef.h, MParList.cc, MReadTree.cc, 6 MReadTree.h, mbase/Makefile, mraw/Makefile 7 - small changes in this files. Not really critical. 8 9 mars.cc 10 - added the main file for the gui 11 12 mgui/ 13 GuiIncl.h, MGMarsMain.cc, GuiLinkDef.h, MGMarsMain.h, MGDataCheckMain.cc, 14 Makefile, MGDataCheckMain.h 15 - added the subdir mgui and this files 16 17 mdatacheck/ 18 DataCheckIncl.h, DataCheckLinkDef.h, MHistosAdc.cc, MHistosAdc.h, 19 MDumpEvtHeader.cc, MDumpEvtHeader.h, MShowSpect.cc, MShowSpect.h, 20 MFillAdcSpect.cc, MFillAdcSpect.h, MViewAdcSpectra.cc, MViewAdcSpectra.h, 21 MGDisplayAdc.cc, MGDisplayAdc.h, Makefile 22 - added the subdir mdatacheck and this files 23 2 24 2000/12/28: Thomas Bretz 3 25 -
trunk/MagicSoft/Mars/LinkDef.h
r454 r463 6 6 7 7 #endif 8 9 -
trunk/MagicSoft/Mars/Makefile
r454 r463 22 22 # @code 23 23 24 PROGRAM1 = merpp 25 PROGRAM2 = readraw 24 PROGRAMS = merpp readraw mars 26 25 SOLIB = mars.so 27 26 … … 29 28 # connect the include files defined in the config.mk file 30 29 # 31 INCLUDES = -I. -Imbase -Imraw 30 # WARNING: the result (whether the linkage works or not) depends on the 31 # order of the libraries 32 # 33 # 34 INCLUDES = -I. -Imgui -Imbase -Imraw -Imdatacheck 32 35 33 36 # … … 35 38 # 36 39 37 MARS_LIB = -Llib -lm base -lmraw38 MARS_LIBB = libmbase.a libm raw.a40 MARS_LIB = -Llib -lmgui -lmdatacheck -lmraw -lmbase 41 MARS_LIBB = libmbase.a libmgui.a libmraw.a libmdatacheck.a 39 42 40 43 41 44 #------------------------------------------------------------------------------ 42 45 43 #.SILENT: 44 45 .SUFFIXES: .c .cc .cxx .h .hxx .o 46 .SUFFIXES: .c .cc .h .o 46 47 47 48 … … 51 52 HEADERS = $(SRCFILES:.cc=.h) 52 53 OBJS = $(SRCFILES:.cc=.o) 53 OBJS1 = merpp.o54 OBJS2 = readraw.o55 54 56 55 ############################################################ 57 56 58 all: rmlib $(PROGRAM 1) $(PROGRAM2) $(SOLIB)57 all: rmlib $(PROGRAMS) $(SOLIB) 59 58 60 $(PROGRAM1): $(MARS_LIBB) $(OBJS1) $(OBJS) MCint.o 61 @echo " Linking $(PROGRAM1) ..." 62 $(CXX) $(CXXFLAGS) $(OBJS1) $(OBJS) $(MARS_LIB) MCint.o $(ROOTLIBS) $(ROOTGLIBS) -o $@ 63 64 $(PROGRAM2): $(MARS_LIBB) $(OBJS2) $(OBJS) MCint.o 65 @echo " Linking $(PROGRAM2) ..." 66 $(CXX) $(CXXFLAGS) $(OBJS2) $(OBJS) $(MARS_LIB) MCint.o $(ROOTLIBS) $(ROOTGLIBS) -o $@ 67 59 # Use $(CXX) -v ... for a more verbose output 60 $(PROGRAMS): $(MARS_LIBB) $(PROGRAMS:=.o) $(OBJS) MCint.o 61 @echo " Linking $@ ..." 62 $(CXX) $(CXXFLAGS) $@.o $(OBJS) $(MARS_LIB) MCint.o $(ROOTGLIBS) -o $@ 63 68 64 $(SOLIB): $(MARS_LIBB) $(OBJS) MCint.o 69 65 @echo " Linking $(SOLIB) ..." … … 79 75 (cd mraw; make; cd ..; mv mraw/libmraw.a lib) 80 76 81 libmocttest.a: 82 @echo " Creating libmocttest.a:" 83 (cd mocttest; make; cd .., mv mocttest/libmocttest.a lib) 77 libmgui.a: 78 @echo " Creating libmgui.a:" 79 (cd mgui; make; cd ..; mv mgui/libmgui.a lib) 80 81 libmdatacheck.a: 82 @echo " Creating libmdatacheck.a:" 83 (cd mdatacheck; make; cd ..; mv mdatacheck/libmdatacheck.a lib) 84 84 85 85 dox: -
trunk/MagicSoft/Mars/Makefile.conf.osf1
r454 r463 14 14 # 15 15 16 INCLUDE_ROOT = $ {ROOTSYS}/include16 INCLUDE_ROOT = $(ROOTSYS)/include 17 17 INCLUDE_CPLUS = /usr/include/cxx 18 INCLUDE_MBASE = ./mbase19 18 20 19 # -
trunk/MagicSoft/Mars/mbase/MParList.cc
r458 r463 54 54 // check if the object (you want to add) exists 55 55 // 56 56 57 if (!obj) return kTRUE; 57 58 … … 97 98 void MParList::Print(Option_t *t) 98 99 { 99 // 100 // print some information about the current status of MParList 101 // 102 cout << "ParList: " << this->GetName() << " <" << this->GetTitle() << ">" << endl; 103 cout << endl; 100 // 101 // print some information about the current status of MParList 102 // 103 cout << "ParList: " << this->GetName() << " <" << this->GetTitle() << ">" << endl; 104 cout << endl; 105 104 106 } 105 107 -
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r458 r463 142 142 // get entry 143 143 // 144 fTree->GetEntry(fNumEntry/*++*/); 144 fTree->GetEntry(fNumEntry ); 145 146 fNumEntry ++ ; 147 145 148 return kTRUE; 146 149 } -
trunk/MagicSoft/Mars/mbase/MReadTree.h
r454 r463 15 15 TTree *fTree; // Pointer to tree 16 16 17 UInt_t fNumEntry; // N amber of actual entry17 UInt_t fNumEntry; // Number of actual entry 18 18 UInt_t fNumEntries; // Number of Events in Tree 19 19 … … 28 28 Bool_t PostProcess(); 29 29 30 // Bool_t GetEvent(Int_t num ) ; 31 30 32 Bool_t DecEventNum(UInt_t dec=1); // decrease number of event (position in tree) 31 33 Bool_t IncEventNum(UInt_t inc=1); // increase number of event (position in tree) -
trunk/MagicSoft/Mars/mbase/Makefile
r454 r463 78 78 $(LIB): $(OBJS) BaseCint.o 79 79 @echo " - Building Library $(LIB) ... " 80 @$(AR) $(LIB) *.o80 $(AR) $(LIB) *.o 81 81 82 82 BaseCint.cc: $(HEADERS) … … 84 84 @echo " - Generating dictionary BaseCint.cc ..." 85 85 86 @$(ROOTSYS)/bin/rootcint -f BaseCint.cc \86 $(ROOTSYS)/bin/rootcint -f BaseCint.cc \ 87 87 -c $(INCLUDES) $(HEADERS) BaseIncl.h BaseLinkDef.h 88 88 -
trunk/MagicSoft/Mars/mraw/Makefile
r454 r463 77 77 $(LIB): $(OBJS) RawCint.o 78 78 @echo " - Building Library $(LIB) ... " 79 @$(AR) $(LIB) *.o79 $(AR) $(LIB) *.o 80 80 81 81 RawCint.cc: $(HEADERS) … … 83 83 @echo " - Generating dictionary RawCint.cc ..." 84 84 85 @$(ROOTSYS)/bin/rootcint -f RawCint.cc \85 $(ROOTSYS)/bin/rootcint -f RawCint.cc \ 86 86 -c $(INCLUDES) $(HEADERS) RawIncl.h RawLinkDef.h 87 87 -
trunk/MagicSoft/Mars/readraw.cc
r456 r463 17 17 #include "MRawCrateArray.h" 18 18 #include "MInputStreamID.h" 19 20 #include "MGMarsMain.h" 19 21 20 22 ///////////////////////////////////////////////////////////////////////////// … … 66 68 // open the file 67 69 // 68 TFile input( "delme.root", "READ");70 TFile input(argv[1], "READ"); 69 71 70 72 //
Note:
See TracChangeset
for help on using the changeset viewer.