CMS 3D CMS Logo

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
AlpgenHeader::etacmax
Definition: AlpgenHeader.h:34
AlpgenHeader::drbmin
Definition: AlpgenHeader.h:38
AlpgenHeader::xsec
double xsec
Definition: AlpgenHeader.h:67
AlpgenHeader::etabmax
Definition: AlpgenHeader.h:33
AlpgenHeader::ptcmin
Definition: AlpgenHeader.h:28
AlpgenHeader::drphjmin
Definition: AlpgenHeader.h:41
AlpgenHeader::nph
Definition: AlpgenHeader.h:25
AlpgenHeader::nh
Definition: AlpgenHeader.h:24
AlpgenHeader::lumi
double lumi
Definition: AlpgenHeader.h:70
AlpgenHeader::etalmax
Definition: AlpgenHeader.h:35
AlpgenHeader::xsecErr
double xsecErr
Definition: AlpgenHeader.h:68
AlpgenHeader::ptphmin
Definition: AlpgenHeader.h:31
AlpgenHeader::mc
Definition: AlpgenHeader.h:58
AlpgenHeader::parameterName
static std::string parameterName(Parameter index)
Definition: AlpgenHeader.cc:143
AlpgenHeader::drphlmin
Definition: AlpgenHeader.h:42
AlpgenHeader::ebeam
Definition: AlpgenHeader.h:13
AlpgenHeader::params
std::map< Parameter, double > params
Definition: AlpgenHeader.h:65
AlpgenHeader::iseed1
Definition: AlpgenHeader.h:46
AlpgenHeader::ihrd
unsigned int ihrd
Definition: AlpgenHeader.h:66
AlpgenHeader::nz
Definition: AlpgenHeader.h:23
AlpgenHeader::metmin
Definition: AlpgenHeader.h:30
AlpgenHeader::etaphmax
Definition: AlpgenHeader.h:36
AlpgenHeader::ndns
Definition: AlpgenHeader.h:14
AlpgenHeader::mz
Definition: AlpgenHeader.h:58
mps_fire.end
end
Definition: mps_fire.py:242
AlpgenHeader::mllmax
Definition: AlpgenHeader.h:45
AlpgenHeader::drcmin
Definition: AlpgenHeader.h:39
AlpgenHeader::iqopt
Definition: AlpgenHeader.h:15
AlpgenHeader::mb
Definition: AlpgenHeader.h:58
AlpgenHeader::njets
Definition: AlpgenHeader.h:19
AlpgenHeader::iseed4
Definition: AlpgenHeader.h:51
AlpgenHeader::ptjmin
Definition: AlpgenHeader.h:26
AlpgenHeader::ihvy
Definition: AlpgenHeader.h:20
AlpgenHeader::etajmax
Definition: AlpgenHeader.h:32
AlpgenHeader::drphmin
Definition: AlpgenHeader.h:43
AlpgenHeader::mllmin
Definition: AlpgenHeader.h:44
AlpgenHeader
Definition: AlpgenHeader.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AlpgenHeader::Masses
Masses
Definition: AlpgenHeader.h:58
AlpgenHeader::qfac
Definition: AlpgenHeader.h:16
AlpgenHeader::ickkw
Definition: AlpgenHeader.h:17
AlpgenHeader::nEvents
double nEvents
Definition: AlpgenHeader.h:69
AlpgenHeader::ptbmin
Definition: AlpgenHeader.h:27
AlpgenCommonBlocks.h
AlpgenHeader::mw
Definition: AlpgenHeader.h:58
AlpgenHeader::nw
Definition: AlpgenHeader.h:22
AlpgenHeader::Parameter
Parameter
Definition: AlpgenHeader.h:11
AlpgenHeader::mt
Definition: AlpgenHeader.h:58
AlpgenHeader::cluopt
Definition: AlpgenHeader.h:49
AlpgenHeader::itopprc
Definition: AlpgenHeader.h:48
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
AlpgenHeader::ih2
Definition: AlpgenHeader.h:12
AlpgenHeader::masses
double masses[MASS_MAX]
Definition: AlpgenHeader.h:71
AlpgenHeader::ihvy2
Definition: AlpgenHeader.h:21
AlpgenHeader::ptlmin
Definition: AlpgenHeader.h:29
AlpgenHeader::iseed2
Definition: AlpgenHeader.h:47
AlpgenHeader::iseed3
Definition: AlpgenHeader.h:50
AlpgenHeader::drlmin
Definition: AlpgenHeader.h:40
AlpgenHeader::drjmin
Definition: AlpgenHeader.h:37
AlpgenHeader::parse
bool parse(const std::vector< std::string >::const_iterator &begin, const std::vector< std::string >::const_iterator &end)
Definition: AlpgenHeader.cc:62
AlpgenHeader::ktfac
Definition: AlpgenHeader.h:18
AlpgenHeader::mh
Definition: AlpgenHeader.h:58
AlpgenHeader::MASS_MAX
Definition: AlpgenHeader.h:58