00001 #ifndef CONFIGURATION_H_ 00002 #define CONFIGURATION_H_ 00003 00004 #include <string> 00005 #include <vector> 00006 00007 /** 00008 @class Configuration.h 00009 @brief Read the configuration into the executable for event generation 00010 00011 @author Cano Ay Dec 2008 */ 00012 00013 class Configuration 00014 { 00015 public: 00016 Configuration(); 00017 Configuration(const std::string& configfile); 00018 00019 virtual ~Configuration(); 00020 00021 int read(const std::string& configfile); 00022 00023 long rseed; 00024 unsigned int nevents; 00025 std::string OutputFileName; 00026 std::vector< std::string > ConfigFileNames; 00027 std::vector< std::string > InputFileNames; 00028 00029 // enable Algorithm 00030 bool jet; 00031 bool z; 00032 bool wplusjet; 00033 bool ztautau; 00034 bool ttbar; 00035 bool ue; 00036 bool etmiss; 00037 bool elasScat; 00038 bool wtaunu; 00039 bool bbbar; 00040 bool user; 00041 00042 // Jet specific Variables 00043 double coneRadius; 00044 double overlapThreshold; 00045 double jet_ptmin; 00046 double lepton_ptmin; 00047 double DeltaR_lepton_track; 00048 double max_eta; 00049 double min_pt; 00050 int jetalgorithm; 00051 00052 bool FSR; 00053 bool ISR; 00054 bool MI; 00055 00056 bool IsOK; 00057 00058 private: 00059 inline bool isParamOn(const std::string &str) const; 00060 }; 00061 00062 #endif // CONFIGURATION_H_ 00063