Ignore:
Timestamp:
08/22/03 13:41:26 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/CT1Analysis.C

    r2309 r2315  
    7777
    7878        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};
    8184        //TArrayD yed(9,yedge);
    8285        TArrayD yed;
    83         yed.Set(9,yedge);
     86        yed.Set(8,yedge);
    8487        binth->SetEdges(yed);
    8588        plist->AddToList(binth);
     
    232235    //  - update the input files with the hadroness (ON1.root or MC1.root)
    233236
    234     Bool_t JobB_SC_UP  = kTRUE;
     237    Bool_t JobB_SC_UP  = kFALSE;
    235238    Bool_t RMatrix     = kFALSE;  // read matrices from file 
    236239    Bool_t WParSC      = kFALSE;  // do optimization and write supercuts
     
    296299    //  - write root file for ON data after final cuts
    297300
    298     Bool_t JobF_XX  = kFALSE; 
    299     Bool_t WFX      = kFALSE;  // write out root file  ?
     301    Bool_t JobF_XX  = kTRUE; 
     302    Bool_t WFX      = kTRUE;  // write out root file  ?
    300303
    301304
     
    32753278
    32763279    gLog << "" << endl;
    3277     gLog << "Macro CT1Analysis : JobF_XX, WXX = "
     3280    gLog << "Macro CT1Analysis : JobF_XX, WFX = "
    32783281         << JobF_XX  << ",  " << WFX << endl;
    32793282
     
    35363539    //.......................................................................
    35373540
    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");
    35413548
    35423549      write.AddContainer("MRawRunHeader", "RunHeaders");
     
    35563563
    35573564      write.AddContainer("MEnergyEst",    "Events");
    3558     }
     3565      //}
    35593566
    35603567    //-----------------------------------------------------------------
     
    37173724    pliston.FindObject("MHStarMap")->DrawClone();
    37183725
    3719     DeleteBinnings(&pliston);
     3726    //DeleteBinnings(&pliston);
    37203727
    37213728
     
    37773784//rwagner (ON/OFF/MC), MJDmin, MJDmax to this file
    37783785
    3779     outfile.Close();
     3786    //outfile.Close();
    37803787
    37813788    gLog << "=======================================================" << endl;
Note: See TracChangeset for help on using the changeset viewer.