some more work towards a proper NeXus muon data format support.

This commit is contained in:
2011-12-15 12:25:28 +00:00
parent 379345496b
commit 8f5b5609bc
4 changed files with 432 additions and 53 deletions

View File

@ -3730,7 +3730,7 @@ Bool_t PRunDataHandler::WriteNexusFile(TString fln)
*(histo+i*fData[0].GetDataBin(0)->size()+j) = (int) fData[0].GetDataBin(i)->at(j);
}
}
nxs->GetEntryIdf2()->GetInstrument()->GetDetector()->SetHisto(histo);
nxs->GetEntryIdf2()->GetInstrument()->GetDetector()->SetHistos(histo);
for (int i=0; i<nxs->GetEntryIdf2()->GetInstrument()->GetDetector()->GetNoOfSpectra(); i++)
nxs->GetEntryIdf2()->GetInstrument()->GetDetector()->SetSpectrumIndex(i+1);