CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
57 
58  enum Masses { mc = 0, mb, mt, mw, mz, mh, MASS_MAX };
59 
62  bool parse(const std::vector<std::string>::const_iterator &begin,
63  const std::vector<std::string>::const_iterator &end);
64 
65  std::map<Parameter, double> params;
66  unsigned int ihrd;
67  double xsec;
68  double xsecErr;
69  double nEvents;
70  double lumi;
71  double masses[MASS_MAX];
72 };
73 
75 
76 #endif // GeneratorInterface_AlpgenInterface_AlpgenHeader_h
std::map< Parameter, double > params
Definition: AlpgenHeader.h:65
bool parse(const std::vector< std::string >::const_iterator &begin, const std::vector< std::string >::const_iterator &end)
Definition: AlpgenHeader.cc:62
double nEvents
Definition: AlpgenHeader.h:69
static std::string parameterName(Parameter index)
unsigned int ihrd
Definition: AlpgenHeader.h:66
string end
Definition: dataset.py:937
double xsecErr
Definition: AlpgenHeader.h:68
double masses[MASS_MAX]
Definition: AlpgenHeader.h:71