CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlpgenHeader.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_AlpgenInterface_AlpgenHeader_h
2 #define GeneratorInterface_AlpgenInterface_AlpgenHeader_h
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
10 struct AlpgenHeader {
11  enum Parameter {
12  ih2 = 2,
13  ebeam = 3,
14  ndns = 4,
15  iqopt = 5,
16  qfac = 6,
17  ickkw = 7,
18  ktfac = 8,
19  njets = 10,
20  ihvy = 11,
21  ihvy2 = 12,
22  nw = 13,
23  nz = 14,
24  nh = 15,
25  nph = 16,
26  ptjmin = 30,
27  ptbmin = 31,
28  ptcmin = 32,
29  ptlmin = 33,
30  metmin = 34,
31  ptphmin = 35,
32  etajmax = 40,
33  etabmax = 41,
34  etacmax = 42,
35  etalmax = 43,
36  etaphmax = 44,
37  drjmin = 50,
38  drbmin = 51,
39  drcmin = 52,
40  drlmin = 55,
41  drphjmin = 56,
42  drphlmin = 57,
43  drphmin = 58,
44  mllmin = 61,
45  mllmax = 62,
46  iseed1 = 90,
47  iseed2 = 91,
48  itopprc = 102,
49  cluopt = 160,
50  iseed3 = 190,
51  iseed4 = 191
52  };
53 
56  static std::string parameterName(Parameter index);
57 
58  enum Masses {
59  mc = 0, mb, mt, mw, mz, mh, MASS_MAX
60  };
61 
64  bool parse(const std::vector<std::string>::const_iterator &begin,
65  const std::vector<std::string>::const_iterator &end);
66 
67  std::map<Parameter, double> params;
68  unsigned int ihrd;
69  double xsec;
70  double xsecErr;
71  double nEvents;
72  double lumi;
73  double masses[MASS_MAX];
74 };
75 
77 
78 #endif // GeneratorInterface_AlpgenInterface_AlpgenHeader_h
std::map< Parameter, double > params
Definition: AlpgenHeader.h:67
bool parse(const std::vector< std::string >::const_iterator &begin, const std::vector< std::string >::const_iterator &end)
Definition: AlpgenHeader.cc:67
double nEvents
Definition: AlpgenHeader.h:71
static std::string parameterName(Parameter index)
#define end
Definition: vmac.h:38
unsigned int ihrd
Definition: AlpgenHeader.h:68
#define begin
Definition: vmac.h:31
double xsecErr
Definition: AlpgenHeader.h:70
double masses[MASS_MAX]
Definition: AlpgenHeader.h:73