- Timestamp:
- Jun 20, 2016, 4:00:51 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 332025f
- Parents:
- 62d3bc5
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PileUpMerger.cc
r62d3bc5 r3e2bb2b 168 168 candidate->Position.SetT(t - dt0 + dt); 169 169 170 candidate->IsPU = 0; 171 170 172 fParticleOutputArray->Add(candidate); 171 173 … … 190 192 vertex->SumPT2 = sumpt2; 191 193 vertex->GenSumPT2 = sumpt2; 192 193 194 fVertexOutputArray->Add(vertex); 194 195 … … 213 214 allEntries = fReader->GetEntries(); 214 215 216 215 217 for(event = 0; event < numberOfEvents; ++event) 216 218 { … … 238 240 sumpt2 = 0.0; 239 241 242 //factory = GetFactory(); 240 243 vertex = factory->NewCandidate(); 241 244 … … 256 259 candidate->Momentum.SetPxPyPzE(px, py, pz, e); 257 260 candidate->Momentum.RotateZ(dphi); 261 pt = candidate->Momentum.Pt(); 258 262 259 263 x -= fInputBeamSpotX; -
modules/TreeWriter.cc
r62d3bc5 r3e2bb2b 248 248 UInt_t index, ndf; 249 249 250 CompBase *compare = Candidate::fgCompare; 251 Candidate::fgCompare = CompSumPT2<Candidate>::Instance(); 250 252 array->Sort(); 253 Candidate::fgCompare = compare; 251 254 252 255 // loop over all vertices … … 291 294 entry->ErrorZ = zError; 292 295 296 293 297 TIter itConstituents(candidate->GetCandidates()); 294 298 itConstituents.Reset(); 299 entry->Constituents.Clear(); 295 300 while((constituent = static_cast<Candidate*>(itConstituents.Next()))) 296 301 {
Note:
See TracChangeset
for help on using the changeset viewer.