Changeset 2315 for trunk/MagicSoft/Mars
- Timestamp:
- 08/22/03 13:41:26 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CT1Analysis.C
r2309 r2315 77 77 78 78 MBinning *binth = new MBinning("BinningTheta"); 79 Double_t yedge[9] = 80 {0.0, 17.5, 23.5, 29.5, 35.5, 42., 50., 60., 70.}; 79 //Double_t yedge[9] = 80 // {0.0, 17.5, 23.5, 29.5, 35.5, 42., 50., 60., 70.}; 81 // this is Daniel's binning in theta 82 Double_t yedge[8] = 83 {9.41, 16.22, 22.68, 28.64, 34.03, 38.84, 43.08, 44.99}; 81 84 //TArrayD yed(9,yedge); 82 85 TArrayD yed; 83 yed.Set( 9,yedge);86 yed.Set(8,yedge); 84 87 binth->SetEdges(yed); 85 88 plist->AddToList(binth); … … 232 235 // - update the input files with the hadroness (ON1.root or MC1.root) 233 236 234 Bool_t JobB_SC_UP = k TRUE;237 Bool_t JobB_SC_UP = kFALSE; 235 238 Bool_t RMatrix = kFALSE; // read matrices from file 236 239 Bool_t WParSC = kFALSE; // do optimization and write supercuts … … 296 299 // - write root file for ON data after final cuts 297 300 298 Bool_t JobF_XX = k FALSE;299 Bool_t WFX = k FALSE; // write out root file ?301 Bool_t JobF_XX = kTRUE; 302 Bool_t WFX = kTRUE; // write out root file ? 300 303 301 304 … … 3275 3278 3276 3279 gLog << "" << endl; 3277 gLog << "Macro CT1Analysis : JobF_XX, W XX = "3280 gLog << "Macro CT1Analysis : JobF_XX, WFX = " 3278 3281 << JobF_XX << ", " << WFX << endl; 3279 3282 … … 3536 3539 //....................................................................... 3537 3540 3538 if (WFX) 3539 { 3540 MWriteRootFile &write = *(new MWriteRootFile(filenameDataout)); 3541 //if (WFX) 3542 //{ 3543 gLog << "CT1Analysis.C : write root file '" << filenameDataout 3544 << "'" << endl; 3545 3546 //MWriteRootFile &write = *(new MWriteRootFile(filenameDataout)); 3547 MWriteRootFile write(filenameDataout, "RECREATE"); 3541 3548 3542 3549 write.AddContainer("MRawRunHeader", "RunHeaders"); … … 3556 3563 3557 3564 write.AddContainer("MEnergyEst", "Events"); 3558 }3565 //} 3559 3566 3560 3567 //----------------------------------------------------------------- … … 3717 3724 pliston.FindObject("MHStarMap")->DrawClone(); 3718 3725 3719 DeleteBinnings(&pliston);3726 //DeleteBinnings(&pliston); 3720 3727 3721 3728 … … 3777 3784 //rwagner (ON/OFF/MC), MJDmin, MJDmax to this file 3778 3785 3779 outfile.Close();3786 //outfile.Close(); 3780 3787 3781 3788 gLog << "=======================================================" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.