Changeset 4758 for trunk/MagicSoft/Mars
- Timestamp:
- 08/27/04 15:03:54 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/JobsLinkDef.h
r4729 r4758 8 8 #pragma link C++ class MSequence+; 9 9 10 #pragma link C++ class MJStar+; 10 11 #pragma link C++ class MJPedestal+; 11 12 #pragma link C++ class MJCalibration+; -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r4752 r4758 48 48 #include "MEvtLoop.h" 49 49 50 #include "MJPedestal.h"51 50 #include "MStatusDisplay.h" 52 51 … … 58 57 #include "MCalibrationRelTimeCam.h" 59 58 60 #include "MRead MarsFile.h"59 #include "MReadReports.h" 61 60 #include "MGeomApply.h" 62 61 #include "MPedCalcFromLoGain.h" … … 193 192 // return kFALSE; 194 193 195 CheckEnv(); 194 if (fEnv) 195 CheckEnv(); 196 196 197 197 // -------------------------------------------------------------------------------- … … 266 266 plist.AddToList(&tlist); 267 267 268 MReadMarsFile read("Events"); 269 read.DisableAutoScheme(); 268 //MReadMarsFile read("Events"); 269 //read.DisableAutoScheme(); 270 MReadReports read; 271 read.AddTree("Events", "MTime.", kTRUE); 272 read.AddTree("Trigger"); 273 read.AddTree("Camera"); 274 read.AddTree("Drive"); 275 read.AddTree("CC"); 276 read.AddTree("Currents"); 270 277 read.AddFiles(iter); 271 278 //read.AddFiles(fnamein); … … 305 312 306 313 MWriteRootFile write(2, Form("%s{s/_D_/_Y_}", fPathOut.Data()), fOverwrite); 307 write.AddContainer("MCerPhotEvt", "Events"); 308 write.AddContainer("MPedPhotCam", "Events"); 309 write.AddContainer("MTime", "Events"); 310 write.AddContainer("MRawEvtHeader", "Events"); 311 write.AddContainer("MArrivalTime", "Events"); 312 write.AddContainer("MRawRunHeader", "RunHeaders"); 313 write.AddContainer("MBadPixelsCam", "RunHeaders"); 314 write.AddContainer("MGeomCam", "RunHeaders"); 315 314 // Run Header 315 write.AddContainer("MRawRunHeader", "RunHeaders"); 316 write.AddContainer("MBadPixelsCam", "RunHeaders"); 317 write.AddContainer("MGeomCam", "RunHeaders"); 318 // Monte Carlo Headers 319 write.AddContainer("MMcTrigHeader", "RunHeaders", kFALSE); 320 write.AddContainer("MMcConfigRunHeader", "RunHeaders", kFALSE); 321 write.AddContainer("MMcCorsikaRunHeader", "RunHeaders", kFALSE); 322 // Monte Carlo 323 write.AddContainer("MMcEvt", "Events", kFALSE); 324 write.AddContainer("MMcTrig", "Events", kFALSE); 325 // Data 326 write.AddContainer("MCerPhotEvt", "Events"); 327 write.AddContainer("MPedPhotCam", "Events"); 328 write.AddContainer("MTime", "Events"); 329 write.AddContainer("MRawEvtHeader", "Events"); 330 write.AddContainer("MArrivalTime", "Events"); 331 // Slow-Control: Current 332 write.AddContainer("MTimeCurrents", "Currents", kFALSE); 333 write.AddContainer("MCameraDC", "Currents", kFALSE); 334 write.AddContainer("MReportCurrents", "Currents", kFALSE); 335 // Slow-Control: Camera 336 write.AddContainer("MReportCamera", "Camera", kFALSE); 337 write.AddContainer("MTimeCamera", "Camera", kFALSE); 338 write.AddContainer("MCameraAUX", "Camera", kFALSE); 339 write.AddContainer("MCameraCalibration", "Camera", kFALSE); 340 write.AddContainer("MCameraCooling", "Camera", kFALSE); 341 write.AddContainer("MCameraHV", "Camera", kFALSE); 342 write.AddContainer("MCameraLV", "Camera", kFALSE); 343 write.AddContainer("MCameraLids", "Camera", kFALSE); 344 // Slow-Control: Trigger 345 write.AddContainer("MReportTrigger", "Trigger", kFALSE); 346 write.AddContainer("MTimeTrigger", "Trigger", kFALSE); 347 // Slow-Control: Drive 348 write.AddContainer("MReportDrive", "Drive", kFALSE); 349 write.AddContainer("MTimeDrive", "Drive", kFALSE); 350 // Slow-Control: Central Control 351 write.AddContainer("MReportCC", "CC", kFALSE); 352 write.AddContainer("MTimeCC", "CC", kFALSE); 353 354 // Now setup tasklist for events 355 MTaskList tlist2; 356 tlist2.AddToList(&apply); 357 tlist2.AddToList(&merge); 358 tlist2.AddToList(&pedlo); 359 tlist2.AddToList(&fill0); 360 if (extractor1) 361 tlist2.AddToList(&taskenv1); 362 if (extractor2) 363 tlist2.AddToList(&taskenv2); 364 tlist2.AddToList(&fill1); 365 tlist2.AddToList(&calib); 366 tlist2.AddToList(&caltm); 367 tlist2.AddToList(&fill2); 368 tlist2.AddToList(&bpcal); 369 tlist2.AddToList(&treat); 370 tlist2.AddToList(&fill3); 371 tlist2.AddToList(&fill4); 372 tlist2.AddToList(&fill5); 373 374 // Now setup main tasklist 316 375 tlist.AddToList(&read); 317 tlist.AddToList(&apply); 318 tlist.AddToList(&merge); 319 tlist.AddToList(&pedlo); 320 tlist.AddToList(&fill0); 321 if (extractor1) 322 tlist.AddToList(&taskenv1); 323 if (extractor2) 324 tlist.AddToList(&taskenv2); 325 tlist.AddToList(&fill1); 326 tlist.AddToList(&calib); 327 tlist.AddToList(&caltm); 328 tlist.AddToList(&fill2); 329 tlist.AddToList(&bpcal); 330 tlist.AddToList(&treat); 331 tlist.AddToList(&fill3); 332 tlist.AddToList(&fill4); 333 tlist.AddToList(&fill5); 376 tlist.AddToList(&tlist2, "Events"); 334 377 tlist.AddToList(&write); 335 378 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4755 r4758 1389 1389 // return kFALSE; 1390 1390 1391 CheckEnv(); 1391 if (fEnv) 1392 CheckEnv(); 1392 1393 1393 1394 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r4752 r4758 536 536 // return kFALSE; 537 537 538 CheckEnv(); 538 if (fEnv) 539 CheckEnv(); 539 540 540 541 // --------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.