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 00017 Configuration(); 00018 Configuration( const std::string &configfile ); 00019 00020 virtual ~Configuration(); 00021 00022 int read( const std::string &configfile ); 00023 00024 long rseed; 00025 unsigned int nevents; 00026 std::string OutputFileName; 00027 std::vector< std::string > ConfigFileNames; 00028 std::vector< std::string > InputFileNames; 00029 00030 // enable Algorithm 00031 bool jet; 00032 bool z; 00033 bool wplusjet; 00034 bool ztautau; 00035 bool ttbar; 00036 bool ue; 00037 bool etmiss; 00038 bool elasScat; 00039 bool wtaunu; 00040 bool bbbar; 00041 bool user; 00042 00043 // Jet specific Variables 00044 double coneRadius; 00045 double overlapThreshold; 00046 double jet_ptmin; 00047 double lepton_ptmin; 00048 double DeltaR_lepton_track; 00049 double max_eta; 00050 double min_pt; 00051 int jetalgorithm; 00052 00053 bool FSR; 00054 bool ISR; 00055 bool MI; 00056 00057 bool IsOK; 00058 00059 private: 00060 inline bool isParamOn( const std::string &str ) const; 00061 }; 00062 00063 #endif