Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/PileUpMergerPythia8.cc

    rcab38f6 r01f457a  
    22 *  Delphes: a framework for fast simulation of a generic collider experiment
    33 *  Copyright (C) 2012-2014  Universite catholique de Louvain (UCL), Belgium
    4  *
     4 * 
    55 *  This program is free software: you can redistribute it and/or modify
    66 *  it under the terms of the GNU General Public License as published by
    77 *  the Free Software Foundation, either version 3 of the License, or
    88 *  (at your option) any later version.
    9  *
     9 * 
    1010 *  This program is distributed in the hope that it will be useful,
    1111 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    1212 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1313 *  GNU General Public License for more details.
    14  *
     14 * 
    1515 *  You should have received a copy of the GNU General Public License
    1616 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
     
    2020 *
    2121 *  Merges particles from pile-up sample into event
     22 *
     23 *
     24 *  $Date$
     25 *  $Revision$
     26 *
    2227 *
    2328 *  \author P. Selvaggi - UCL, Louvain-la-Neuve
     
    3641#include "ExRootAnalysis/ExRootClassifier.h"
    3742
    38 #include "Pythia.h"
     43#include "Pythia8/Pythia.h"
    3944
    4045#include "TMath.h"
     
    127132    dphi = gRandom->Uniform(-TMath::Pi(), TMath::Pi());
    128133
    129     for(i = 1; i < fPythia->event.size(); ++i)
     134    for(i = 0; i < fPythia->event.size(); ++i)
    130135    {
    131136      Pythia8::Particle &particle = fPythia->event[i];
Note: See TracChangeset for help on using the changeset viewer.