Changeset 2167 for trunk/MagicSoft/Mars
- Timestamp:
- 06/09/03 07:41:40 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 added
- 4 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2164 r2167 1 1 -*-*- END OF LINE -*-*- 2 3 4 2003/06/09: Wolfgang Wittek 5 6 * macros/CT1Analysis.C 7 - replace MPadSchweizer by MCT1PadSchweizer 8 9 * macros/ONOFFCT1Analysis.C 10 - current version of the macro for the analysis using ON, OFF and MC data 11 12 * manalysis/MPadSchweizer.[h,cc] 13 MPadONOFF.[h,cc] 14 - delete 15 16 * manalysis/MCT1PadSchweizer.[h,cc] 17 MCT1PadONOFF.[h,cc] 18 - add 19 20 * manalysis/Makefile 21 AnalysisLinkdef.h 22 - replace MPadSchweizer and MPadONOFF 23 by MCT1PadSchweizer and MCT1PadONOFF 24 25 2 26 3 27 2003/06/06: Robert Wagner -
trunk/MagicSoft/Mars/macros/CT1Analysis.C
r2145 r2167 633 633 // fPadFlag = 2 get Sigma from fHSigmaPixTheta 634 634 635 M PadSchweizer padthomas("MPadSchweizer","Task for the padding (Schweizer)");635 MCT1PadSchweizer padthomas("MCT1PadSchweizer","Task for the padding (Schweizer)"); 636 636 padthomas.SetHistograms(fHSigmaTheta, fHSigmaPixTheta, fHDiffPixTheta, 637 637 fHIdBlindPixels, fHNBlindPixels); -
trunk/MagicSoft/Mars/macros/ONOFFCT1Analysis.C
r2152 r2167 282 282 //-------------------------------------------------- 283 283 // type of data to be padded 284 //TString typeInput = "ON";285 TString typeInput = "OFF";284 TString typeInput = "ON"; 285 //TString typeInput = "OFF"; 286 286 //TString typeInput = "MC"; 287 287 gLog << "typeInput = " << typeInput << endl; … … 312 312 // and merge these histograms 313 313 314 M PadONOFF pad;315 pad.SetName("M PadONOFF");314 MCT1PadONOFF pad; 315 pad.SetName("MCT1PadONOFF"); 316 316 pad.SetPadFlag(1); 317 317 pad.SetDataType(typeInput); … … 334 334 MCT1ReadPreProc readON(fileON); 335 335 336 MFCT1SelBasic selthetaon; 337 selthetaon.SetCuts(-100.0, 29.5, 35.5); 338 MContinue contthetaon(&selthetaon); 339 336 340 MBlindPixelCalc blindon; 337 341 blindon.SetUseBlindPixels(); … … 361 365 362 366 tliston.AddToList(&readON); 367 //tliston.AddToList(&contthetaon); 363 368 364 369 tliston.AddToList(&blindon); … … 375 380 376 381 Int_t maxeventson = -1; 377 //Int_t maxeventson = 1000;382 //Int_t maxeventson = 20000; 378 383 if ( !evtloopon.Eventloop(maxeventson) ) 379 384 return; … … 403 408 404 409 MCT1ReadPreProc readOFF(fileOFF); 410 411 MFCT1SelBasic selthetaoff; 412 selthetaoff.SetCuts(-100.0, 29.5, 35.5); 413 MContinue contthetaoff(&selthetaoff); 405 414 406 415 MBlindPixelCalc blindoff; … … 434 443 435 444 tlistoff.AddToList(&readOFF); 445 //tlistoff.AddToList(&contthetaoff); 436 446 437 447 tlistoff.AddToList(&blindoff); … … 448 458 449 459 Int_t maxeventsoff = -1; 450 //Int_t maxeventsoff = 1000;460 //Int_t maxeventsoff = 20000; 451 461 if ( !evtloopoff.Eventloop(maxeventsoff) ) 452 462 return; … … 471 481 gLog << "=====================================================" << endl; 472 482 473 gLog << "Merge the ON and OFF histograms and define the histograms for the padding :" << endl;474 483 pad.MergeHistograms(sigthon, sigthoff, 475 484 sigpixthon, sigpixthoff, … … 477 486 blindidthon, blindidthoff, 478 487 blindnthon, blindnthoff); 479 gLog << "The histograms for the padding have been defined" << endl;480 gLog << "=====================================================" << endl;481 482 483 488 484 489 if (WPad) … … 520 525 MCT1ReadPreProc read(filenamein); 521 526 527 MFCT1SelBasic seltheta; 528 seltheta.SetCuts(-100.0, 29.5, 35.5); 529 MContinue conttheta(&seltheta); 530 522 531 if (typeInput == "ON") 523 532 { … … 526 535 } 527 536 537 MBlindPixelCalc blindbeforepad; 538 blindbeforepad.SetUseBlindPixels(); 539 blindbeforepad.SetName("BlindBeforePadding"); 540 528 541 MBlindPixelCalc blind; 529 542 blind.SetUseBlindPixels(); 543 blind.SetName("BlindAfterPadding"); 530 544 531 545 MFCT1SelBasic selbasic; … … 609 623 610 624 tliston.AddToList(&read); 625 //tliston.AddToList(&conttheta); 626 627 tliston.AddToList(&blindbeforepad); 611 628 tliston.AddToList(&pad); 612 629 if (typeInput == "ON") … … 644 661 // evtloop.Write(); 645 662 646 //Int_t maxevents = -1;647 Int_t maxevents = 10000;663 Int_t maxevents = -1; 664 //Int_t maxevents = 1000; 648 665 if ( !evtloop.Eventloop(maxevents) ) 649 666 return; -
trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h
r2152 r2167 39 39 #pragma link C++ class MSigmabarParam+; 40 40 41 #pragma link C++ class MPadding+; 42 #pragma link C++ class MPadSchweizer+; 43 #pragma link C++ class MPadONOFF+; 41 #pragma link C++ class MCT1PadSchweizer+; 42 #pragma link C++ class MCT1PadONOFF+; 44 43 45 44 #pragma link C++ class MCT1PointingCorrCalc+; -
trunk/MagicSoft/Mars/manalysis/Makefile
r2152 r2167 54 54 MSigmabarParam.cc \ 55 55 MSigmabarCalc.cc \ 56 MPadding.cc \ 57 MPadSchweizer.cc \ 58 MPadONOFF.cc \ 56 MCT1PadSchweizer.cc \ 57 MCT1PadONOFF.cc \ 59 58 MCT1PointingCorrCalc.cc \ 60 59 MParameters.cc \
Note:
See TracChangeset
for help on using the changeset viewer.