Logo ROOT   6.12/07
Reference Guide
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 
8 namespace RooStats{
9 namespace 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() { return fName; }
26 
27  void SetExpression( const std::string& Expression) { fExpression = Expression; }
28  std::string GetExpression() { return fExpression; }
29 
30  void SetDependents( const std::string& Dependents) { fDependents = Dependents; }
31  std::string GetDependents() { return fDependents; }
32 
33  void SetCommand( const std::string& Command) { fCommand = Command; }
34  std::string GetCommand() { 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 SetDependents(const std::string &Dependents)
const char * Name
Definition: TXMLSetup.cxx:66
void SetCommand(const std::string &Command)
void SetName(const std::string &Name)
Namespace for the RooStats classes.
Definition: Asimov.h:20
void SetExpression(const std::string &Expression)