12 #ifndef ROOSTATS_CONFIGPARSER_h
13 #define ROOSTATS_CONFIGPARSER_h
28 namespace HistFactory {
35 std::vector< RooStats::HistFactory::Measurement > GetMeasurementsFromXML(std::string input);
36 RooStats::HistFactory::Measurement CreateMeasurementFromDriverNode( TXMLNode* node );
37 RooStats::HistFactory::Channel ParseChannelXMLFile( std::string filen );
40 HistFactory::Data CreateDataElement( TXMLNode* node );
41 HistFactory::Sample CreateSampleElement( TXMLNode* node );
42 HistFactory::StatErrorConfig CreateStatErrorConfigElement( TXMLNode* node );
45 HistFactory::NormFactor MakeNormFactor( TXMLNode* node );
46 HistFactory::HistoSys MakeHistoSys( TXMLNode* node );
47 HistFactory::HistoFactor MakeHistoFactor( TXMLNode* node );
48 HistFactory::OverallSys MakeOverallSys( TXMLNode* node );
49 HistFactory::ShapeFactor MakeShapeFactor( TXMLNode* node );
50 HistFactory::ShapeSys MakeShapeSys( TXMLNode* node );
51 HistFactory::StatError ActivateStatError( TXMLNode* node );
52 HistFactory::PreprocessFunction ParseFunctionConfig( TXMLNode* functionNode );
56 bool CheckTrueFalse( std::string val, std::string Name );
57 bool IsAcceptableNode( TXMLNode* functionNode );
62 std::string m_currentInputFile;
63 std::string m_currentChannel;
64 std::string m_currentHistoPath;