Changeset 7eccbe7 in git
- Timestamp:
- Jul 12, 2013, 12:22:27 AM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 41a09d2
- Parents:
- f229d8a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TauTagging.cc
rf229d8a r7eccbe7 211 211 while((tau = static_cast<Candidate *>(itTauArray.Next()))) 212 212 { 213 if(tau->D1 < 0) continue; 214 215 if(tau->D1 >= fParticleInputArray->GetEntriesFast() || 216 tau->D2 >= fParticleInputArray->GetEntriesFast()) 217 { 218 throw runtime_error("tau's daughter index is greater than the ParticleInputArray size"); 219 } 220 213 221 tauMomentum.SetPxPyPzE(0.0, 0.0, 0.0, 0.0); 222 214 223 for(i = tau->D1; i <= tau->D2; ++i) 215 224 { … … 218 227 tauMomentum += daughter->Momentum; 219 228 } 229 220 230 if(jetMomentum.DeltaR(tauMomentum) <= fDeltaR) 221 231 {
Note:
See TracChangeset
for help on using the changeset viewer.