Changeset d07e957 in git for modules/PileUpMerger.cc
- Timestamp:
- Nov 8, 2013, 5:09:58 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 87cadbd
- Parents:
- 984cd31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PileUpMerger.cc
r984cd31 rd07e957 70 70 71 71 // create output arrays 72 fOutputArray = ExportArray(GetString("OutputArray", "stableParticles")); 72 fParticleOutputArray = ExportArray(GetString("ParticleOutputArray", "stableParticles")); 73 fVertexOutputArray = ExportArray(GetString("VertexOutputArray", "vertices")); 73 74 } 74 75 … … 98 99 while((candidate = static_cast<Candidate*>(fItInputArray->Next()))) 99 100 { 100 f OutputArray->Add(candidate);101 fParticleOutputArray->Add(candidate); 101 102 } 102 103 … … 131 132 dphi = gRandom->Uniform(-TMath::Pi(), TMath::Pi()); 132 133 134 candidate = factory->NewCandidate(); 135 candidate->Position.SetXYZT(0.0, 0.0, dz, 0.0); 136 fVertexOutputArray->Add(candidate); 137 133 138 while(fReader->ReadParticle(pid, x, y, z, t, px, py, pz, e)) 134 139 { … … 151 156 candidate->Position.RotateZ(dphi); 152 157 153 f OutputArray->Add(candidate);158 fParticleOutputArray->Add(candidate); 154 159 } 155 160 }
Note:
See TracChangeset
for help on using the changeset viewer.