Changeset 2447 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/31/03 15:38:02 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2446 r2447  
    11                                                 -*-*- END OF LINE -*-*-
     2  2003/10/31: Thomas Bretz
     3
     4   * mars.cc:
     5     - change TGApllication back to TApplication (TGApplication doesn't
     6       load the TVirtualPad plugin by default) DISPLAY must be set
     7       manually if it is not set.
     8
     9
     10
    211  2003/10/30: Antonio Stamerra
    312
    4   * manalysis/MMcTriggerLvl2.[h,cc]
    5     - Added method CalcTriggerPattern to check which x-NN compact
    6       pattern the event satisfies. The variable member fTriggerPattern
    7       contains the number x (x=3,4,5,6,7).
    8     - Inline function GetTriggerPattern added.
    9 
    10   * manalysis/MMcTriggerLvl2Calc.cc
    11     - Added call to the MMcTriggerLvl2::CalcTriggerPattern in Process().
     13   * manalysis/MMcTriggerLvl2.[h,cc]
     14     - Added method CalcTriggerPattern to check which x-NN compact
     15       pattern the event satisfies. The variable member fTriggerPattern
     16       contains the number x (x=3,4,5,6,7).
     17     - Inline function GetTriggerPattern added.
     18
     19   * manalysis/MMcTriggerLvl2Calc.cc
     20     - Added call to the MMcTriggerLvl2::CalcTriggerPattern in Process().
     21
    1222
    1323
  • trunk/MagicSoft/Mars/mars.cc

    r2421 r2447  
    11#include <TROOT.h>
    2 #include <TGApplication.h>
     2#include <TApplication.h>
    33
    44#include "MAGIC.h"
     
    5959    StartUpMessage();
    6060
    61     TGApplication app("MarsApp", &argc, argv);
    62     if (gROOT->IsBatch())
     61    TApplication app("MarsApp", &argc, argv);
     62    if (gROOT->IsBatch() || !gClient)
     63    {
     64        gLog << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
     65        return 1;
     66    }
     67    /*
     68     TGApplication app("MarsApp", &argc, argv);
     69     if (gROOT->IsBatch())
    6370        gROOT->SetBatch(kFALSE);
     71     */
    6472
    6573    //
Note: See TracChangeset for help on using the changeset viewer.