#ifndef PREPROCESS_FUNCTION_H
#define PREPROCESS_FUNCTION_H

#include <string>
#include <iostream>

namespace RooStats{
namespace HistFactory {

  class PreprocessFunction {
  public:

    PreprocessFunction();

    
    PreprocessFunction(std::string Name, std::string Expression, std::string Dependents);
    std::string GetCommand(std::string Name, std::string Expression, std::string Dependents);
			   

    void Print(std::ostream& = std::cout);  
    void PrintXML(std::ostream& );  

    void SetName( const std::string& Name) { fName = Name; }
    std::string GetName() { return fName; }

    void SetExpression( const std::string& Expression) { fExpression = Expression; }
    std::string GetExpression() { return fExpression; }

    void SetDependents( const std::string& Dependents) { fDependents = Dependents; }
    std::string GetDependents() { return fDependents; }
    
    void SetCommand( const std::string& Command) { fCommand = Command; }
    std::string GetCommand() { return fCommand; }

  protected:


    std::string fName;
    std::string fExpression;
    std::string fDependents;

    std::string fCommand;



  };


}
}


#endif
 PreprocessFunction.h:1
 PreprocessFunction.h:2
 PreprocessFunction.h:3
 PreprocessFunction.h:4
 PreprocessFunction.h:5
 PreprocessFunction.h:6
 PreprocessFunction.h:7
 PreprocessFunction.h:8
 PreprocessFunction.h:9
 PreprocessFunction.h:10
 PreprocessFunction.h:11
 PreprocessFunction.h:12
 PreprocessFunction.h:13
 PreprocessFunction.h:14
 PreprocessFunction.h:15
 PreprocessFunction.h:16
 PreprocessFunction.h:17
 PreprocessFunction.h:18
 PreprocessFunction.h:19
 PreprocessFunction.h:20
 PreprocessFunction.h:21
 PreprocessFunction.h:22
 PreprocessFunction.h:23
 PreprocessFunction.h:24
 PreprocessFunction.h:25
 PreprocessFunction.h:26
 PreprocessFunction.h:27
 PreprocessFunction.h:28
 PreprocessFunction.h:29
 PreprocessFunction.h:30
 PreprocessFunction.h:31
 PreprocessFunction.h:32
 PreprocessFunction.h:33
 PreprocessFunction.h:34
 PreprocessFunction.h:35
 PreprocessFunction.h:36
 PreprocessFunction.h:37
 PreprocessFunction.h:38
 PreprocessFunction.h:39
 PreprocessFunction.h:40
 PreprocessFunction.h:41
 PreprocessFunction.h:42
 PreprocessFunction.h:43
 PreprocessFunction.h:44
 PreprocessFunction.h:45
 PreprocessFunction.h:46
 PreprocessFunction.h:47
 PreprocessFunction.h:48
 PreprocessFunction.h:49
 PreprocessFunction.h:50
 PreprocessFunction.h:51
 PreprocessFunction.h:52
 PreprocessFunction.h:53
 PreprocessFunction.h:54