~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to Template/NLO/MCatNLO/srcPythia8/Pythia82.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:
22
22
#define cevwgt cevwgt_
23
23
 
24
24
extern "C" { 
25
 
  void pyabeg_(int&,char(*)[15]);
 
25
  void pyabeg_(int&,char(*)[50]);
26
26
  void pyaend_(double&);
27
27
  void pyanal_(int&,double(*));
28
28
}
31
31
  Pythia pythia;
32
32
 
33
33
  int cwgtinfo_nn;
34
 
  char cwgtinfo_weights_info[350][15];
35
 
  double cwgt_ww[350];
 
34
  char cwgtinfo_weights_info[1024][50];
 
35
  double cwgt_ww[1024];
36
36
 
37
37
  string inputname="Pythia8.cmd",outputname="Pythia8.hep";
38
38
 
141
141
    for (; iLHEFread<nTry ; ++iLHEFread) {
142
142
      read.lhef_read_wgts_(cwgt_ww);
143
143
    }
 
144
    cwgt_ww[0]=cevwgt.EVWGT;
144
145
    pyanal_(cwgtinfo_nn,cwgt_ww);
145
146
 
146
147
    if (iEvent % nstep == 0 && iEvent >= 100){