Ignore:
Timestamp:
08/31/07 14:11:36 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/ganymed.cc

    r8683 r8724  
    4343    gLog << " ganymed [options] dataset.txt|number" << endl << endl;
    4444    gLog << " Arguments:" << endl;
    45     gLog << "   dataset.txt:              ASCII file defining a collection of sequences" << endl;
     45    gLog << "   dataset.txt:              ASCII file defining a collection of datasets/sequences" << endl;
     46    gLog << "                             (for more details see MSequence/MDataSet)" << endl;
    4647    gLog << "   number:                   The dataset number (using file in the datacenter)" << endl;
    4748    gLog << "                             For more details see MDataSet." << endl;
     
    6364    gLog << "   -f                        Force overwrite of existing files" << endl;
    6465    gLog << "   --n=number                Analysis number (required if not in dataset file)" << endl;
     66    gLog << "   --dataset=number          Choose a dataset from a collection of datasets in your file" << endl;
     67    gLog << "                             (for more details see MDataSet)" << endl;
    6568    gLog << "   --out=path                Path to write all output to [def=local path]" << endl;
    6669    gLog << "   --ind=path                Path to data/star files [default=datacenter path]" << endl;
     
    7174    gLog << "   --skip-res                Disable writing of result events" << endl;
    7275    gLog << "   --write-only              Only write output files. No histograms filled." << endl;
    73     gLog << "   --print-ds                Print Dataset information" << endl;
    74     gLog << "   --print-files             Print Files taken from Sequences ('+' found, '-' missing)" << endl;
     76    gLog << "   --print-ds                Print the information interpreted from the dataset file" << endl;
     77    gLog << "   --print-files             Print files taken from sequences ('+' found, '-' missing)" << endl;
    7578//    gLog << "   --full-display            Show as many plots as possible" << endl;
    7679    gLog << "   --config=ganymed.rc       Resource file [default=ganymed.rc]" << endl;
     
    133136
    134137    const Int_t   kNumAnalysis   = arg.GetIntAndRemove("--n=", -1);
     138    const Int_t   kNumDataset    = arg.GetIntAndRemove("--dataset=", -1);
    135139    const TString kOutpath       = arg.GetStringAndRemove("--out=",  ".");
    136140    const TString kOutfile       = arg.GetStringAndRemove("--outf=",  "");
     
    201205    // Setup sequence and check its validity
    202206    //
    203     MDataSet seq(kSequences, kPathSequences, kPathDataFiles);
     207    MDataSet seq(kSequences, (UInt_t)kNumDataset, kPathSequences, kPathDataFiles);
    204208    if (!seq.IsMonteCarlo())
    205209        seq.SetMonteCarlo(kIsMc);
Note: See TracChangeset for help on using the changeset viewer.