Hello, Giulio,
  Do you mean that I should make another request? Please note that this 
code is intended only for me,
and the output should be in a separate file.
                               Regards, Mikhail

On 9/11/13 5:50 PM, Giulio Eulisse wrote:
>
> In GeneratorInterface/Pythia8Interface/test/ZJetsAnalyzer.cc:
>
> > +{
> > +  ofstream testi("testi.dat");
> > +  double val, errval;
> > +
> > +  Handle< GenRunInfoProduct > genRunInfoProduct;
> > +  r.getByLabel("generator", genRunInfoProduct );
> > +  val = (double)genRunInfoProduct->crossSection();
> > +  cout << endl;
> > +  cout << "cross section = " << val << endl;
> > +  cout << endl;
> > +
> > +  errval = 0.;
> > +  if(icategories[0] > 0) errval = val/sqrt( (double)(icategories[0]) );
> > +  testi << "pythia8_test1  1   " << val << " " << errval << " " << endl;
> > +
> > +  cout << endl;
>
> Please use the message logger.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/cms-sw/cmssw/pull/775/files#r6293894>.
>