Changeset 2447
- Timestamp:
- 10/31/03 15:38:02 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2446 r2447 1 1 -*-*- 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 2 11 2003/10/30: Antonio Stamerra 3 12 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 12 22 13 23 -
trunk/MagicSoft/Mars/mars.cc
r2421 r2447 1 1 #include <TROOT.h> 2 #include <T GApplication.h>2 #include <TApplication.h> 3 3 4 4 #include "MAGIC.h" … … 59 59 StartUpMessage(); 60 60 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()) 63 70 gROOT->SetBatch(kFALSE); 71 */ 64 72 65 73 //
Note:
See TracChangeset
for help on using the changeset viewer.