Changeset 9933


Ignore:
Timestamp:
Sep 22, 2010, 9:13:37 AM (10 years ago)
Author:
tbretz
Message:
Added RunHeaders-tree and fixed usage-info in readcorsika
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9932 r9933  
    2828   * msimcamera/MSimRandomPhotons.cc:
    2929     - improved output in case of failure
     30
     31   * readcorsika.cc:
     32     - added RunHeaders
     33     - fixed usage-info
     34
    3035
    3136
  • trunk/Mars/readcorsika.cc

    r9352 r9933  
    3838    gLog << all << endl;
    3939    gLog << "Sorry the usage is:" << endl;
    40     gLog << "   readcorsika [-h] [-?] [-vn] [-dec] [-a0] inputfile[.raw]" << endl << endl;
    41     gLog << "     input file:   Magic DAQ binary file." << endl;
     40    gLog << "   readcorsika [-h] [-?] [-vn] [-dec] [-a0] inputfile[.raw] [outputfile[.root]]" << endl << endl;
     41    gLog << "     inputfile:   corsika raw file" << endl;
     42    gLog << "     outputfile:  root file" << endl;
    4243    gLog << "   -ff                       Force reading of file even if problems occur" << endl;
    4344    gLog.Usage();
     
    155156
    156157    MWriteRootFile write(kNameout, kForce?"RECREATE":"NEW", "Corsika File", kCompLvl);
     158    write.AddContainer("MCorsikaRunHeader", "RunHeaders");
    157159    write.AddContainer("MCorsikaEvtHeader", "Events");
    158160    write.AddContainer("MPhotonEvent",      "Events");
Note: See TracChangeset for help on using the changeset viewer.