Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
PreprocessFunction.h
Go to the documentation of this file.
1
2#ifndef PREPROCESS_FUNCTION_H
3#define PREPROCESS_FUNCTION_H
4
5#include <string>
6#include <iostream>
7
8namespace RooStats{
9namespace HistFactory {
10
12 public:
13
15
16
17 PreprocessFunction(std::string Name, std::string Expression, std::string Dependents);
18 std::string GetCommand(std::string Name, std::string Expression, std::string Dependents);
19
20
21 void Print(std::ostream& = std::cout);
22 void PrintXML(std::ostream& );
23
24 void SetName( const std::string& Name) { fName = Name; }
25 std::string GetName() const { return fName; }
26
27 void SetExpression( const std::string& Expression) { fExpression = Expression; }
28 std::string GetExpression() const { return fExpression; }
29
30 void SetDependents( const std::string& Dependents) { fDependents = Dependents; }
31 std::string GetDependents() const { return fDependents; }
32
33 void SetCommand( const std::string& Command) { fCommand = Command; }
34 std::string GetCommand() const { return fCommand; }
35
36 protected:
37
38
39 std::string fName;
40 std::string fExpression;
41 std::string fDependents;
42
43 std::string fCommand;
44
45
46
47 };
48
49
50}
51}
52
53
54#endif
void SetCommand(const std::string &Command)
void SetDependents(const std::string &Dependents)
void SetExpression(const std::string &Expression)
Namespace for the RooStats classes.
Definition Asimov.h:19