Fork me on GitHub

Changeset 844a970 in git


Ignore:
Timestamp:
Nov 20, 2015, 2:23:25 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
7312b4d
Parents:
f436ed7
Message:

add parameter UseRhoCorrection to module Isolation

Location:
modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/Isolation.cc

    rf436ed7 r844a970  
    108108
    109109  fUsePTSum = GetBool("UsePTSum", false);
     110
     111  fUseRhoCorrection = GetBool("UseRhoCorrection", true);
    110112
    111113  fClassifier->fPTMin = GetDouble("PTMin", 0.5);
     
    252254    candidate->SumPt = sumAllParticles;
    253255
    254     sum = fRhoInputArray ? sumRhoCorr : sumDBeta;
     256    sum = fUseRhoCorrection ? sumRhoCorr : sumDBeta;
    255257    if(fUsePTSum && sum > fPTSumMax) continue;
    256258
    257     ratio = fRhoInputArray ? ratioRhoCorr : ratioDBeta;
     259    ratio = fUseRhoCorrection ? ratioRhoCorr : ratioDBeta;
    258260    if(!fUsePTSum && ratio > fPTRatioMax) continue;
    259261
  • modules/Isolation.h

    rf436ed7 r844a970  
    5959  Bool_t fUsePTSum;
    6060
     61  Bool_t fUseRhoCorrection;
     62
    6163  IsolationClassifier *fClassifier; //!
    6264
Note: See TracChangeset for help on using the changeset viewer.