00001 #ifndef GetParameters_h 00002 #define GetParameters_h 00003 00004 #include <map> 00005 #include <string> 00006 #include <vector> 00007 00008 00009 class KtParam{ 00010 public: 00011 KtParam(int ktAngle, int ktRParam): theKtAngle(ktAngle), theKtRParam(ktRParam){} 00012 ~KtParam(){} 00013 int getKtAngle(){return theKtAngle;} 00014 int getKtRParam(){return theKtRParam;} 00015 private: 00016 int theKtAngle; 00017 int theKtRParam; 00018 }; 00019 00020 00021 class JetParameters{ 00022 public: 00023 JetParameters(){} 00024 ~JetParameters(){} 00025 void setParameters(std::string alg, int recom, int it, std::string threshold) 00026 { 00027 theAlgType = alg; 00028 if(recom == 1) {theRecomSchema = "EScheme";} else {theRecomSchema = "EtScheme";}; 00029 if (it == 0) {iTime == "Jets873_2x1033PU_qcd";} else {iTime == "None";} 00030 theThreshold = threshold; 00031 } 00032 00033 std::string getAlgType(){return theAlgType;} 00034 std::string getRecomSchema(){return theRecomSchema;} 00035 std::string getTime(){return iTime;} 00036 std::string getThreshold(){return theThreshold;} 00037 00038 private: 00039 std::string theAlgType; 00040 std::string theRecomSchema; 00041 std::string iTime; 00042 std::string theThreshold; 00043 }; 00044 00045 00046 class GetParameters{ 00047 00048 public: 00049 00050 GetParameters(JetParameters); 00051 ~GetParameters(){}; 00052 JetParameters get(){return theJetPar;}; 00053 00054 private: 00055 JetParameters theJetPar; 00056 }; 00057 00058 #endif