Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ConfigParser.h
Go to the documentation of this file.
1// @(#)root/roostats:$Id$
2// Author: Kyle Cranmer, Akira Shibata
3/*************************************************************************
4 * Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11
12#ifndef ROOSTATS_CONFIGPARSER_h
13#define ROOSTATS_CONFIGPARSER_h
14
16
17#include <cstdlib>
18#include <string>
19#include <vector>
20
21class TXMLNode;
22
23namespace RooStats{
24 namespace HistFactory {
25
27
28 public:
29
30 /// The "main" method
31 std::vector< RooStats::HistFactory::Measurement > GetMeasurementsFromXML(std::string input);
34
35 /// Helpers used to process a channel
39
40 /// Helpers used when processing a Sample
49
50 protected:
51
52 bool CheckTrueFalse( std::string val, std::string Name );
54
55 /// To facilitate writing xml, when not
56 /// specified, files and paths default
57 /// to these cached values
58 std::string m_currentInputFile;
59 std::string m_currentChannel;
60 std::string m_currentHistoPath;
61
62 };
63 }
64}
65
66#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
This class encapsulates all information for the statistical interpretation of one experiment.
bool IsAcceptableNode(TXMLNode *functionNode)
std::vector< RooStats::HistFactory::Measurement > GetMeasurementsFromXML(std::string input)
The "main" method.
HistFactory::StatErrorConfig CreateStatErrorConfigElement(TXMLNode *node)
HistFactory::StatError ActivateStatError(TXMLNode *node)
HistFactory::OverallSys MakeOverallSys(TXMLNode *node)
HistFactory::Sample CreateSampleElement(TXMLNode *node)
HistFactory::HistoSys MakeHistoSys(TXMLNode *node)
std::string m_currentInputFile
To facilitate writing xml, when not specified, files and paths default to these cached values.
HistFactory::ShapeFactor MakeShapeFactor(TXMLNode *node)
bool CheckTrueFalse(std::string val, std::string Name)
RooStats::HistFactory::Measurement CreateMeasurementFromDriverNode(TXMLNode *node)
HistFactory::PreprocessFunction ParseFunctionConfig(TXMLNode *functionNode)
HistFactory::Data CreateDataElement(TXMLNode *node)
Helpers used to process a channel.
HistFactory::HistoFactor MakeHistoFactor(TXMLNode *node)
RooStats::HistFactory::Channel ParseChannelXMLFile(std::string filen)
HistFactory::ShapeSys MakeShapeSys(TXMLNode *node)
HistFactory::NormFactor MakeNormFactor(TXMLNode *node)
Helpers used when processing a Sample.
Configuration for an *un*constrained, coherent shape variation of affected samples.
Configuration for a constrained, coherent shape variation of affected samples.
The RooStats::HistFactory::Measurement class can be used to construct a model by combining multiple R...
Configuration for an un- constrained overall systematic to scale sample normalisations.
Definition Measurement.h:69
Configuration for a constrained overall systematic to scale sample normalisations.
Definition Measurement.h:45
*Un*constrained bin-by-bin variation of affected histogram.
Constrained bin-by-bin variation of affected histogram.
Configuration to automatically assign nuisance parameters for the statistical error of the Monte Carl...
Statistical error of Monte Carlo predictions.
TXMLNode contains a pointer to xmlNode, which is a node under the DOM tree.
Definition TXMLNode.h:20
Namespace for the RooStats classes.
Definition CodegenImpl.h:61