Fork me on GitHub

Ignore:
Timestamp:
Jan 9, 2020, 1:40:08 AM (5 years ago)
Author:
Kaan Yüksel Oyulmaz <kaanyukseloyulmaz@…>
Branches:
Timing
Children:
9c52415
Parents:
03b9c0f
Message:

TimeSmearing Module is updated for neutral particles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackTimingPileUpSubtractor.cc

    r03b9c0f r7939c6c  
    7575
    7676  // read resolution formula in m
    77   fZVertexResolution = GetDouble("ZVertexResolution", 3);
    78   fTVertexResolution = GetDouble("TVertexResolution", 3);
     77  fChargedMinSignificance = GetDouble("ChargedMinSignificance", 3);
     78  fNeutralMinSignificance = GetDouble("NeutralMinSignificance", 3);
    7979
    8080  fPTMin = GetDouble("PTMin", 0.);
     
    173173      distanceNeutral = pow((tvtx - t),2)/pow((tvtx_err - t_err),2);
    174174
    175       if(candidate->Charge != 0 && distanceCharged < fZVertexResolution)
     175      if(candidate->Charge != 0 && distanceCharged < fChargedMinSignificance)
    176176      {
    177177        candidate->IsRecoPU = 1;
    178178      }
    179       else if(candidate->Charge == 0 && distanceNeutral < fTVertexResolution)
     179      else if(candidate->Charge == 0 && distanceNeutral < fNeutralMinSignificance)
    180180      {
    181181        candidate->IsRecoPU = 1;
Note: See TracChangeset for help on using the changeset viewer.