Changes in / [16217da:386e60f] in git
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Isolation.cc
r16217da r386e60f 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 } -
modules/Isolation.h
r16217da r386e60f 59 59 Bool_t fUsePTSum; 60 60 61 Bool_t fUseRhoCorr;62 63 61 IsolationClassifier *fClassifier; //! 64 62
Note:
See TracChangeset
for help on using the changeset viewer.