Changes in modules/Isolation.cc [e72ee4b:48b6e45] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Isolation.cc
re72ee4b r48b6e45 108 108 109 109 fUsePTSum = GetBool("UsePTSum", false); 110 111 fUseRhoCorr = GetBool("UseRhoCorrection", false);112 110 113 111 fClassifier->fPTMin = GetDouble("PTMin", 0.5); … … 155 153 Candidate *candidate, *isolation, *object; 156 154 TObjArray *isolationArray; 157 Double_t sumCharged, sumNeutral, sumAllParticles, sumChargedPU, sumDBeta, ratioDBeta, sumRhoCorr, ratioRhoCorr , sum, ratio;155 Double_t sumCharged, sumNeutral, sumAllParticles, sumChargedPU, sumDBeta, ratioDBeta, sumRhoCorr, ratioRhoCorr; 158 156 Int_t counter; 159 157 Double_t eta = 0.0; … … 247 245 candidate->SumPt = sumAllParticles; 248 246 249 sum = (fUseRhoCorr) ? sumRhoCorr : sumDBeta; 250 if(fUsePTSum && sum > fPTSumMax) continue; 251 252 ratio = (fUseRhoCorr) ? ratioRhoCorr : ratioDBeta; 253 if(!fUsePTSum && ratio > fPTRatioMax) continue; 254 247 if((fUsePTSum && sumDBeta > fPTSumMax) || (!fUsePTSum && ratioDBeta > fPTRatioMax)) continue; 255 248 fOutputArray->Add(candidate); 256 249 }
Note:
See TracChangeset
for help on using the changeset viewer.