added spin rotation angle to the LEM MusrRoot file

This commit is contained in:
2012-05-22 13:51:56 +00:00
parent 765d1a3faf
commit bf1d8cc96d
6 changed files with 15 additions and 0 deletions

View File

@ -190,6 +190,7 @@ int dump_header_root(const string fileName, const string fileFormat)
*/
int dump_header_nexus(const string fileName) {
#ifdef PNEXUS_ENABLED
PNeXus *nxs_file = new PNeXus(fileName.c_str());
if (nxs_file->IsValid(false)) {
@ -198,6 +199,9 @@ int dump_header_nexus(const string fileName) {
if (nxs_file)
delete nxs_file;
#else
cout << endl << "NeXus not enabled, hence the header information cannot be dumped." << endl << endl;
#endif
return 0;
}