Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
PreprocessFunction.h
Go to the documentation of this file.
1#ifndef PREPROCESS_FUNCTION_H
2#define PREPROCESS_FUNCTION_H
3
4#include <string>
5#include <iostream>
6
7namespace RooStats {
8namespace HistFactory {
9
11public:
13
14 PreprocessFunction(std::string const &name, std::string const &expression, std::string const &dependents);
15
16 void Print(std::ostream & = std::cout) const;
17 void PrintXML(std::ostream &) const;
18
19 void SetName(const std::string &name) { fName = name; }
20 std::string const &GetName() const { return fName; }
21
22 void SetExpression(const std::string &expression) { fExpression = expression; }
23 std::string const &GetExpression() const { return fExpression; }
24
25 void SetDependents(const std::string &dependents) { fDependents = dependents; }
26 std::string const &GetDependents() const { return fDependents; }
27
28 std::string GetCommand() const;
29
30private:
31 std::string fName;
32 std::string fExpression;
33 std::string fDependents;
34};
35
36} // namespace HistFactory
37} // namespace RooStats
38
39#endif
char name[80]
Definition TGX11.cxx:110
void Print(std::ostream &=std::cout) const
void SetExpression(const std::string &expression)
void SetDependents(const std::string &dependents)
Namespace for the RooStats classes.
Definition Asimov.h:19