Changeset e72ee4b in git
- Timestamp:
- Oct 16, 2015, 1:59:40 PM (9 years ago)
- Children:
- 16217da
- Parents:
- 768703e
- git-author:
- Chase Shimmin <cshimmin@…> (10/16/15 13:38:57)
- git-committer:
- Chase Shimmin <cshimmin@…> (10/16/15 13:59:40)
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Isolation.cc
r768703e re72ee4b 108 108 109 109 fUsePTSum = GetBool("UsePTSum", false); 110 111 fUseRhoCorr = GetBool("UseRhoCorrection", false); 110 112 111 113 fClassifier->fPTMin = GetDouble("PTMin", 0.5); … … 153 155 Candidate *candidate, *isolation, *object; 154 156 TObjArray *isolationArray; 155 Double_t sumCharged, sumNeutral, sumAllParticles, sumChargedPU, sumDBeta, ratioDBeta, sumRhoCorr, ratioRhoCorr ;157 Double_t sumCharged, sumNeutral, sumAllParticles, sumChargedPU, sumDBeta, ratioDBeta, sumRhoCorr, ratioRhoCorr, sum, ratio; 156 158 Int_t counter; 157 159 Double_t eta = 0.0; … … 245 247 candidate->SumPt = sumAllParticles; 246 248 247 if((fUsePTSum && sumDBeta > fPTSumMax) || (!fUsePTSum && ratioDBeta > fPTRatioMax)) continue; 249 sum = (fUseRhoCorr) ? sumRhoCorr : sumDBeta; 250 if(fUsePTSum && sum > fPTSumMax) continue; 251 252 ratio = (fUseRhoCorr) ? ratioRhoCorr : ratioDBeta; 253 if(!fUsePTSum && ratio > fPTRatioMax) continue; 254 248 255 fOutputArray->Add(candidate); 249 256 } -
modules/Isolation.h
r768703e re72ee4b 59 59 Bool_t fUsePTSum; 60 60 61 Bool_t fUseRhoCorr; 62 61 63 IsolationClassifier *fClassifier; //! 62 64
Note:
See TracChangeset
for help on using the changeset viewer.