00001 #ifndef GeneratorInterface_AlpgenInterface_AlpgenHeader_h 00002 #define GeneratorInterface_AlpgenInterface_AlpgenHeader_h 00003 00004 #include <string> 00005 #include <vector> 00006 #include <map> 00007 00010 struct AlpgenHeader { 00011 enum Parameter { 00012 ih2 = 2, 00013 ebeam = 3, 00014 ndns = 4, 00015 iqopt = 5, 00016 qfac = 6, 00017 ickkw = 7, 00018 ktfac = 8, 00019 njets = 10, 00020 ihvy = 11, 00021 ihvy2 = 12, 00022 nw = 13, 00023 nz = 14, 00024 nh = 15, 00025 nph = 16, 00026 ptjmin = 30, 00027 ptbmin = 31, 00028 ptcmin = 32, 00029 ptlmin = 33, 00030 metmin = 34, 00031 ptphmin = 35, 00032 etajmax = 40, 00033 etabmax = 41, 00034 etacmax = 42, 00035 etalmax = 43, 00036 etaphmax = 44, 00037 drjmin = 50, 00038 drbmin = 51, 00039 drcmin = 52, 00040 drlmin = 55, 00041 drphjmin = 56, 00042 drphlmin = 57, 00043 drphmin = 58, 00044 mllmin = 61, 00045 mllmax = 62, 00046 iseed1 = 90, 00047 iseed2 = 91, 00048 itopprc = 102, 00049 cluopt = 160, 00050 iseed3 = 190, 00051 iseed4 = 191 00052 }; 00053 00056 static std::string parameterName(Parameter index); 00057 00058 enum Masses { 00059 mc = 0, mb, mt, mw, mz, mh, MASS_MAX 00060 }; 00061 00064 bool parse(const std::vector<std::string>::const_iterator &begin, 00065 const std::vector<std::string>::const_iterator &end); 00066 00067 std::map<Parameter, double> params; 00068 unsigned int ihrd; 00069 double xsec; 00070 double xsecErr; 00071 double nEvents; 00072 double lumi; 00073 double masses[MASS_MAX]; 00074 }; 00075 00076 #include "GeneratorInterface/AlpgenInterface/interface/AlpgenCommonBlocks.h" 00077 00078 #endif // GeneratorInterface_AlpgenInterface_AlpgenHeader_h