Logo ROOT  
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() 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
RooStats::HistFactory::PreprocessFunction::GetExpression
std::string GetExpression() const
Definition: PreprocessFunction.h:28
RooStats::HistFactory::PreprocessFunction::PrintXML
void PrintXML(std::ostream &)
Definition: PreprocessFunction.cxx:41
RooStats::HistFactory::PreprocessFunction::GetName
std::string GetName() const
Definition: PreprocessFunction.h:25
RooStats::HistFactory::PreprocessFunction::Print
void Print(std::ostream &=std::cout)
Definition: PreprocessFunction.cxx:32
RooStats::HistFactory::PreprocessFunction::GetCommand
std::string GetCommand() const
Definition: PreprocessFunction.h:34
RooStats::HistFactory::PreprocessFunction::SetName
void SetName(const std::string &Name)
Definition: PreprocessFunction.h:24
RooFit::HistFactory
@ HistFactory
Definition: RooGlobalFunc.h:69
RooStats::HistFactory::PreprocessFunction::fExpression
std::string fExpression
Definition: PreprocessFunction.h:40
RooStats::HistFactory::PreprocessFunction::SetExpression
void SetExpression(const std::string &Expression)
Definition: PreprocessFunction.h:27
RooStats::HistFactory::PreprocessFunction::SetDependents
void SetDependents(const std::string &Dependents)
Definition: PreprocessFunction.h:30
RooStats::HistFactory::PreprocessFunction::fDependents
std::string fDependents
Definition: PreprocessFunction.h:41
RooStats::HistFactory::PreprocessFunction::SetCommand
void SetCommand(const std::string &Command)
Definition: PreprocessFunction.h:33
xmlio::Name
const char * Name
Definition: TXMLSetup.cxx:67
RooStats::HistFactory::PreprocessFunction::PreprocessFunction
PreprocessFunction()
Definition: PreprocessFunction.cxx:19
RooStats::HistFactory::PreprocessFunction::fCommand
std::string fCommand
Definition: PreprocessFunction.h:43
RooStats
Namespace for the RooStats classes.
Definition: Asimov.h:19
RooStats::HistFactory::PreprocessFunction::GetDependents
std::string GetDependents() const
Definition: PreprocessFunction.h:31
RooStats::HistFactory::PreprocessFunction
Definition: PreprocessFunction.h:11
RooStats::HistFactory::PreprocessFunction::fName
std::string fName
Definition: PreprocessFunction.h:39