- Timestamp:
- Jun 20, 2016, 12:03:59 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 3e2bb2b
- Parents:
- 5496767
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PileUpMerger.cc
r5496767 r62d3bc5 147 147 sumpt2 = 0.0; 148 148 149 factory = GetFactory(); 150 vertex = factory->NewCandidate(); 151 149 152 while((candidate = static_cast<Candidate*>(fItInputArray->Next()))) 150 153 { … … 171 174 nch++; 172 175 sumpt2 += pt*pt; 176 vertex->AddCandidate(candidate); 173 177 } 174 178 } … … 181 185 182 186 nvtx++; 183 factory = GetFactory();184 185 vertex = factory->NewCandidate();186 187 vertex->Position.SetXYZT(vx, vy, dz, dt); 187 188 vertex->ClusterIndex = nvtx; … … 271 272 sumpt2 += pt*pt; 272 273 vertex->AddCandidate(candidate); 273 274 274 } 275 275
Note:
See TracChangeset
for help on using the changeset viewer.