Merged muonspin/musrfit:root6 into master
This commit is contained in:
@ -1911,7 +1911,7 @@ void PMusrCanvas::ExportData(const Char_t *fileName)
|
||||
xmax = fMultiGraphData->GetXaxis()->GetBinCenter(xmaxBin);
|
||||
|
||||
// fill ascii dump data
|
||||
for (UInt_t i=0; i<fNonMusrData.size(); i++) { // go through all the histogramms
|
||||
for (UInt_t i=0; i<fNonMusrData.size(); i++) { // go through all the graphs
|
||||
// clean up dump
|
||||
dump.dataX.clear();
|
||||
dump.data.clear();
|
||||
@ -1929,6 +1929,15 @@ void PMusrCanvas::ExportData(const Char_t *fileName)
|
||||
}
|
||||
}
|
||||
|
||||
// if anything found keep it
|
||||
if (dump.dataX.size() > 0)
|
||||
dumpVector.push_back(dump);
|
||||
|
||||
// clean up dump
|
||||
dump.dataX.clear();
|
||||
dump.data.clear();
|
||||
dump.dataErr.clear();
|
||||
|
||||
// go through all theory bins
|
||||
for (Int_t j=0; j<fNonMusrData[i].theory->GetN(); j++) {
|
||||
// get x and y value
|
||||
|
@ -91,7 +91,7 @@ void runMuSimulation()
|
||||
|
||||
TTimeStamp *timeStampStart = new TTimeStamp();
|
||||
cout << endl << "Simulation started on:" << endl;
|
||||
timeStampStart->Print("l);
|
||||
timeStampStart->Print("l");
|
||||
cout << endl;
|
||||
|
||||
histogramFileName = TString("0");
|
||||
|
Reference in New Issue
Block a user