add TDirectory option to any2many.
This commit is contained in:
@@ -85,7 +85,7 @@ void any2many_syntax()
|
||||
std::cout << std::endl << " <inFormat> : input data file format. Supported formats are:";
|
||||
std::cout << std::endl << " MusrRoot, PSI-BIN, ROOT (LEM), MUD, NeXus, PSI-MDU, WKM";
|
||||
std::cout << std::endl << " <outFormat> : ouput data file format. Supported formats are:";
|
||||
std::cout << std::endl << " PSI-BIN, MusrRoot, ROOT, MUD, NeXus1-HDF4, NeXus1-HDF5, NeXus1-XML,";
|
||||
std::cout << std::endl << " PSI-BIN, MusrRoot, MusrRootDir, ROOT, MUD, NeXus1-HDF4, NeXus1-HDF5, NeXus1-XML,";
|
||||
std::cout << std::endl << " NeXus2-HDF4, NeXus2-HDF5, NeXus2-XML, WKM, ASCII";
|
||||
std::cout << std::endl << " Comment: ROOT is superseeded by MusrRoot. If there is not a very good";
|
||||
std::cout << std::endl << " reason, avoid it!";
|
||||
@@ -109,6 +109,10 @@ void any2many_syntax()
|
||||
std::cout << std::endl << " generated according to the input data file name, and the output data";
|
||||
std::cout << std::endl << " format.";
|
||||
std::cout << std::endl;
|
||||
std::cout << std::endl << "NOTE to MusrRoot and MusrRootDir <outFormat>: MusrRoot will convert to the deprecated TFolder format,";
|
||||
std::cout << std::endl << " whereas MusrRootDir will convert to the TDirectory based format. Typically MusrRootDir should be the";
|
||||
std::cout << std::endl << " preferred MusrRoot-file-format output format.";
|
||||
std::cout << std::endl;
|
||||
std::cout << std::endl << "examples:" << std::endl;
|
||||
std::cout << std::endl << " any2many -f 2010/lem10_his_0123.root -c ROOT ASCII -rebin 25";
|
||||
std::cout << std::endl << " Will take the LEM ROOT file '2010/lem10_his_0123.root' rebin it with 25";
|
||||
@@ -172,6 +176,7 @@ int main(int argc, char *argv[])
|
||||
// init outputFormat
|
||||
outputFormat.push_back("psi-bin");
|
||||
outputFormat.push_back("musrroot");
|
||||
outputFormat.push_back("musrrootdir");
|
||||
outputFormat.push_back("root");
|
||||
outputFormat.push_back("mud");
|
||||
outputFormat.push_back("nexus1-hdf4");
|
||||
|
||||
Reference in New Issue
Block a user