Changes in / [8ab9694:215ee01] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TauTagging.cc
r8ab9694 r215ee01 61 61 { 62 62 Candidate *tau = static_cast<Candidate *>(object); 63 Candidate *daughter1 = 0;64 Candidate *daughter2 = 0;65 63 66 64 const TLorentzVector &momentum = tau->Momentum; 67 Int_t pdgCode, i, j; 68 69 pdgCode = TMath::Abs(tau->PID); 65 66 Int_t pdgCode = TMath::Abs(tau->PID); 70 67 if(pdgCode != 15) return -1; 71 68 … … 82 79 } 83 80 84 for( i = tau->D1; i <= tau->D2; ++i)85 { 86 daughter1 = static_cast<Candidate *>(fParticleInputArray->At(i));81 for(Int_t i = tau->D1; i <= tau->D2; ++i) 82 { 83 Candidate *daughter1 = static_cast<Candidate *>(fParticleInputArray->At(i)); 87 84 pdgCode = TMath::Abs(daughter1->PID); 88 85 if(pdgCode == 11 || pdgCode == 13 || pdgCode == 15) return -1; … … 90 87 { 91 88 if(daughter1->D1 < 0) return -1; 92 for( j = daughter1->D1; j <= daughter1->D2; ++j)89 for(Int_t j = daughter1->D1; j <= daughter1->D2; ++j) 93 90 { 94 daughter2 = static_cast<Candidate*>(fParticleInputArray->At(j));91 Candidate *daughter2 = static_cast<Candidate*>(fParticleInputArray->At(j)); 95 92 pdgCode = TMath::Abs(daughter2->PID); 96 93 if(pdgCode == 11 || pdgCode == 13) return -1;
Note:
See TracChangeset
for help on using the changeset viewer.