Changeset 585 for trunk


Ignore:
Timestamp:
01/22/01 16:41:33 (24 years ago)
Author:
harald
Message:
Adding some new code to start with the development of the usecase
"Event Display".
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Makefile

    r574 r585  
    3535#  ----->>>   mars libraries
    3636#
    37 SUBDIRS = mgui mdatacheck mbase mraw mmc
     37SUBDIRS = mgui meventdisp mdatacheck mbase mraw mmc
    3838
    3939LIBRARIES = $(SUBDIRS:=.a)
     
    9393        @cd mmc; make mrproper; cd ..
    9494        @echo "cd .."
     95        @echo "cd meventdisp"
     96        @cd meventdisp; make mrproper; cd ..
     97        @echo "cd .."
     98
    9599
    96100
  • trunk/MagicSoft/Mars/Makefile.depend

    r454 r585  
    88
    99# DO NOT DELETE
     10
     11MGFadcDisp.o: MGFadcDisp.h ../mbase/MAGIC.h /cern/root/include/TROOT.h
     12MGFadcDisp.o: /cern/root/include/TDirectory.h /cern/root/include/TNamed.h
     13MGFadcDisp.o: /cern/root/include/TObject.h /cern/root/include/Rtypes.h
     14MGFadcDisp.o: /cern/root/include/RConfig.h /cern/root/include/RVersion.h
     15MGFadcDisp.o: /usr/include/stdio.h /usr/include/features.h
     16MGFadcDisp.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
     17MGFadcDisp.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
     18MGFadcDisp.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
     19MGFadcDisp.o: /usr/include/bits/types.h /usr/include/libio.h
     20MGFadcDisp.o: /usr/include/_G_config.h /usr/include/bits/stdio_lim.h
     21MGFadcDisp.o: /cern/root/include/DllImport.h /cern/root/include/Varargs.h
     22MGFadcDisp.o: /cern/root/include/TStorage.h /cern/root/include/TBuffer.h
     23MGFadcDisp.o: /cern/root/include/Bytes.h /usr/include/string.h
     24MGFadcDisp.o: /cern/root/include/TList.h /cern/root/include/TSeqCollection.h
     25MGFadcDisp.o: /cern/root/include/TCollection.h /cern/root/include/TIterator.h
     26MGFadcDisp.o: /cern/root/include/TString.h /cern/root/include/TMath.h
     27MGFadcDisp.o: /cern/root/include/TRefCnt.h /cern/root/include/TDatime.h
     28MGFadcDisp.o: /cern/root/include/Htypes.h /cern/root/include/TGFrame.h
     29MGFadcDisp.o: /cern/root/include/TGWindow.h /cern/root/include/TGObject.h
     30MGFadcDisp.o: /cern/root/include/GuiTypes.h /cern/root/include/TGClient.h
     31MGFadcDisp.o: /cern/root/include/TVirtualX.h /cern/root/include/TAttLine.h
     32MGFadcDisp.o: /cern/root/include/Gtypes.h /cern/root/include/TAttFill.h
     33MGFadcDisp.o: /cern/root/include/TAttText.h /cern/root/include/TAttMarker.h
     34MGFadcDisp.o: /cern/root/include/TGDimension.h /cern/root/include/TGLayout.h
     35MGFadcDisp.o: /cern/root/include/TGString.h /cern/root/include/TGButton.h
     36MGFadcDisp.o: /cern/root/include/TGWidget.h
     37MGFadcDisp.o: /cern/root/include/WidgetMessageTypes.h
     38MGFadcDisp.o: /cern/root/include/TGLabel.h /cern/root/include/TGSplitter.h
     39MGFadcDisp.o: /cern/root/include/TGTab.h /cern/root/include/TGListBox.h
     40MGFadcDisp.o: /cern/root/include/TGCanvas.h /cern/root/include/TGSlider.h
     41MGFadcDisp.o: /cern/root/include/TRootEmbeddedCanvas.h
     42MGFadcDisp.o: /cern/root/include/TGTextEntry.h
     43MGFadcDisp.o: /cern/root/include/TGTextBuffer.h
  • trunk/MagicSoft/Mars/mbase/MReadTree.cc

    r463 r585  
    159159}
    160160
     161Bool_t MReadTree::GetEvent()
     162{
     163  // Get the Event with the current EventNumber fNumEntry
     164  //
     165  fTree->GetEntry(fNumEntry );
     166
     167  return kTRUE;
     168}
    161169Bool_t MReadTree::DecEventNum(UInt_t dec)
    162170{
  • trunk/MagicSoft/Mars/mbase/MReadTree.h

    r463 r585  
    2828    Bool_t PostProcess();
    2929
    30     //    Bool_t GetEvent(Int_t num ) ;
     30    Bool_t GetEvent() ;
    3131
    3232    Bool_t DecEventNum(UInt_t dec=1); // decrease number of event (position in tree)
  • trunk/MagicSoft/Mars/mraw/MRawEvtData.cc

    r456 r585  
    155155   
    156156    TGraph *graph = new TGraph(n, x, y);
     157    graph->SetMaximum (256) ;
     158    graph->SetMinimum (0) ;
     159   
    157160    graph->Draw("AC*");
    158161   
  • trunk/MagicSoft/Mars/readraw.cc

    r584 r585  
    1818#include "MInputStreamID.h"
    1919
    20 #include "MMcEvt.hxx"
     20#include "MMcEvt.hxx"
     21#include "MMcTrig.hxx"
    2122
    2223#include "MGMarsMain.h"
     
    6869
    6970    MMcEvt         *evtmc     = new MMcEvt() ;
     71    MMcTrig        *trigmc    = new MMcTrig() ;
    7072
    7173    //
     
    129131            evttree->GetBranch("MRawCrateArray")->SetAddress(&evtcrate);
    130132
     133        if ( ! strcmp(name, "MMcTrig") )
     134          evttree->GetBranch("MMcTrig")->SetAddress(&trigmc);
     135       
    131136        if (!strcmp(name, "MMcEvt"))
    132137            evttree->GetBranch("MMcEvt")->SetAddress(&evtmc);
    133138
    134         if (!strcmp(name, "MMcTrig"))
    135             cout << " Not able to connect to class MMcTrig yet." << endl;
    136139    }
    137140
Note: See TracChangeset for help on using the changeset viewer.