added per run block chisq output
This commit is contained in:
@ -166,7 +166,7 @@ void PStartupHandler::OnStartDocument()
|
||||
fFourierDefaults.fPlotRange[1] = -1.0;
|
||||
fFourierDefaults.fPhaseIncrement = 1.0;
|
||||
|
||||
fWriteExpectedChisq = false;
|
||||
fWritePerRunBlockChisq = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
@ -195,8 +195,8 @@ void PStartupHandler::OnStartElement(const Char_t *str, const TList *attributes)
|
||||
{
|
||||
if (!strcmp(str, "data_path")) {
|
||||
fKey = eDataPath;
|
||||
} else if (!strcmp(str, "write_expected_chisq")) {
|
||||
fKey = eWriteExpectedChisq;
|
||||
} else if (!strcmp(str, "write_per_run_block_chisq")) {
|
||||
fKey = eWritePerRunBlockChisq;
|
||||
} else if (!strcmp(str, "marker")) {
|
||||
fKey = eMarker;
|
||||
} else if (!strcmp(str, "color")) {
|
||||
@ -251,10 +251,10 @@ void PStartupHandler::OnCharacters(const Char_t *str)
|
||||
// add str to the path list
|
||||
fDataPathList.push_back(str);
|
||||
break;
|
||||
case eWriteExpectedChisq:
|
||||
case eWritePerRunBlockChisq:
|
||||
tstr = TString(str);
|
||||
if (tstr.BeginsWith("y") || tstr.BeginsWith("Y"))
|
||||
fWriteExpectedChisq = true;
|
||||
fWritePerRunBlockChisq = true;
|
||||
break;
|
||||
case eMarker:
|
||||
// check that str is a number
|
||||
|
Reference in New Issue
Block a user