Changeset 9276 for trunk/MagicSoft
- Timestamp:
- 01/27/09 11:29:45 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/callisto.cc
r9224 r9276 350 350 351 351 TApplication app("callisto", &argc, argv); 352 if ( !gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)352 if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch)) 353 353 { 354 354 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl; -
trunk/MagicSoft/Mars/ceres.cc
r9250 r9276 1 #include <TClass.h> 1 2 #include <TSystem.h> 2 3 #include <TApplication.h> … … 166 167 167 168 TApplication app("ceres", &argc, argv); 168 if ( !gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)169 if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch)) 169 170 { 170 171 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl; -
trunk/MagicSoft/Mars/ganymed.cc
r9141 r9276 260 260 261 261 TApplication app("ganymed", &argc, argv); 262 if ( !gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)262 if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch)) 263 263 { 264 264 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl; -
trunk/MagicSoft/Mars/mbase/MParEnv.cc
r9270 r9276 36 36 #include "MParEnv.h" 37 37 38 #include <TClass.h> 38 39 #include <TInterpreter.h> 39 40 -
trunk/MagicSoft/Mars/mjobs/MJSimulation.cc
r9275 r9276 30 30 #include "MJSimulation.h" 31 31 32 //#include <TEnv.h> 33 //#include <TFile.h> 32 #include <TEnv.h> 34 33 35 34 // Core … … 72 71 73 72 #include "MHn.h" 74 #include "MHPSF.h"75 73 #include "MHCamEvent.h" 76 74 #include "MHPhotonEvent.h" … … 497 495 //if (header.IsPointRun()) 498 496 // tasks.AddToList(&fillP); 499 tasks.AddToList(&cont );497 tasks.AddToList(&cont1); 500 498 if (!header.IsPointRun()) 501 499 tasks.AddToList(&fillh2); -
trunk/MagicSoft/Mars/showplot.cc
r9141 r9276 236 236 // 237 237 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)) 239 239 { 240 240 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl; -
trunk/MagicSoft/Mars/sponde.cc
r9207 r9276 225 225 226 226 TApplication app("sponde", &argc, argv); 227 if ( !gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)227 if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch)) 228 228 { 229 229 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl; -
trunk/MagicSoft/Mars/star.cc
r9207 r9276 216 216 217 217 TApplication app("star", &argc, argv); 218 if ( !gROOT->IsBatch() && !gClient || gROOT->IsBatch() && !kBatch)218 if ((!gROOT->IsBatch() && !gClient) || (gROOT->IsBatch() && !kBatch)) 219 219 { 220 220 gLog << err << "Bombing... maybe your DISPLAY variable is not set correctly!" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.