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