Changeset 9276 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/27/09 11:29:45 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/callisto.cc

    r9224 r9276  
    350350
    351351    TApplication app("callisto", &argc, argv);
    352     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     352    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    353353    {
    354354        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
  • trunk/MagicSoft/Mars/ceres.cc

    r9250 r9276  
     1#include <TClass.h>
    12#include <TSystem.h>
    23#include <TApplication.h>
     
    166167
    167168    TApplication app("ceres", &argc, argv);
    168     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     169    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    169170    {
    170171        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
  • trunk/MagicSoft/Mars/ganymed.cc

    r9141 r9276  
    260260
    261261    TApplication app("ganymed", &argc, argv);
    262     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     262    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    263263    {
    264264        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
  • trunk/MagicSoft/Mars/mbase/MParEnv.cc

    r9270 r9276  
    3636#include "MParEnv.h"
    3737
     38#include <TClass.h>
    3839#include <TInterpreter.h>
    3940
  • trunk/MagicSoft/Mars/mjobs/MJSimulation.cc

    r9275 r9276  
    3030#include "MJSimulation.h"
    3131
    32 //#include <TEnv.h>
    33 //#include <TFile.h>
     32#include <TEnv.h>
    3433
    3534// Core
     
    7271
    7372#include "MHn.h"
    74 #include "MHPSF.h"
    7573#include "MHCamEvent.h"
    7674#include "MHPhotonEvent.h"
     
    497495        //if (header.IsPointRun())
    498496        //    tasks.AddToList(&fillP);
    499         tasks.AddToList(&cont);
     497        tasks.AddToList(&cont1);
    500498        if (!header.IsPointRun())
    501499            tasks.AddToList(&fillh2);
  • trunk/MagicSoft/Mars/showplot.cc

    r9141 r9276  
    236236    //
    237237    TApplication *app = kRoot ? new TRint("showplot", &argc, argv) : new TApplication("showplot", &argc, argv);
    238     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     238    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    239239    {
    240240        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
  • trunk/MagicSoft/Mars/sponde.cc

    r9207 r9276  
    225225
    226226    TApplication app("sponde", &argc, argv);
    227     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     227    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    228228    {
    229229        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
  • trunk/MagicSoft/Mars/star.cc

    r9207 r9276  
    216216
    217217    TApplication app("star", &argc, argv);
    218     if (!gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)
     218    if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch))
    219219    {
    220220        gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
Note: See TracChangeset for help on using the changeset viewer.