File indexing completed on 2024-11-16 09:54:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef HISTFACTORY_ASIMOV_H
0012 #define HISTFACTORY_ASIMOV_H
0013
0014 #include <string>
0015 #include <map>
0016
0017 #include "RooWorkspace.h"
0018
0019 namespace RooStats{
0020 namespace HistFactory {
0021
0022 class Asimov {
0023
0024 public:
0025
0026 Asimov() {;}
0027 Asimov(std::string Name) : fName(Name) {;}
0028
0029 void ConfigureWorkspace( RooWorkspace* );
0030
0031 std::string GetName() { return fName; }
0032 void SetName(const std::string& name) { fName = name; }
0033
0034 void SetFixedParam(const std::string& param, bool constant=true) { fParamsToFix[param] = constant; }
0035 void SetParamValue(const std::string& param, double value) { fParamValsToSet[param] = value; }
0036
0037 std::map< std::string, bool >& GetParamsToFix() { return fParamsToFix; }
0038 std::map< std::string, double >& GetParamsToSet() { return fParamValsToSet; }
0039
0040 protected:
0041
0042 std::string fName;
0043
0044 std::map<std::string, bool> fParamsToFix;
0045 std::map< std::string, double > fParamValsToSet;
0046
0047 };
0048
0049
0050 }
0051 }
0052
0053 #endif