Changeset 993 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/26/01 11:44:11 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MMcPedestalCopy.cc

    r857 r993  
    5353}
    5454
    55 Bool_t MMcPedestalCopy::PreProcess( MParList *pList )
     55Bool_t MMcPedestalCopy::PreProcess(MParList *pList)
    5656{
    5757    fMcPedestals = (MMcFadcHeader*)pList->FindObject("MMcFadcHeader");
  • trunk/MagicSoft/Mars/mmain/MMars.cc

    r959 r993  
    212212    //   Map the window, set up the layout, etc.
    213213    //
    214     SetWMSizeHints(400, 410, 400, 410, 10, 10);  // set the smallest and biggest size of the Main frame
     214    SetWMSizeHints(330, 410, 330, 410, 10, 10);  // set the smallest and biggest size of the Main frame
    215215
    216216    MapSubwindows();
  • trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc

    r991 r993  
    8585    fRadioButton3 = new TGRadioButton(group, "Use a number of trigger conditions (1..n).");
    8686
     87    fRadioButton1->SetState(kButtonDown);
     88
    8789    /*
    8890     FIXME: ~TGRadioButton fails with segfault in GetMainFrame
     
    188190#include "MMcCollectionAreaCalc.h"
    189191
     192#include "../mmc/MMcTrig.hxx" // FIXME: see FIXME below
     193
    190194Int_t MMonteCarlo::GetDim() const
    191195{
     196    return 0;
    192197    Int_t dim = atoi(fNumEntry->GetText());
    193198
     
    216221    MTaskList tlist;
    217222    plist.AddToList(&tlist);
     223
     224    //
     225    // FIXME: This line is needed that root finds the MMc-classes in the
     226    // dictionary when calling the constructor of MReadTree
     227    // I don't have any idea why...
     228    // Rem: This happens only in this GUI!
     229    //
     230    MMcTrig trig;
    218231
    219232    //
     
    309322
    310323    //
     324    // FIXME: This line is needed that root finds the MMc-classes in the
     325    // dictionary when calling the constructor of MReadTree
     326    // I don't have any idea why...
     327    // Rem: This happens only in this GUI!
     328    //
     329    MMcTrig trig;
     330
     331    //
    311332    // Setup out tasks:
    312333    //  - First we have to read the events
     
    390411
    391412    //
     413    // FIXME: This line is needed that root finds the MMc-classes in the
     414    // dictionary when calling the constructor of MReadTree
     415    // I don't have any idea why...
     416    // Rem: This happens only in this GUI!
     417    //
     418    MMcTrig trig;
     419
     420    //
    392421    // Setup the task list
    393422    // - You need the read and the MMcThresholdCalc tasks
     
    410439
    411440    //
    412     // Begin the loop (if the loop wasn't succesfull
     441    // Begin the loop (if the loop wasn't successfull
    413442    // don't try to draw the results
    414443    //
     
    422451    TObject *obj;
    423452    while ((obj=Next()))
    424         obj->DrawClone();
     453    obj->DrawClone();
    425454}
    426455
  • trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc

    r983 r993  
    3232
    3333#include "MMcEvt.hxx"
    34 #include "MMcTrig.hxx" 
     34#include "MMcTrig.hxx"
    3535
    3636#include "MHMcCollectionArea.h"
  • trunk/MagicSoft/Mars/mmontecarlo/MMcTriggerRateCalc.cc

    r988 r993  
    2828#include "MLog.h"
    2929#include "MLogManip.h"
     30
    3031#include "MParList.h"
    31 
    3232#include "MHMcRate.h"
     33
    3334#include "MMcEvt.hxx"
    34 #include "MMcTrig.hxx" 
     35#include "MMcTrig.hxx"
    3536
    3637ClassImp(MMcTriggerRateCalc);
  • trunk/MagicSoft/Mars/readraw.cc

    r991 r993  
    1717#include "MInputStreamID.h"
    1818
    19 #include "MMcEvt.hxx" 
    20 #include "MMcTrig.hxx" 
     19#include "MMcEvt.hxx"
     20#include "MMcTrig.hxx"
    2121
    2222/////////////////////////////////////////////////////////////////////////////
     
    2828int main(const int argc, const char **argv)
    2929{
    30     gLog << "==================================================" << endl ;
    31     gLog << "                   ReadRaw v0.1" << endl;
    32     gLog << "      MARS Merging and Preprocessing Program" << endl ;
    33     gLog << "            Compiled on <" << __DATE__ << ">" << endl ;
    34     gLog << "==================================================" << endl ;
     30    gLog << "==================================================" << endl;
     31    gLog << "                   ReadRaw v0.1                   " << endl;
     32    gLog << "       MARS - Read and print raw data file        " << endl;
     33    gLog << "            Compiled on <" << __DATE__ << ">" << endl;
     34    gLog << "==================================================" << endl;
    3535    gLog << endl;
    3636
Note: See TracChangeset for help on using the changeset viewer.