~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to Template/NLO/MCatNLO/srcPythia8/Pythia8.cc

  • Committer: olivier Mattelaer
  • Date: 2016-05-12 11:00:18 UTC
  • mfrom: (262.1.150 2.3.4)
  • Revision ID: olivier.mattelaer@uclouvain.be-20160512110018-sevb79f0wm4g8mpp
pass to 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define cevwgt cevwgt_
22
22
 
23
23
extern "C" { 
24
 
  void pyabeg_(int&,char(*)[15]);
 
24
  void pyabeg_(int&,char(*)[50]);
25
25
  void pyaend_(double&);
26
26
  void pyanal_(int&,double(*));
27
27
}
30
30
  Pythia pythia;
31
31
 
32
32
  int cwgtinfo_nn;
33
 
  char cwgtinfo_weights_info[350][15];
34
 
  double cwgt_ww[350];
 
33
  char cwgtinfo_weights_info[1024][50];
 
34
  double cwgt_ww[1024];
35
35
 
36
36
  string inputname="Pythia8.cmd",outputname="Pythia8.hep";
37
37
 
135
135
    for (; iLHEFread<nTry ; ++iLHEFread) {
136
136
      read.lhef_read_wgts_(cwgt_ww);
137
137
    }
 
138
    cwgt_ww[0]=cevwgt.EVWGT;
138
139
    pyanal_(cwgtinfo_nn,cwgt_ww);
139
140
 
140
141
    if (iEvent % nstep == 0 && iEvent >= 100){