Changeset 8724 for trunk/MagicSoft/Mars/ganymed.cc
- Timestamp:
- 08/31/07 14:11:36 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/ganymed.cc
r8683 r8724 43 43 gLog << " ganymed [options] dataset.txt|number" << endl << endl; 44 44 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; 46 47 gLog << " number: The dataset number (using file in the datacenter)" << endl; 47 48 gLog << " For more details see MDataSet." << endl; … … 63 64 gLog << " -f Force overwrite of existing files" << endl; 64 65 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; 65 68 gLog << " --out=path Path to write all output to [def=local path]" << endl; 66 69 gLog << " --ind=path Path to data/star files [default=datacenter path]" << endl; … … 71 74 gLog << " --skip-res Disable writing of result events" << endl; 72 75 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; 75 78 // gLog << " --full-display Show as many plots as possible" << endl; 76 79 gLog << " --config=ganymed.rc Resource file [default=ganymed.rc]" << endl; … … 133 136 134 137 const Int_t kNumAnalysis = arg.GetIntAndRemove("--n=", -1); 138 const Int_t kNumDataset = arg.GetIntAndRemove("--dataset=", -1); 135 139 const TString kOutpath = arg.GetStringAndRemove("--out=", "."); 136 140 const TString kOutfile = arg.GetStringAndRemove("--outf=", ""); … … 201 205 // Setup sequence and check its validity 202 206 // 203 MDataSet seq(kSequences, kPathSequences, kPathDataFiles);207 MDataSet seq(kSequences, (UInt_t)kNumDataset, kPathSequences, kPathDataFiles); 204 208 if (!seq.IsMonteCarlo()) 205 209 seq.SetMonteCarlo(kIsMc);
Note:
See TracChangeset
for help on using the changeset viewer.