Changeset dacd9c5 in git
- Timestamp:
- Dec 22, 2014, 1:50:39 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 42f8e78
- Parents:
- 8c72f09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PileUpMergerPythia8.cc
r8c72f09 rdacd9c5 21 21 * Merges particles from pile-up sample into event 22 22 * 23 * \author P. Selvaggi - UCL, Louvain-la-Neuve23 * \author M. Selvaggi - UCL, Louvain-la-Neuve 24 24 * 25 25 */ … … 102 102 TDatabasePDG *pdg = TDatabasePDG::Instance(); 103 103 TParticlePDG *pdgParticle; 104 Int_t pid ;104 Int_t pid, status; 105 105 Float_t x, y, z, t; 106 106 Float_t px, py, pz, e; … … 131 131 Pythia8::Particle &particle = fPythia->event[i]; 132 132 133 if(particle.status() != 1 || !particle.isVisible() || particle.pT() <= fPTMin) continue; 133 status = particle.statusHepMC(); 134 135 if(status != 1 || !particle.isVisible() || particle.pT() <= fPTMin) continue; 134 136 135 137 pid = particle.id(); … … 141 143 candidate->PID = pid; 142 144 143 candidate->Status = 1;145 candidate->Status = status; 144 146 145 147 pdgParticle = pdg->GetParticle(pid);
Note:
See TracChangeset
for help on using the changeset viewer.