Ignore:
Timestamp:
02/25/04 14:13:12 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3296 r3300  
    371371    outNameImage += "Hillas";
    372372    outNameImage += typeInput;
    373     outNameImage += "1b.root";
     373    outNameImage += "1e.root";
    374374    gLog << "padded data to be written onto : " << outNameImage << endl;
    375375
     
    766766      MWriteRootFile write(outNameImage);
    767767
    768       write.AddContainer("MRawRunHeader", "RunHeaders");
     768      //write.AddContainer("MRawRunHeader", "RunHeaders");
    769769      //write.AddContainer("MMcRunHeader",  "RunHeaders", kFALSE);
    770770      //write.AddContainer("MTime",         "Events");
     
    18201820    // file to be updated (either ON or MC)
    18211821
    1822     TString typeInput = "ON";
    1823     //TString typeInput = "OFF";
     1822    //TString typeInput = "ON";
     1823    TString typeInput = "OFF";
    18241824    //TString typeInput = "MC";
    18251825    gLog << "typeInput = " << typeInput << endl;
    18261826
     1827    if (typeInput == "ON")
     1828      TString file(onfile);
     1829    else if (typeInput == "OFF")
     1830      TString file(offfile);
     1831    else if (typeInput == "MC")
     1832      TString file(mcfile);
     1833
    18271834    // name of input root file
    18281835    TString filenameData = outPath;
    1829     filenameData += onfile;
     1836    filenameData += file;
    18301837    filenameData += "Hillas";
    18311838    filenameData += typeInput;
    1832     filenameData += "1b.root";
     1839    filenameData += "1c.root";
    18331840    gLog << "filenameData = " << filenameData << endl;
    18341841
    18351842    // name of output root file
    18361843    TString outNameImage = outPath;
    1837     outNameImage += onfile;
     1844    outNameImage += file;
    18381845    outNameImage += "Hillas";
    18391846    outNameImage += typeInput;
    1840     outNameImage += "2b.root";
     1847    outNameImage += "2c.root";
    18411848   
    18421849
Note: See TracChangeset for help on using the changeset viewer.