Changes in readers/DelphesPythia8.cpp [01f457a:3e276d4] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesPythia8.cpp
r01f457a r3e276d4 2 2 * Delphes: a framework for fast simulation of a generic collider experiment 3 3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium 4 * 4 * 5 5 * This program is free software: you can redistribute it and/or modify 6 6 * it under the terms of the GNU General Public License as published by 7 7 * the Free Software Foundation, either version 3 of the License, or 8 8 * (at your option) any later version. 9 * 9 * 10 10 * This program is distributed in the hope that it will be useful, 11 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 13 * GNU General Public License for more details. 14 * 14 * 15 15 * You should have received a copy of the GNU General Public License 16 16 * along with this program. If not, see <http://www.gnu.org/licenses/>. … … 23 23 #include <signal.h> 24 24 25 #include "Pythia 8/Pythia.h"25 #include "Pythia.h" 26 26 27 27 #include "TROOT.h" … … 89 89 pdg = TDatabasePDG::Instance(); 90 90 91 for(i = 0; i < pythia->event.size(); ++i)91 for(i = 1; i < pythia->event.size(); ++i) 92 92 { 93 93 Pythia8::Particle &particle = pythia->event[i]; 94 94 95 95 pid = particle.id(); 96 status = p ythia->event.statusHepMC(i);96 status = particle.statusHepMC(); 97 97 px = particle.px(); py = particle.py(); pz = particle.pz(); e = particle.e(); mass = particle.m(); 98 98 x = particle.xProd(); y = particle.yProd(); z = particle.zProd(); t = particle.tProd(); … … 270 270 progressBar.Finish(); 271 271 272 pythia->stat istics();272 pythia->stat(); 273 273 274 274 modularDelphes->FinishTask();
Note:
See TracChangeset
for help on using the changeset viewer.