- Timestamp:
- 01/27/09 14:01:48 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9277 r9278 74 74 * msimrelfector/MSimReflector.cc: 75 75 - added sanity check if reflector is valid 76 77 * datacenter/macros/insertdataset.C: 78 - added fPriority 79 80 * datacenter/macros/plotoptical.C: 81 - write a root-file as the other plot-macros do 82 83 * mreflector/MHReflector.cc: 84 - added some SetDirectory(NULL), although this class is a candidate 85 for removal 86 87 * mjobs/MJCut.cc, mjobs/MJCalibrateSignal.cc: 88 - make the CheckEnv fail if kFALSE is returned 76 89 77 90 -
trunk/MagicSoft/Mars/datacenter/macros/insertdataset.C
r8996 r9278 102 102 return 0; 103 103 104 vals = Form("fDataSetNumber='%s', fDataSetInserted=Now()", number.Data()); 104 vals = Form("fDataSetNumber='%s', fPriority='%s', fDataSetInserted=Now()", 105 number.Data(), number.Data()); 105 106 rc = serv.Insert("DataSetProcessStatus", vals); 106 107 -
trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C
r9120 r9278 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.1 0 2008-08-15 12:14:52 dornerExp $2 ! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.11 2009-01-27 13:56:15 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 191 191 plotalloptical(plot, source); 192 192 // Use this to create output plots automatically 193 //d->SaveAsRoot("plotoptical.root");193 d->SaveAsRoot("plotoptical.root"); 194 194 // d->SaveAsPS("plotoptical.ps"); 195 195 … … 222 222 plotalloptical(plot, source); 223 223 // Use this to create output plots automatically 224 // d->SaveAsRoot(plot+"plotoptical.root");224 d->SaveAsRoot("plotoptical.root"); 225 225 // d->SaveAsPS("plotoptical.ps"); 226 226 … … 254 254 255 255 // Use this to create output plots automatically 256 //d->SaveAsRoot("plotoptical.root");256 d->SaveAsRoot("plotoptical.root"); 257 257 // d->SaveAsPS("plotoptical.ps"); 258 258 -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r9230 r9278 244 244 } 245 245 246 // -------------------------------------------------------------------------------- 247 246 248 *fLog << inf; 247 249 fLog->Separator(GetDescriptor()); … … 250 252 251 253 252 //if (!CheckEnv()) 253 // return kFALSE; 254 255 CheckEnv(); 254 if (!CheckEnv()) 255 return kFALSE; 256 256 257 257 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r9067 r9278 555 555 return kFALSE; 556 556 557 CheckEnv(); 557 if (!CheckEnv()) 558 return kFALSE; 558 559 559 560 // -------------------------------------------------------------------------------- … … 576 577 else 577 578 *fLog << all << "No source position applied..." << endl; 579 580 // ADD A CHECK FOR THE SOURCE POSITION by COMPARISON WITH RA/DEC 578 581 579 582 MParList plist; -
trunk/MagicSoft/Mars/mreflector/MHReflector.cc
r9153 r9278 59 59 fTitle = title ? title : "Histogram for the reflected photons"; 60 60 61 fHistXY.SetDirectory(NULL);62 61 fHistXY.SetName("ReflXY"); 63 62 fHistXY.SetTitle("Histogram vs X/Y and Energy"); … … 65 64 fHistXY.SetYTitle("Y [\\circ]"); 66 65 fHistXY.SetZTitle("E [GeV]"); 66 fHistXY.SetDirectory(NULL); 67 67 fHistXY.Sumw2(); 68 68 69 fHistRad.SetDirectory(NULL);70 69 fHistRad.SetName("ReflRad"); 71 70 fHistRad.SetTitle("Histogram vs Radius and Energy"); … … 73 72 fHistRad.SetYTitle("R [\\circ]"); 74 73 fHistRad.SetZTitle("Cnts/deg^{2}"); 74 fHistRad.SetDirectory(NULL); 75 75 fHistRad.Sumw2(); 76 76 77 fHistSize.SetDirectory(NULL);78 77 fHistSize.SetName("ReflSize"); 79 78 fHistSize.SetTitle("Histogram vs Size and Energy"); … … 81 80 fHistSize.SetYTitle("N\\gamma"); 82 81 fHistSize.SetZTitle("Cnts"); 82 fHistSize.SetDirectory(NULL); 83 83 fHistSize.Sumw2(); 84 84 … … 111 111 return kFALSE; 112 112 } 113 113 114 MGeomCam *geom = (MGeomCam*)pList->FindObject("MGeomCam"); 114 115 if (!geom) -
trunk/MagicSoft/Mars/msimcamera/MSimTrigger.cc
r9274 r9278 302 302 if (triggers.GetEntriesFast()==0) 303 303 { 304 *fLog << all << rmlo << "/" << rmhi << " trigger out of valid range. No trigger raised." << endl; 304 if (rmlo>0 || rmhi>0) 305 *fLog << all << rmlo << "/" << rmhi << " trigger out of valid range. No trigger raised." << endl; 305 306 return kTRUE; 306 307 }
Note:
See TracChangeset
for help on using the changeset viewer.